lyx_mirror/lib/examples/fr/Presentations/Powerdot.lyx

755 lines
11 KiB
Plaintext
Raw Normal View History

2020-12-29 17:03:05 +00:00
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 600
\begin_document
\begin_header
2016-01-12 21:30:37 +00:00
\save_transient_properties true
2019-03-25 15:32:27 +00:00
\origin /systemlyxdir/examples/fr/Presentations/
\textclass powerdot
\begin_preamble
\pdsetup{%
lf=pied gauche,
rf=pied droit,
% showing total slides is default, but the reference is
% broken on current TL20. For now, we just show the current=
% slide (and not the total slide count) on each slide.
% Alternatively, compilation succeeds with the default
% if we remove the "method=file" slide (or set it to
% "method=direct").
% default:
% theslide=\arabic{slide}~/~\autopageref{lastslide}
theslide=\arabic{slide}
}
% This is needed to make the example compile
% with recent versions of frenchb (babel)
\AtBeginDocument{%
\@ifundefined{frenchbsetup}{}{\frenchbsetup{StandardLists=true}}
}
\end_preamble
\options style=fyma,display=slidesnotes
\use_default_options false
2020-12-29 17:03:05 +00:00
\maintain_unincluded_children no
\language french
\language_package default
\inputencoding utf8
2020-12-29 17:03:05 +00:00
\fontencoding auto
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
2020-12-29 17:03:05 +00:00
\font_sans_osf false
\font_typewriter_osf false
\font_roman_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
2017-04-24 04:03:19 +00:00
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format pdf
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize size=10
\spacing single
\use_hyperref false
2020-12-29 17:03:05 +00:00
\papersize letter
\use_geometry true
2014-03-23 16:31:51 +00:00
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
2014-03-23 16:31:51 +00:00
\use_package mathdots 1
\use_package mathtools 1
2014-03-23 16:31:51 +00:00
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
2014-03-23 16:31:51 +00:00
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation landscape
\suppress_date false
2014-03-23 16:31:51 +00:00
\justification true
\use_refstyle 0
\use_minted 0
2020-12-29 17:03:05 +00:00
\use_lineno 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
2017-04-24 04:03:19 +00:00
\is_math_indent 0
2017-08-14 06:31:24 +00:00
\math_numbering_side default
2017-04-24 04:03:19 +00:00
\quotes_style swiss
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
2020-12-29 17:03:05 +00:00
\postpone_fragile_content false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
Un exemple en \SpecialChar LyX
\begin_inset Note Note
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
Vous ne devez pas utiliser le bouton
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
Visionner PDF (pdflatex)
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
pour visualiser ce fichier ! Pour visionner et exporter en PDF, utiliser
les méthodes
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
PDF (ps2pdf)
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
ou
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
PDF (dvipdfm)
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
.
Pour en avoir plus, lisez le manuel
\series bold
powerdot
\series default
.
\end_layout
\begin_layout Plain Layout
\series bold
Note:
\series default
En fonction de votre distribution \SpecialChar LaTeX
, vous pouvez avoir à ajouter l'option
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
dvips
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
aux options de classe du document pour obtenir un affichage DVI correct.
\end_layout
\end_inset
\end_layout
\begin_layout Author
Mael Hilléreau
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
and
\end_layout
\end_inset
Hendri Adriaens
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
and
\end_layout
\end_inset
Christopher Ellison
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Traduction française Jean-Pierre Chrétien,
\family typewriter
<jeanpierre.chretien@free.fr>
\family default
, novembre 2009.
\end_layout
\end_inset
\end_layout
\begin_layout Date
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
today
\end_layout
\end_inset
\end_layout
\begin_layout Slide
Mon premier transparent
\end_layout
\begin_layout Standard
Nous utilisons le style
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
Diapo
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
(couleur magenta, voyez le texte ci-dessus dans la fenêtre \SpecialChar LyX
) pour le titre
de chaque transparent d'une section ou d'un document.
\end_layout
\begin_layout WideSlide
Mon transparent large
\end_layout
\begin_layout Standard
\begin_inset CommandInset label
LatexCommand label
name "toc"
\end_inset
Mais nous pouvons aussi utiliser
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
DiapoLarge
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
pour des transparents larges (couleur verte, voyez le texte ci-dessus dans
la fenêtre \SpecialChar LyX
).
\end_layout
\begin_layout Standard
Voyons la Table des Matières:
\begin_inset VSpace medskip
\end_inset
\end_layout
\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents
\end_inset
\end_layout
\begin_layout Section
Ceci est la première section
\end_layout
\begin_layout Slide
2014-03-23 16:31:51 +00:00
\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
toc=Cette diapo a \SpecialChar ldots
\end_layout
\end_inset
Ce transparent a un titre très très long
\end_layout
\begin_layout Standard
Le titre du transparent est différent dans la TdM, comparer le transparent
\begin_inset CommandInset ref
LatexCommand pageref
reference "toc"
\end_inset
et la colonne de gauche des transparents de cette section.
\end_layout
\begin_layout Note
note importante!
\end_layout
\begin_layout Standard
N'oubliez pas d'utiliser
\family typewriter
Ins
\family default
érer\SpecialChar menuseparator
\family typewriter
Titre court
\family default
pour spécifier les options de style.
\end_layout
\begin_layout Slide
Utiliser
\family typewriter
\backslash
pause
\end_layout
\begin_layout Standard
Faisons une pause!
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\SpecialChar ldots
et continuons.
\end_layout
\begin_layout Section
Seconde section
\end_layout
\begin_layout Slide
Utiliser
\family typewriter
enumerate
\end_layout
\begin_layout Standard
Énumérons quelques objets:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout EnumerateType1
Premier objet;
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout EnumerateType1
Deuxième objet;
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout EnumerateType1
Troisième objet;
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout EnumerateType1
Dernier objet!
\end_layout
\begin_layout Slide
Utiliser
\family typewriter
itemize
\end_layout
\begin_layout Standard
Nous pouvons aussi créer quelques items et les cascader:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout ItemizeType1
<2> Le premier;
\end_layout
\begin_layout ItemizeType1
<3> le deuxième;
\end_layout
\begin_deeper
\begin_layout ItemizeType1
<4> un,
\end_layout
\begin_layout ItemizeType1
<5> deux
\end_layout
\begin_layout ItemizeType1
<6> trois,
\end_layout
\end_deeper
\begin_layout ItemizeType1
<7> le dernier.
\end_layout
\begin_layout EmptySlide
2014-03-23 16:31:51 +00:00
\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
toc=,randomdots
\end_layout
\end_inset
Le transparent vide!
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
\align center
Ce transparent est vide\SpecialChar ldots
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\align center
Il utilise le style
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
DiapoVide
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
style pour le titre (voyez la couleur cyan dans la fenêtre \SpecialChar LyX
).
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\align center
Vous aurez sans doute remarqué l'option de style
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
\family typewriter
randomdots
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
\family default
qui permet d'afficher
\begin_inset Newline newline
\end_inset
ces points multicolores comme fond de transparent.
\end_layout
\begin_layout Slide
2014-03-23 16:31:51 +00:00
\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
method=direct
\end_layout
\end_inset
Exemple de code source \SpecialChar LaTeX
\end_layout
\begin_layout Standard
Utilisons maintenant le paquetage
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
listings
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
pour saisir du code source.
Voici la commande \SpecialChar LaTeX
\family typewriter
\backslash
BonjourLeMonde
\family default
:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "language={[LaTeX]TeX}"
inline false
status open
\begin_layout Plain Layout
\backslash
newcommand{
\backslash
BonjourLeMonde}{Bonjour, le monde!}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Notez que ce transparent utilise l'option
\family typewriter
method=direct
\family default
(ouvrez la boîte du titre court dans la fenêtre \SpecialChar LyX
).
\end_layout
\begin_layout Slide
2014-03-23 16:31:51 +00:00
\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
method=file
\end_layout
\end_inset
Texte verbatim avec superposition
\end_layout
\begin_layout Standard
Voici la fonction C
\family typewriter
BonjourLeMonde()
\family default
:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "language=C"
inline false
status open
\begin_layout Plain Layout
void BonjourLeMonde() {
\end_layout
\begin_layout Plain Layout
printf("Bonjour, le monde!
\backslash
n");
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
pause
\end_layout
\end_inset
Au contraire du transparent précédent, celui-ci doit utiliser l'option
\family typewriter
method=file, car il comporte deux superpositions.
\end_layout
\begin_layout Slide
Fin.
\end_layout
\begin_layout Standard
N'oubliez pas d'insérer un style
2017-04-24 04:03:19 +00:00
\begin_inset Quotes cld
\end_inset
FinDiapo
2017-04-24 04:03:19 +00:00
\begin_inset Quotes crd
\end_inset
\family typewriter
à la fin du documen
\family default
t (voyez le symbole noir ci-dessous dans le fenêtre \SpecialChar LyX
).
\end_layout
\begin_layout Standard
Amusez-vous bien!
\end_layout
\begin_layout EndSlide
\end_layout
\end_body
\end_document