]> git.lyx.org Git - lyx.git/blob - lib/examples/fr/exemple-powerdot.lyx
Revert the last part of ectaart.cls as requested by Uwe.
[lyx.git] / lib / examples / fr / exemple-powerdot.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=pied gauche,
9   rf=pied droit
10 }
11
12 % This is needed to make the example compile
13 % with recent versions of frenchb (babel)
14 \AtBeginDocument{%
15 \@ifundefined{frenchbsetup}{}{\frenchbsetup{StandardLists=true}}
16 }
17 \end_preamble
18 \options style=fyma,display=slidesnotes
19 \use_default_options false
20 \language french
21 \inputencoding auto
22 \font_roman default
23 \font_sans default
24 \font_typewriter default
25 \font_default_family default
26 \font_sc false
27 \font_osf false
28 \font_sf_scale 100
29 \font_tt_scale 100
30
31 \graphics default
32 \paperfontsize size=10
33 \spacing single
34 \use_hyperref false
35 \papersize letterpaper
36 \use_geometry true
37 \use_amsmath 1
38 \use_esint 0
39 \cite_engine basic
40 \use_bibtopic false
41 \paperorientation landscape
42 \secnumdepth 3
43 \tocdepth 3
44 \paragraph_separation indent
45 \defskip medskip
46 \quotes_language french
47 \papercolumns 1
48 \papersides 1
49 \paperpagestyle default
50 \tracking_changes false
51 \output_changes false
52 \author "" 
53 \author "" 
54 \end_header
55
56 \begin_body
57
58 \begin_layout Title
59 Un exemple en LyX
60 \begin_inset Note Note
61 status open
62
63 \begin_layout Plain Layout
64
65 \series bold
66 Note:
67 \series default
68  Vous ne devez pas utiliser le bouton 
69 \begin_inset Quotes fld
70 \end_inset
71
72 Visionner PDF (pdflatex)
73 \begin_inset Quotes frd
74 \end_inset
75
76  pour visualiser ce fichier ! Pour visionner et exporter en PDF, utiliser
77  les méthodes 
78 \begin_inset Quotes fld
79 \end_inset
80
81 PDF (ps2pdf)
82 \begin_inset Quotes frd
83 \end_inset
84
85  ou 
86 \begin_inset Quotes fld
87 \end_inset
88
89 PDF (dvipdfm)
90 \begin_inset Quotes frd
91 \end_inset
92
93 .
94  Pour en avoir plus, lisez le manuel 
95 \series bold
96 powerdot
97 \series default
98 .
99 \end_layout
100
101 \begin_layout Plain Layout
102
103 \series bold
104 Note:
105 \series default
106  En fonction de votre distribution LaTeX, vous pouvez avoir à ajouter l'option
107  
108 \begin_inset Quotes fld
109 \end_inset
110
111 dvips
112 \begin_inset Quotes frd
113 \end_inset
114
115  aux options de classe du document pour obtenir un affichage DVI correct.
116 \end_layout
117
118 \end_inset
119
120
121 \end_layout
122
123 \begin_layout Author
124 Mael Hilléreau 
125 \begin_inset ERT
126 status collapsed
127
128 \begin_layout Plain Layout
129
130
131 \backslash
132 and
133 \end_layout
134
135 \end_inset
136
137  Hendri Adriaens 
138 \begin_inset ERT
139 status collapsed
140
141 \begin_layout Plain Layout
142
143
144 \backslash
145 and
146 \end_layout
147
148 \end_inset
149
150  Christopher Ellison
151 \begin_inset Foot
152 status collapsed
153
154 \begin_layout Plain Layout
155 Traduction française Jean-Pierre Chrétien, 
156 \family typewriter
157 <jeanpierre.chretien@free.fr>
158 \family default
159 , novembre 2009.
160 \end_layout
161
162 \end_inset
163
164
165 \end_layout
166
167 \begin_layout Date
168 \begin_inset ERT
169 status collapsed
170
171 \begin_layout Plain Layout
172
173
174 \backslash
175 today
176 \end_layout
177
178 \end_inset
179
180
181 \end_layout
182
183 \begin_layout Slide
184 Mon premier transparent
185 \end_layout
186
187 \begin_layout Standard
188 Nous utilisons le style 
189 \begin_inset Quotes fld
190 \end_inset
191
192 Diapo
193 \begin_inset Quotes frd
194 \end_inset
195
196  (couleur magenta, voyez le texte ci-dessus dans la fenêtre LyX) pour le
197  titre de chaque transparent d'une section ou d'un document.
198 \end_layout
199
200 \begin_layout WideSlide
201 Mon transparent large
202 \end_layout
203
204 \begin_layout Standard
205 \begin_inset CommandInset label
206 LatexCommand label
207 name "toc"
208
209 \end_inset
210
211 Mais nous pouvons aussi utiliser 
212 \begin_inset Quotes fld
213 \end_inset
214
215 DiapoLarge
216 \begin_inset Quotes frd
217 \end_inset
218
219  pour des transparents larges (couleur verte, voyez le texte ci-dessus dans
220  la fenêtre LyX).
221 \end_layout
222
223 \begin_layout Standard
224 Voyons la Table des Matières:
225 \begin_inset VSpace medskip
226 \end_inset
227
228
229 \end_layout
230
231 \begin_layout Standard
232 \begin_inset CommandInset toc
233 LatexCommand tableofcontents
234
235 \end_inset
236
237
238 \end_layout
239
240 \begin_layout Section
241 Ceci est la première section
242 \end_layout
243
244 \begin_layout Slide
245 \begin_inset OptArg
246 status collapsed
247
248 \begin_layout Plain Layout
249 toc=Cette diapo a \SpecialChar \ldots{}
250
251 \end_layout
252
253 \end_inset
254
255 Ce transparent a un titre très très long
256 \end_layout
257
258 \begin_layout Standard
259 Le titre du transparent est différent dans la TdM, comparer le transparent
260  
261 \begin_inset CommandInset ref
262 LatexCommand pageref
263 reference "toc"
264
265 \end_inset
266
267  et la colonne de gauche des transparents de cette section.
268 \end_layout
269
270 \begin_layout Note
271 note importante!
272 \end_layout
273
274 \begin_layout Standard
275 N'oubliez pas d'utiliser 
276 \family typewriter
277 Ins
278 \family default
279 érer\SpecialChar \menuseparator
280
281 \family typewriter
282 Titre court
283 \family default
284  pour spécifier les options de style.
285 \end_layout
286
287 \begin_layout Slide
288 Utiliser 
289 \family typewriter
290
291 \backslash
292 pause
293 \end_layout
294
295 \begin_layout Standard
296 Faisons une pause! 
297 \begin_inset ERT
298 status collapsed
299
300 \begin_layout Plain Layout
301
302
303 \backslash
304 pause
305 \end_layout
306
307 \end_inset
308
309
310 \end_layout
311
312 \begin_layout Standard
313 \SpecialChar \ldots{}
314  et continuons.
315 \end_layout
316
317 \begin_layout Section
318 Seconde section
319 \end_layout
320
321 \begin_layout Slide
322 Utiliser 
323 \family typewriter
324 enumerate
325 \end_layout
326
327 \begin_layout Standard
328 Énumérons quelques objets:
329 \begin_inset ERT
330 status collapsed
331
332 \begin_layout Plain Layout
333
334
335 \backslash
336 pause
337 \end_layout
338
339 \end_inset
340
341
342 \end_layout
343
344 \begin_layout EnumerateType1
345 Premier objet;
346 \begin_inset ERT
347 status collapsed
348
349 \begin_layout Plain Layout
350
351
352 \backslash
353 pause
354 \end_layout
355
356 \end_inset
357
358
359 \end_layout
360
361 \begin_layout EnumerateType1
362 Deuxième objet;
363 \begin_inset ERT
364 status collapsed
365
366 \begin_layout Plain Layout
367
368
369 \backslash
370 pause
371 \end_layout
372
373 \end_inset
374
375
376 \end_layout
377
378 \begin_layout EnumerateType1
379 Troisième objet;
380 \begin_inset ERT
381 status collapsed
382
383 \begin_layout Plain Layout
384
385
386 \backslash
387 pause
388 \end_layout
389
390 \end_inset
391
392
393 \end_layout
394
395 \begin_layout EnumerateType1
396 Dernier objet!
397 \end_layout
398
399 \begin_layout Slide
400 Utiliser 
401 \family typewriter
402 itemize
403 \end_layout
404
405 \begin_layout Standard
406 Nous pouvons aussi créer quelques items et les cascader:
407 \begin_inset ERT
408 status collapsed
409
410 \begin_layout Plain Layout
411
412
413 \backslash
414 pause
415 \end_layout
416
417 \end_inset
418
419
420 \end_layout
421
422 \begin_layout ItemizeType1
423 <2> Le premier;
424 \end_layout
425
426 \begin_layout ItemizeType1
427 <3> le deuxième;
428 \end_layout
429
430 \begin_deeper
431 \begin_layout ItemizeType1
432 <4> un,
433 \end_layout
434
435 \begin_layout ItemizeType1
436 <5> deux
437 \end_layout
438
439 \begin_layout ItemizeType1
440 <6> trois,
441 \end_layout
442
443 \end_deeper
444 \begin_layout ItemizeType1
445 <7> le dernier.
446 \end_layout
447
448 \begin_layout EmptySlide
449 \begin_inset OptArg
450 status collapsed
451
452 \begin_layout Plain Layout
453 toc=,randomdots
454 \end_layout
455
456 \end_inset
457
458 Le transparent vide!
459 \end_layout
460
461 \begin_layout Standard
462 \begin_inset VSpace bigskip
463 \end_inset
464
465
466 \end_layout
467
468 \begin_layout Standard
469 \align center
470 Ce transparent est vide\SpecialChar \ldots{}
471
472 \end_layout
473
474 \begin_layout Standard
475 \begin_inset ERT
476 status collapsed
477
478 \begin_layout Plain Layout
479
480
481 \backslash
482 pause
483 \end_layout
484
485 \end_inset
486
487
488 \end_layout
489
490 \begin_layout Standard
491 \align center
492 Il utilise le style 
493 \begin_inset Quotes fld
494 \end_inset
495
496 DiapoVide
497 \begin_inset Quotes frd
498 \end_inset
499
500  style pour le titre (voyez la couleur cyan dans la fenêtre LyX).
501 \end_layout
502
503 \begin_layout Standard
504 \begin_inset ERT
505 status collapsed
506
507 \begin_layout Plain Layout
508
509
510 \backslash
511 pause
512 \end_layout
513
514 \end_inset
515
516
517 \end_layout
518
519 \begin_layout Standard
520 \align center
521 Vous aurez sans doute remarqué l'option de style 
522 \begin_inset Quotes fld
523 \end_inset
524
525
526 \family typewriter
527 randomdots
528 \begin_inset Quotes frd
529 \end_inset
530
531
532 \family default
533  qui permet d'afficher
534 \begin_inset Newline newline
535 \end_inset
536
537  ces points multicolores comme fond de transparent.
538 \end_layout
539
540 \begin_layout Slide
541 \begin_inset OptArg
542 status collapsed
543
544 \begin_layout Plain Layout
545 method=direct
546 \end_layout
547
548 \end_inset
549
550 Exemple de code source LaTeX
551 \end_layout
552
553 \begin_layout Standard
554 Utilisons maintenant le paquetage 
555 \begin_inset Quotes fld
556 \end_inset
557
558 listings
559 \begin_inset Quotes frd
560 \end_inset
561
562  pour saisir du code source.
563  Voici la commande LaTeX 
564 \family typewriter
565
566 \backslash
567 BonjourLeMonde
568 \family default
569 :
570 \end_layout
571
572 \begin_layout Standard
573 \begin_inset listings
574 lstparams "language={[LaTeX]TeX}"
575 inline false
576 status open
577
578 \begin_layout Plain Layout
579
580
581 \backslash
582 newcommand{
583 \backslash
584 BonjourLeMonde}{Bonjour, le monde!}
585 \end_layout
586
587 \end_inset
588
589
590 \end_layout
591
592 \begin_layout Standard
593 Notez que ce transparent utilise l'option 
594 \family typewriter
595 method=direct 
596 \family default
597 (ouvrez la boîte du titre court dans la fenêtre LyX).
598 \end_layout
599
600 \begin_layout Slide
601 \begin_inset OptArg
602 status collapsed
603
604 \begin_layout Plain Layout
605 method=file
606 \end_layout
607
608 \end_inset
609
610 Texte verbatim avec superposition
611 \end_layout
612
613 \begin_layout Standard
614 Voici la fonction C 
615 \family typewriter
616 BonjourLeMonde()
617 \family default
618 :
619 \end_layout
620
621 \begin_layout Standard
622 \begin_inset listings
623 lstparams "language=C"
624 inline false
625 status open
626
627 \begin_layout Plain Layout
628
629 void BonjourLeMonde() {
630 \end_layout
631
632 \begin_layout Plain Layout
633
634 printf("Bonjour, le monde!
635 \backslash
636 n");
637 \end_layout
638
639 \begin_layout Plain Layout
640
641 }
642 \end_layout
643
644 \end_inset
645
646
647 \end_layout
648
649 \begin_layout Standard
650 \begin_inset ERT
651 status collapsed
652
653 \begin_layout Plain Layout
654
655
656 \backslash
657 pause
658 \end_layout
659
660 \end_inset
661
662  Au contraire du transparent précédent, celui-ci doit utiliser l'option
663  
664 \family typewriter
665 method=file, car il comporte deux superpositions.
666 \end_layout
667
668 \begin_layout Slide
669 Fin.
670 \end_layout
671
672 \begin_layout Standard
673 N'oubliez pas d'insérer un style 
674 \begin_inset Quotes fld
675 \end_inset
676
677 FinDiapo
678 \begin_inset Quotes frd
679 \end_inset
680
681  
682 \family typewriter
683 à la fin du documen
684 \family default
685 t (voyez le symbole noir ci-dessous dans le fenêtre LyX).
686 \end_layout
687
688 \begin_layout Standard
689 Amusez-vous bien!
690 \end_layout
691
692 \begin_layout EndSlide
693
694 \end_layout
695
696 \end_body
697 \end_document