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