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