1 #LyX 1.5.4 created this file. For more info see http://www.lyx.org/
11 \usepackage[colorlinks=true,
12 pdftitle=Formelnummerierung, pdfpagemode=none,
13 pdfpagelayout=OneColumn, pdfstartview=XYZ,
14 pdfauthor={Uwe Stöhr},
15 pdfsubject={LaTeX/LyX numbering example},
16 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
20 \usepackage[colorlinks=true, hypertex]{hyperref}
24 % definit le compteur romain
26 \renewcommand{\therom}{\roman{rom}}
28 % se souvient du compteur origina
29 \newcommand{\c@org@eq}{}
30 \let\c@org@eq\c@equation
31 \newcommand{\org@theeq}{}
32 \let\org@theeq\theequation
34 % \setrom active le compteur romain
37 \let\theequation\therom}
39 % \setarab active le compteur arabe original
40 \newcommand{\setarab}{
41 \let\c@equation\c@org@eq
42 \let\theequation\org@theeq}
49 \font_typewriter default
50 \font_default_family default
64 \paperorientation portrait
67 \paragraph_separation skip
69 \quotes_language english
73 \tracking_changes false
81 \begin_layout Standard
82 Ce document illustre l'utilisation de deux catégories différentes de formules.
83 L'une est numérotée avec des chiffres arabes, l'autre avec des chiffres
87 \begin_layout Standard
88 \begin_inset Formula \begin{equation}
89 A=B\label{eq:B}\end{equation}
94 \begin_inset Formula \begin{equation}
95 A=C\label{eq:C}\end{equation}
103 \begin_layout Standard
113 \begin_inset Formula \begin{equation}
114 A=D\label{eq:D}\end{equation}
119 \begin_inset Formula \begin{equation}
120 A=E\label{eq:E}\end{equation}
128 \begin_layout Standard
138 \begin_inset Formula \begin{equation}
139 A=F\label{eq:F}\end{equation}
144 \begin_inset Formula \begin{equation}
145 A=G\label{eq:G}\end{equation}
153 \begin_layout Standard
163 \begin_inset Formula \begin{equation}
164 A=H\label{eq:H}\end{equation}
169 \begin_inset Formula \begin{equation}
170 A=I\label{eq:I}\end{equation}
177 \begin_layout Standard
179 \begin_inset LatexCommand eqref
185 \begin_inset LatexCommand eqref
191 \begin_inset LatexCommand eqref
197 \begin_inset LatexCommand eqref
203 \begin_inset LatexCommand eqref
209 \begin_inset LatexCommand eqref
215 \begin_inset LatexCommand eqref
221 \begin_inset LatexCommand eqref
229 \begin_layout Standard
233 \begin_inset VSpace medskip
236 Pour créer cet exemple, il faut d'abord définir un compteur pour les formules
237 numérotées avec des chiffres romains.
238 Pour le faire, on insère ce qui suit dans le préambule LaTeX:
241 \begin_layout Standard
257 \begin_layout Standard
260 Pour enregistrer la valeur du compteur en chiffres arabes
264 , on ajoute ceci au préambule:
267 \begin_layout Standard
299 \begin_layout Standard
300 Pour pouvoir permuter entre les deux types de numérotation dans le document,
301 on définit les commandes suivantes dans le préambule:
304 \begin_layout Standard
326 \begin_layout Standard
327 pour la numérotation en chiffres romains et
330 \begin_layout Standard
352 \begin_layout Standard
353 pour la numérotation en chiffres arabes.
356 \begin_layout Standard
357 Chaque formule sera numérotée par défaut avec des chiffres arabes.
358 Pour passer aux chiffres romains, on insère la commande
371 la numérotation passe en chiffres arabes.