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