Debian Codegraph @

texmf-dist/doc/generic/lecturer/LecturerDemo-ThePoodleLectures.tex

raw
1 % This is a demonstration file distributed with the
2 % Lecturer package (see lecturer-doc.pdf).
3 %
4 % You can recompile the file with a basic TeX implementation,
5 % using pdfTeX or LuaTeX with the plain format.
6 %
7 % You can retrieve code between each slide to reuse it.
8 %
9 % Author: Paul Isambert.
10 % Date: July 2010.
11
12 \input lecturer
13
14
15 \font\mainfont=cmss10
16
17 \setparameter job:
18 author = "F. Runobulax"
19 pdfauthor = "Paul Isambert"
20 title = "The Poodle Lectures"
21 fullscreen = true
22
23 \setparameter slide:
24 background = black
25 left = 3cm
26 top = 2cm
27 font = \mainfont
28 everyslide = \everyslide
29
30 \def\everyslide{%
31 \position{title}{\slidetitle}
32 \position{author}{\Author}
33 \step This is Step One.\par
34 \substep High-school diploma.\par
35 \substep Stuffed with a gym sock.\par
36 \step This is Step Two.\par
37 \substep College degree.\par
38 \substep Stuffed with absolutely nothing at all.\par
39 \step One more time for the world.
40 }
41
42 \setparameter step:
43 vskip = "2\baselineskip"
44 visible = true
45 everyvstep = "\quitvmode\llap{\stepsymbol\kern1em}"
46
47 \setstep\substep
48 vskip = 0pt
49 everyvstep = "\quitvmode\llap{\substepsymbol\kern1em}"
50 left = 1cm
51
52
53
54
55
56
57 \newcolor{color1}{cmyk}{0 .27 0 .45}
58 \newcolor{color2}{cmyk}{0 .27 .0 .25}
59 \setarea{background1}
60 background = color1
61 frame = "width=-11.5cm, corner=round"
62
63 \setarea{background2}
64 vshift* hshift* = 1cm
65 background = color1
66 frame = "width=-10.5cm, color=color2, corner=round"
67
68 \setarea{author title}
69
70 \newcolor{symbol}{cmyk}{0 .06 .63 .02}
71 \newsymbol\stepsymbol[.5em]{%
72 color symbol,
73 + 1.2 .5, + -1.2 .5, fill
74 }
75 \newsymbol\substepsymbol[.5em]{%
76 color symbol,
77 move 0 .5, circle ur .4, circle rd .4,
78 circle dl .4, circle lu .4, fill
79 }
80
81 \slide[Duke of Prunes, areas*= author title]
82
83 \endslide
84
85
86
87
88
89
90
91
92
93 \newcolor{color1}{cmyk}{0 .51 .90 .22}
94 \newcolor{color2}{cmyk}{0 .51 .90 .02}
95
96 \setparameter slide:
97 background = white
98
99 \setarea{background1}
100 hshift* vshift* = 1cm
101 background = white
102 frame = "width=.2cm, color=color1, corner=bevel"
103
104 \setarea{background2}
105 hshift vshift hshift* vshift* = 1.2cm
106 background = white
107 frame = "width=-.15cm, color=color2, corner=miter"
108
109 \setarea{author title}
110 background = white
111 height = .5cm
112 font = \it
113 vpos = bottom
114 left = .1cm
115
116 \setarea{author}
117 hshift* = 2cm
118 width = 2.3cm
119 vshift* = 1.2cm
120
121 \setarea{title}
122 hshift = 2cm
123 width = 3.7cm
124 vshift = .5cm
125
126 \newcolor{symbol}{cmyk}{0 .31 1.0 .02}
127 \newsymbol\stepsymbol[.5em]{%
128 color symbol,
129 + 1 0, + 0 1, + -1 0, fill
130 }
131 \newsymbol\substepsymbol[.5em]{%
132 color symbol,
133 move 0 .5, circle ur .4, circle rd .4,
134 circle dl .4, circle lu .4, fill
135 }
136
137 \slide[Son of Orange County]
138 \endslide
139
140
141
142
143
144
145
146
147
148
149
150
151
152 \setparameter slide:
153 background = black
154 foreground = white
155
156 \setarea{background1 background2 title}
157 hshift hshift* = 0pt
158 height = 1ex
159 background = ""
160 foreground = white
161 frame = "color=grey .6, corner=miter, width=.1pt"
162
163 \setarea{background1}
164 vshift = 1cm
165
166 \setarea{background2}
167 vshift = 1cm+2ex
168
169 \setarea{title}
170 vshift = 0cm
171 height = 1cm+4ex
172 bottom = 1ex
173 vpos = bottom
174 font = \bf
175
176 \newsymbol\stepsymbol[.3em]{%
177 pen 0.2,
178 move 0 .3, circle ur .4, circle rd .4,
179 circle dl .4, circle lu .4, fill,
180 move .8 .3, + 0 1.8,
181 }
182
183 \newsymbol\substepsymbol[.3em]{%
184 pen 0.2,
185 move 0 .3, circle ur .4, circle rd .4,
186 circle dl .4, circle lu .4, fill,
187 move .8 .3, + 0 1.8, + 1.5 .5, stroke,
188 move 1.5 .5,
189 move + 0 .3, circle ur .4, circle rd .4,
190 circle dl .4, circle lu .4, fill,
191 move 1.5 .5,
192 move + .8 .3, + 0 1.8,
193 }
194
195 \slide[The Black Page, areas*=author]
196 \endslide
197
198
199
200
201
202
203
204
205
206
207
208
209
210 \newcolor{color1}{cmyk}{0 .1 .26 .07}
211 \newcolor{color2}{cmyk}{0 .1 .46 .47}
212
213 \setparameter slide:
214 background = color1
215 foreground = color2
216
217 \setarea{background1}
218 vshift = 10cm
219 height = 1.5cm
220 hpos = ff
221 vpos = bottom
222 frame_width = 0pt
223 left right = -1cm
224
225 \setarea{background2}
226 hshift hshift* = 2cm
227 vshift = 2.5cm
228 vshift* = 2cm
229 background = ""
230 frame = "width=.05cm, color=color2"
231
232 \setarea{title}
233 vshift = .5cm
234 height = .7cm
235 topskip = .2cm
236 vpos = center
237 hshift = 2cm
238 width = 4cm
239 hpos = rr
240 foreground = color2
241 frame = "width=1pt, color=color2"
242 font = \tt
243
244 \newsymbol\fresco[.5cm, top = .07cm, bottom = 0.7cm]{%
245 pen 0.07, color color2,
246 move -.1 0, +.1 0, + 0 1, + .9 0, + 0 -.3, + -.6 0, + 0 -.7, +1.1 0
247 }
248 \newsymbol\stepsymbol[.5em]{%
249 + 1 0, + -.5 1, fill
250 }
251 \newsymbol\substepsymbol[.5em]{%
252 pen 0.1, move 0 .5,
253 circle ur .5, circle rd .5,
254 circle dl .5, circle lu .5, stroke,
255 move .3 .5,
256 circle ur .2, circle rd .2,
257 circle dl .2, circle lu .2
258 }
259
260 \slide[Regyptian Strut, areas*=author]
261 \position{background1}{\quitvmode\leaders\fresco\hfill\kern0pt}
262 \endslide
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278 \newshade{ocean}
279 model = rgb
280 from = ".95 .9 1"
281 to = ".35 .3 1"
282
283 \setparameter slide:
284 background = ocean
285 foreground = white
286
287 \newsymbol\stepsymbol[.5em]{%
288 pen .1,
289 color red,
290 + 1 .7, + -1 .7, fill,
291 move .8 .7,
292 circle ur .6, + .3 0, circle rd .9,
293 circle dl .3,
294 + -1 0, circle lu .6, fill,
295 color black,
296 move 1.8 .8, + .2 0,
297 }
298 \newcolor{symbol}{cmyk}{0 .26 .43 0}
299 \newsymbol\substepsymbol[.5em]{%
300 pen .1, color symbol,
301 .8 0, + -.1 .2, + .5 .3,
302 circle ul .8, circle ld .8,
303 + .5 -.3, close, stroke,
304 move .3 .2, + -.4 .7, stroke,
305 move .4 .2, + 0 .9, stroke,
306 move .5 .2, + .4 .7
307 }
308
309 \setarea{title}
310 hshift* = 1cm
311 hshift = 7cm
312 font = \it
313 hpos = rf
314 foreground = "cmyk 1 1 0 0"
315 frame_width = 0pt
316
317 \slide[The Ocean is the Ultimate Solution, areas=title]
318 \endslide
319
320 \bye