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