]> git.lyx.org Git - lyx.git/blob - lib/examples/powerdot-example.lyx
Revert the last part of ectaart.cls as requested by Uwe.
[lyx.git] / lib / examples / powerdot-example.lyx
1 #LyX 1.6.5svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass powerdot
6 \begin_preamble
7 \pdsetup{%
8   lf=left footer,
9   rf=right footer
10 }
11 \end_preamble
12 \options style=fyma,display=slidesnotes
13 \use_default_options false
14 \language english
15 \inputencoding auto
16 \font_roman default
17 \font_sans default
18 \font_typewriter default
19 \font_default_family default
20 \font_sc false
21 \font_osf false
22 \font_sf_scale 100
23 \font_tt_scale 100
24
25 \graphics default
26 \paperfontsize size=10
27 \spacing single
28 \use_hyperref false
29 \papersize letterpaper
30 \use_geometry true
31 \use_amsmath 1
32 \use_esint 0
33 \cite_engine basic
34 \use_bibtopic false
35 \paperorientation landscape
36 \secnumdepth 3
37 \tocdepth 3
38 \paragraph_separation indent
39 \defskip medskip
40 \quotes_language french
41 \papercolumns 1
42 \papersides 1
43 \paperpagestyle default
44 \tracking_changes false
45 \output_changes false
46 \author "" 
47 \author "" 
48 \end_header
49
50 \begin_body
51
52 \begin_layout Title
53 A LyX sample
54 \begin_inset Note Note
55 status open
56
57 \begin_layout Plain Layout
58
59 \series bold
60 Note:
61 \series default
62  You must not use the view PDF button to preview this file! For viewing
63  and exporting this as PDF use in the menus the method PDF (ps2pdf) or PDF
64  (dvipdfm).
65  For more informations, please read the 
66 \series bold
67 powerdot
68 \series default
69  manual.
70 \end_layout
71
72 \begin_layout Plain Layout
73
74 \series bold
75 Note:
76 \series default
77  Depending on your LaTeX-system you might have to add the option 
78 \begin_inset Quotes fld
79 \end_inset
80
81 dvips
82 \begin_inset Quotes frd
83 \end_inset
84
85  to the document class options to get proper DVI output.
86 \end_layout
87
88 \end_inset
89
90
91 \end_layout
92
93 \begin_layout Author
94 Mael HillĂ©reau 
95 \begin_inset ERT
96 status collapsed
97
98 \begin_layout Plain Layout
99
100
101 \backslash
102 and
103 \end_layout
104
105 \end_inset
106
107  Hendri Adriaens 
108 \begin_inset ERT
109 status collapsed
110
111 \begin_layout Plain Layout
112
113
114 \backslash
115 and
116 \end_layout
117
118 \end_inset
119
120  Christopher Ellison
121 \end_layout
122
123 \begin_layout Date
124 \begin_inset ERT
125 status collapsed
126
127 \begin_layout Plain Layout
128
129
130 \backslash
131 today
132 \end_layout
133
134 \end_inset
135
136
137 \end_layout
138
139 \begin_layout Slide
140 My first slide
141 \end_layout
142
143 \begin_layout Standard
144 We use a 
145 \family typewriter
146 Slide
147 \family default
148  style (magenta color, see above this text into LyX window) for the title
149  of each slide of a section or document.
150 \end_layout
151
152 \begin_layout WideSlide
153 My wide slide
154 \end_layout
155
156 \begin_layout Standard
157 \begin_inset CommandInset label
158 LatexCommand label
159 name "toc"
160
161 \end_inset
162
163 But we may also use wide slides (green color, see above this text into LyX
164  window).
165 \end_layout
166
167 \begin_layout Standard
168 Let's have a look at the TOC:
169 \begin_inset VSpace medskip
170 \end_inset
171
172
173 \end_layout
174
175 \begin_layout Standard
176 \begin_inset CommandInset toc
177 LatexCommand tableofcontents
178
179 \end_inset
180
181
182 \end_layout
183
184 \begin_layout Section
185 This is the first section
186 \end_layout
187
188 \begin_layout Slide
189 \begin_inset OptArg
190 status collapsed
191
192 \begin_layout Plain Layout
193 toc=This slide has...
194 \end_layout
195
196 \end_inset
197
198 This slide has a very very long title
199 \end_layout
200
201 \begin_layout Standard
202 This slide's title is different in the TOC, see slide 
203 \begin_inset CommandInset ref
204 LatexCommand pageref
205 reference "toc"
206
207 \end_inset
208
209  or at the left of all slides in this section.
210 \end_layout
211
212 \begin_layout Note
213 Important note!
214 \end_layout
215
216 \begin_layout Standard
217 Don't forget to use 
218 \family typewriter
219 Insert
220 \family default
221 \SpecialChar \menuseparator
222
223 \family typewriter
224 Short title
225 \family default
226  in order to specify slide options.
227 \end_layout
228
229 \begin_layout Slide
230 Using 
231 \family typewriter
232
233 \backslash
234 pause
235 \end_layout
236
237 \begin_layout Standard
238 Let's make a pause! 
239 \begin_inset ERT
240 status collapsed
241
242 \begin_layout Plain Layout
243
244
245 \backslash
246 pause
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \begin_layout Standard
255 \SpecialChar \ldots{}
256  and then continue.
257 \end_layout
258
259 \begin_layout Section
260 Second section
261 \end_layout
262
263 \begin_layout Slide
264 Using 
265 \family typewriter
266 enumerate
267 \end_layout
268
269 \begin_layout Standard
270 Let's enumerate things:
271 \begin_inset ERT
272 status collapsed
273
274 \begin_layout Plain Layout
275
276
277 \backslash
278 pause
279 \end_layout
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout EnumerateType1
287 The first thing;
288 \begin_inset ERT
289 status collapsed
290
291 \begin_layout Plain Layout
292
293
294 \backslash
295 pause
296 \end_layout
297
298 \end_inset
299
300
301 \end_layout
302
303 \begin_layout EnumerateType1
304 The second thing;
305 \begin_inset ERT
306 status collapsed
307
308 \begin_layout Plain Layout
309
310
311 \backslash
312 pause
313 \end_layout
314
315 \end_inset
316
317
318 \end_layout
319
320 \begin_layout EnumerateType1
321 The third thing;
322 \begin_inset ERT
323 status collapsed
324
325 \begin_layout Plain Layout
326
327
328 \backslash
329 pause
330 \end_layout
331
332 \end_inset
333
334
335 \end_layout
336
337 \begin_layout EnumerateType1
338 The final thing!
339 \end_layout
340
341 \begin_layout Slide
342 Using 
343 \family typewriter
344 itemize
345 \end_layout
346
347 \begin_layout Standard
348 We may also make some items and nest them:
349 \begin_inset ERT
350 status collapsed
351
352 \begin_layout Plain Layout
353
354
355 \backslash
356 pause
357 \end_layout
358
359 \end_inset
360
361
362 \end_layout
363
364 \begin_layout ItemizeType1
365 <2> The first;
366 \end_layout
367
368 \begin_layout ItemizeType1
369 <3> The second;
370 \end_layout
371
372 \begin_deeper
373 \begin_layout ItemizeType1
374 <4> One,
375 \end_layout
376
377 \begin_layout ItemizeType1
378 <5> Two,
379 \end_layout
380
381 \begin_layout ItemizeType1
382 <6> Three,
383 \end_layout
384
385 \end_deeper
386 \begin_layout ItemizeType1
387 <7> The last one.
388 \end_layout
389
390 \begin_layout EmptySlide
391 \begin_inset OptArg
392 status collapsed
393
394 \begin_layout Plain Layout
395 toc=,randomdots
396 \end_layout
397
398 \end_inset
399
400 The empty slide!
401 \end_layout
402
403 \begin_layout Standard
404 \begin_inset VSpace bigskip
405 \end_inset
406
407
408 \end_layout
409
410 \begin_layout Standard
411 \align center
412 This slide is empty\SpecialChar \ldots{}
413  
414 \end_layout
415
416 \begin_layout Standard
417 \begin_inset ERT
418 status collapsed
419
420 \begin_layout Plain Layout
421
422
423 \backslash
424 pause
425 \end_layout
426
427 \end_inset
428
429
430 \end_layout
431
432 \begin_layout Standard
433 \align center
434 It uses 
435 \family typewriter
436 EmptySlide
437 \family default
438  style for its title (see cyan color into LyX window).
439 \end_layout
440
441 \begin_layout Standard
442 \begin_inset ERT
443 status collapsed
444
445 \begin_layout Plain Layout
446
447
448 \backslash
449 pause
450 \end_layout
451
452 \end_inset
453
454
455 \end_layout
456
457 \begin_layout Standard
458 \align center
459 You may also have noticed the use of 
460 \family typewriter
461 randomdots
462 \family default
463  slide option which
464 \begin_inset Newline newline
465 \end_inset
466
467 allows displaying those multicolor dots into the slide background.
468 \end_layout
469
470 \begin_layout Slide
471 \begin_inset OptArg
472 status collapsed
473
474 \begin_layout Plain Layout
475 method=direct
476 \end_layout
477
478 \end_inset
479
480 Example of LaTeX source code
481 \end_layout
482
483 \begin_layout Standard
484 Let's now use the 
485 \family typewriter
486 listings
487 \family default
488  package in order to typeset some source code.
489  Here's the 
490 \family typewriter
491
492 \backslash
493 HelloWorld
494 \family default
495  LaTeX command:
496 \end_layout
497
498 \begin_layout Standard
499 \begin_inset listings
500 lstparams "language={[LaTeX]TeX}"
501 inline false
502 status open
503
504 \begin_layout Plain Layout
505
506
507 \backslash
508 newcommand{
509 \backslash
510 HelloWorld}{Hello World!}
511 \end_layout
512
513 \end_inset
514
515
516 \end_layout
517
518 \begin_layout Standard
519 Note that this slide uses the 
520 \family typewriter
521 method=direct
522 \family default
523  option (see its short title options box above into LyX window).
524 \end_layout
525
526 \begin_layout Slide
527 \begin_inset OptArg
528 status collapsed
529
530 \begin_layout Plain Layout
531 method=file
532 \end_layout
533
534 \end_inset
535
536 Verbatim material with overlays
537 \end_layout
538
539 \begin_layout Standard
540 Here's 
541 \family typewriter
542 HelloWorld()
543 \family default
544  C function:
545 \end_layout
546
547 \begin_layout Standard
548 \begin_inset listings
549 lstparams "language=C"
550 inline false
551 status open
552
553 \begin_layout Plain Layout
554
555 void HelloWorld() {
556 \end_layout
557
558 \begin_layout Plain Layout
559
560 printf("Hello World!
561 \backslash
562 n");
563 \end_layout
564
565 \begin_layout Plain Layout
566
567 }
568 \end_layout
569
570 \end_inset
571
572
573 \end_layout
574
575 \begin_layout Standard
576 \begin_inset ERT
577 status collapsed
578
579 \begin_layout Plain Layout
580
581
582 \backslash
583 pause
584 \end_layout
585
586 \end_inset
587
588  Unlike the previous one, this slide must use 
589 \family typewriter
590 method=file
591 \family default
592  as it employs two overlays.
593 \end_layout
594
595 \begin_layout Slide
596 The end.
597 \end_layout
598
599 \begin_layout Standard
600 Don't forget to put an 
601 \family typewriter
602 EndSlide
603 \family default
604  style at the end of the document (see the black symbol below into LyX window).
605 \end_layout
606
607 \begin_layout Standard
608 Have fun!
609 \end_layout
610
611 \begin_layout EndSlide
612
613 \end_layout
614
615 \end_body
616 \end_document