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