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