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 94Un exemple en \SpecialChar LyX 95 96\begin_inset Note Note 97status open 98 99\begin_layout Plain Layout 100 101\series bold 102Note: 103\series default 104 Vous ne devez pas utiliser le bouton 105\begin_inset Quotes cld 106\end_inset 107 108Visionner 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 117PDF (ps2pdf) 118\begin_inset Quotes crd 119\end_inset 120 121 ou 122\begin_inset Quotes cld 123\end_inset 124 125PDF (dvipdfm) 126\begin_inset Quotes crd 127\end_inset 128 129. 130 Pour en avoir plus, lisez le manuel 131\series bold 132powerdot 133\series default 134. 135\end_layout 136 137\begin_layout Plain Layout 138 139\series bold 140Note: 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 148dvips 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 161Mael Hilléreau 162\begin_inset ERT 163status collapsed 164 165\begin_layout Plain Layout 166 167 168\backslash 169and 170\end_layout 171 172\end_inset 173 174 Hendri Adriaens 175\begin_inset ERT 176status collapsed 177 178\begin_layout Plain Layout 179 180 181\backslash 182and 183\end_layout 184 185\end_inset 186 187 Christopher Ellison 188\begin_inset Foot 189status collapsed 190 191\begin_layout Plain Layout 192Traduction 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 206status collapsed 207 208\begin_layout Plain Layout 209 210 211\backslash 212today 213\end_layout 214 215\end_inset 216 217 218\end_layout 219 220\begin_layout Slide 221Mon premier transparent 222\end_layout 223 224\begin_layout Standard 225Nous utilisons le style 226\begin_inset Quotes cld 227\end_inset 228 229Diapo 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 239Mon transparent large 240\end_layout 241 242\begin_layout Standard 243\begin_inset CommandInset label 244LatexCommand label 245name "toc" 246 247\end_inset 248 249Mais nous pouvons aussi utiliser 250\begin_inset Quotes cld 251\end_inset 252 253DiapoLarge 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 263Voyons 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 272LatexCommand tableofcontents 273 274\end_inset 275 276 277\end_layout 278 279\begin_layout Section 280Ceci est la première section 281\end_layout 282 283\begin_layout Slide 284\begin_inset Argument 1 285status collapsed 286 287\begin_layout Plain Layout 288toc=Cette diapo a \SpecialChar ldots 289 290\end_layout 291 292\end_inset 293 294Ce transparent a un titre très très long 295\end_layout 296 297\begin_layout Standard 298Le titre du transparent est différent dans la TdM, comparer le transparent 299 300\begin_inset CommandInset ref 301LatexCommand pageref 302reference "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 310note importante! 311\end_layout 312 313\begin_layout Standard 314N'oubliez pas d'utiliser 315\family typewriter 316Ins 317\family default 318érer\SpecialChar menuseparator 319 320\family typewriter 321Titre court 322\family default 323 pour spécifier les options de style. 324\end_layout 325 326\begin_layout Slide 327Utiliser 328\family typewriter 329 330\backslash 331pause 332\end_layout 333 334\begin_layout Standard 335Faisons une pause! 336\begin_inset ERT 337status collapsed 338 339\begin_layout Plain Layout 340 341 342\backslash 343pause 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 357Seconde section 358\end_layout 359 360\begin_layout Slide 361Utiliser 362\family typewriter 363enumerate 364\end_layout 365 366\begin_layout Standard 367Énumérons quelques objets: 368\begin_inset ERT 369status collapsed 370 371\begin_layout Plain Layout 372 373 374\backslash 375pause 376\end_layout 377 378\end_inset 379 380 381\end_layout 382 383\begin_layout EnumerateType1 384Premier objet; 385\begin_inset ERT 386status collapsed 387 388\begin_layout Plain Layout 389 390 391\backslash 392pause 393\end_layout 394 395\end_inset 396 397 398\end_layout 399 400\begin_layout EnumerateType1 401Deuxième objet; 402\begin_inset ERT 403status collapsed 404 405\begin_layout Plain Layout 406 407 408\backslash 409pause 410\end_layout 411 412\end_inset 413 414 415\end_layout 416 417\begin_layout EnumerateType1 418Troisième objet; 419\begin_inset ERT 420status collapsed 421 422\begin_layout Plain Layout 423 424 425\backslash 426pause 427\end_layout 428 429\end_inset 430 431 432\end_layout 433 434\begin_layout EnumerateType1 435Dernier objet! 436\end_layout 437 438\begin_layout Slide 439Utiliser 440\family typewriter 441itemize 442\end_layout 443 444\begin_layout Standard 445Nous pouvons aussi créer quelques items et les cascader: 446\begin_inset ERT 447status collapsed 448 449\begin_layout Plain Layout 450 451 452\backslash 453pause 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 489status collapsed 490 491\begin_layout Plain Layout 492toc=,randomdots 493\end_layout 494 495\end_inset 496 497Le 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 509Ce transparent est vide\SpecialChar ldots 510 511\end_layout 512 513\begin_layout Standard 514\begin_inset ERT 515status collapsed 516 517\begin_layout Plain Layout 518 519 520\backslash 521pause 522\end_layout 523 524\end_inset 525 526 527\end_layout 528 529\begin_layout Standard 530\align center 531Il utilise le style 532\begin_inset Quotes cld 533\end_inset 534 535DiapoVide 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 545status collapsed 546 547\begin_layout Plain Layout 548 549 550\backslash 551pause 552\end_layout 553 554\end_inset 555 556 557\end_layout 558 559\begin_layout Standard 560\align center 561Vous aurez sans doute remarqué l'option de style 562\begin_inset Quotes cld 563\end_inset 564 565 566\family typewriter 567randomdots 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 582status collapsed 583 584\begin_layout Plain Layout 585method=direct 586\end_layout 587 588\end_inset 589 590Exemple de code source \SpecialChar LaTeX 591 592\end_layout 593 594\begin_layout Standard 595Utilisons maintenant le paquetage 596\begin_inset Quotes cld 597\end_inset 598 599listings 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 609BonjourLeMonde 610\family default 611: 612\end_layout 613 614\begin_layout Standard 615\begin_inset listings 616lstparams "language={[LaTeX]TeX}" 617inline false 618status open 619 620\begin_layout Plain Layout 621 622 623\backslash 624newcommand{ 625\backslash 626BonjourLeMonde}{Bonjour, le monde!} 627\end_layout 628 629\end_inset 630 631 632\end_layout 633 634\begin_layout Standard 635Notez que ce transparent utilise l'option 636\family typewriter 637method=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 645status collapsed 646 647\begin_layout Plain Layout 648method=file 649\end_layout 650 651\end_inset 652 653Texte verbatim avec superposition 654\end_layout 655 656\begin_layout Standard 657Voici la fonction C 658\family typewriter 659BonjourLeMonde() 660\family default 661: 662\end_layout 663 664\begin_layout Standard 665\begin_inset listings 666lstparams "language=C" 667inline false 668status open 669 670\begin_layout Plain Layout 671 672void BonjourLeMonde() { 673\end_layout 674 675\begin_layout Plain Layout 676 677printf("Bonjour, le monde! 678\backslash 679n"); 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 694status collapsed 695 696\begin_layout Plain Layout 697 698 699\backslash 700pause 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 708method=file, car il comporte deux superpositions. 709\end_layout 710 711\begin_layout Slide 712Fin. 713\end_layout 714 715\begin_layout Standard 716N'oubliez pas d'insérer un style 717\begin_inset Quotes cld 718\end_inset 719 720FinDiapo 721\begin_inset Quotes crd 722\end_inset 723 724 725\family typewriter 726à la fin du documen 727\family default 728t (voyez le symbole noir ci-dessous dans le fenêtre \SpecialChar LyX 729). 730\end_layout 731 732\begin_layout Standard 733Amusez-vous bien! 734\end_layout 735 736\begin_layout EndSlide 737 738\end_layout 739 740\end_body 741\end_document 742