1 #LyX 2.0 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]{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}
45 \use_default_options false
46 \maintain_unincluded_children false
48 \language_package default
53 \font_typewriter default
54 \font_default_family default
55 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
78 \paperorientation portrait
87 \paragraph_separation skip
89 \quotes_language english
93 \tracking_changes false
102 \begin_layout Standard
103 Ce document illustre l'utilisation de deux catégories différentes de formules.
104 L'une est numérotée avec des chiffres arabes, l'autre avec des chiffres
108 \begin_layout Standard
128 \begin_layout Plain Layout
157 \begin_layout Plain Layout
186 \begin_layout Plain Layout
214 \begin_layout Standard
216 \begin_inset CommandInset ref
223 \begin_inset CommandInset ref
230 \begin_inset CommandInset ref
237 \begin_inset CommandInset ref
244 \begin_inset CommandInset ref
251 \begin_inset CommandInset ref
258 \begin_inset CommandInset ref
265 \begin_inset CommandInset ref
274 \begin_layout Standard
276 \begin_inset CommandInset line
285 \begin_inset VSpace medskip
288 Pour créer cet exemple, il faut d'abord définir un compteur pour les formules
289 numérotées avec des chiffres romains.
290 Pour le faire, on insère ce qui suit dans le préambule LaTeX:
293 \begin_layout Standard
299 \begin_inset Newline newline
311 \begin_layout Standard
312 \begin_inset Newpage newpage
315 Pour enregistrer la valeur du compteur en chiffres arabes
319 , on ajoute ceci au préambule:
322 \begin_layout Standard
330 \begin_inset Newline newline
340 \begin_inset Newline newline
348 \begin_inset Newline newline
360 \begin_layout Standard
361 Pour pouvoir permuter entre les deux types de numérotation dans le document,
362 on définit les commandes suivantes dans le préambule:
365 \begin_layout Standard
387 \begin_layout Standard
388 pour la numérotation en chiffres romains et
391 \begin_layout Standard
413 \begin_layout Standard
414 pour la numérotation en chiffres arabes.
417 \begin_layout Standard
418 Chaque formule sera numérotée par défaut avec des chiffres arabes.
419 Pour passer aux chiffres romains, on insère la commande
432 la numérotation passe en chiffres arabes.