1
2
3
4
5
6
7
8
9
10
11
12
13
14\startmodule[presentpunk]
15
16
17
18
19
20
21
22
23
24\setupbodyfont[punknova,20pt]
25
26
27
28\setuppapersize
29 [S6][S6]
30
31\setuplayout
32 [topspace=30pt,
33 backspace=30pt,
34 width=middle,
35 height=fit,
36 header=0pt,
37 footer=0pt,
38 bottomdistance=24pt,
39 bottom=30pt,
40 bottom=18pt,
41 top=0pt]
42
43\setupinterlinespace
44 [top=height,
45 line=1.25\bodyfontsize]
46
47\setupcolors
48 [state=start,
49 textcolor=white]
50
51\setupinteraction
52 [state=start,
53
54 menu=on]
55
56
57
58\definecolor[punkblue] [r=.4,b=.8,g=.4]
59\definecolor[punkgreen] [r=.4,b=.4,g=.8]
60\definecolor[punkred] [r=.8,b=.4,g=.4]
61\definecolor[punkyellow][r=.6,g=.6,b=.2]
62
63\definepalet [punkone] [textcolor=punkblue,pagecolor=punkgreen]
64\definepalet [punktwo] [textcolor=punkred,pagecolor=punkyellow]
65\definepalet [punkthree] [textcolor=punkblue,pagecolor=punkyellow]
66\definepalet [punkonereverse] [textcolor=punkgreen,pagecolor=punkblue]
67\definepalet [punktworeverse] [textcolor=punkyellow,pagecolor=punkred]
68\definepalet [punkthreereverse] [textcolor=punkyellow,pagecolor=punkblue]
69
70\setuppalet[punkone]
71
72
73
74
75\definelayer
76 [page]
77 [width=\paperwidth,
78 height=\paperheight]
79
80\setupbackgrounds
81 [page]
82 [background={color,page},
83 backgroundcolor=pagecolor,
84 setups=pagestuff]
85
86\setupbackgrounds
87 [text]
88 [background={color,invoke},
89 backgroundoffset=12pt,
90 backgroundcolor=textcolor]
91
92
93
94\definesymbol[1][\hbox{\lower1ex\hbox{*}}]
95\definesymbol[2][\endash]
96\definesymbol[3][\letterhash]
97\definesymbol[3][>]
98
99
100
101\setupinteraction
102 [click=no,
103 color=white,
104 contrastcolor=white]
105
106
107
108\setupinteractionmenu
109 [bottom]
110 [color=white,
111 contrastcolor=white,
112 background=color,
113 backgroundcolor=textcolor,
114 frame=off,
115 height=24pt,
116 left=\hfill,
117 middle=\hskip12pt]
118
119\setupsubpagenumber
120 [state=start]
121
122\startinteractionmenu[bottom]
123 \starttxt
124 \interactionbar
125 [alternative=d,
126 symbol=yes,
127 color=white,
128 contrastcolor=textcolor]
129 \stoptxt
130 \hfilll
131 \startbut [previouspage] < < < \stopbut
132 \startbut [nextpage] > > > \stopbut
133\stopinteractionmenu
134
135
136
137\startsymbolset [punk]
138 \definesymbol[previous] [\string<\string<]
139 \definesymbol[somewhere] [\string\string]
140 \definesymbol[next] [\string>\string>]
141\stopsymbolset
142
143\setupinteraction
144 [symbolset=punk]
145
146
147
148\setuphead
149 [chapter]
150 [after={\blank[big]}]
151
152\stopmodule
153
154\continueifinputfile{spresentpunk.mkiv}
155
156\usemodule[presentcommon]
157
158\inputpresentationfile{examplespresentpunk001.tex}
159 |