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