1 #LyX 2.1 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
55 \font_default_family default
56 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
71 \use_package amsmath 2
72 \use_package amssymb 2
75 \use_package mathdots 1
76 \use_package mathtools 0
78 \use_package stackrel 0
79 \use_package stmaryrd 0
80 \use_package undertilde 0
82 \cite_engine_type default
86 \paperorientation portrait
96 \paragraph_separation skip
98 \quotes_language english
101 \paperpagestyle empty
102 \tracking_changes false
103 \output_changes false
106 \html_be_strict false
111 \begin_layout Standard
112 Ce document illustre l'utilisation de deux catégories différentes de formules.
113 L'une est numérotée avec des chiffres arabes, l'autre avec des chiffres
117 \begin_layout Standard
137 \begin_layout Plain Layout
166 \begin_layout Plain Layout
195 \begin_layout Plain Layout
223 \begin_layout Standard
225 \begin_inset CommandInset ref
232 \begin_inset CommandInset ref
239 \begin_inset CommandInset ref
246 \begin_inset CommandInset ref
253 \begin_inset CommandInset ref
260 \begin_inset CommandInset ref
267 \begin_inset CommandInset ref
274 \begin_inset CommandInset ref
283 \begin_layout Standard
285 \begin_inset CommandInset line
294 \begin_inset VSpace medskip
297 Pour créer cet exemple, il faut d'abord définir un compteur pour les formules
298 numérotées avec des chiffres romains.
299 Pour le faire, on insère ce qui suit dans le préambule LaTeX:
302 \begin_layout Standard
308 \begin_inset Newline newline
320 \begin_layout Standard
321 \begin_inset Newpage newpage
324 Pour enregistrer la valeur du compteur en chiffres arabes
328 , on ajoute ceci au préambule:
331 \begin_layout Standard
339 \begin_inset Newline newline
349 \begin_inset Newline newline
357 \begin_inset Newline newline
369 \begin_layout Standard
370 Pour pouvoir permuter entre les deux types de numérotation dans le document,
371 on définit les commandes suivantes dans le préambule:
374 \begin_layout Standard
396 \begin_layout Standard
397 pour la numérotation en chiffres romains et
400 \begin_layout Standard
422 \begin_layout Standard
423 pour la numérotation en chiffres arabes.
426 \begin_layout Standard
427 Chaque formule sera numérotée par défaut avec des chiffres arabes.
428 Pour passer aux chiffres romains, on insère la commande
441 la numérotation passe en chiffres arabes.