diff options
Diffstat (limited to 'presentation.mkiv')
-rw-r--r-- | presentation.mkiv | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/presentation.mkiv b/presentation.mkiv new file mode 100644 index 0000000..e6192d2 --- /dev/null +++ b/presentation.mkiv @@ -0,0 +1,45 @@ +\usemodule[present-split] + +\setuppapersize[SW][SW] +\setupbodyfont[ymhgd,12pt] + +\setupbackgrounds + [page] + [background={numberb}] + +\definecolor [ColorOne] [x=E0C2B8] +\definecolor [ColorTwo] [x=ACCDC7] + +\defineoverlay[numberb][\useMPgraphic{numberb}] + +\startuseMPgraphic{numberb} + StartPage ; + picture Left, Right ; + numeric Shift ; Shift := -TextWidth - BackSpace - RightEdgeDistance/2 ; + fill Page withcolor "ColorOne" ; + fill Page leftenlarged Shift withcolor "ColorTwo" ; + if RealPageNumber > 1 : + Left := Right := textext("\bf\pagenumber") ysized 3cm ; + clip Right to boundingbox Right shifted ( bbwidth(Right)/2,0) ; + clip Left to boundingbox Left shifted (-bbwidth(Left) /2,0) ; + draw Left shifted (-Shift,2.25cm) withcolor "ColorTwo" ; + draw Right shifted (-Shift,2.25cm) withcolor "ColorOne" ; + fi ; + StopPage ; +\stopuseMPgraphic + +\setuphead[Topic][number=yes] + +\startdocument + [title=Some Quotes, + subtitle=that you probably know by now] + + \Topic{Tufte} \input tufte + \Topic{Knuth} \input knuth + \Topic{Reich} \input reich + \Topic{Zapf} \input zapf + \Topic{Materie} \input materie + + %Topic{Stork} \input stork + +\stopdocument |