1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/doc/fr/
12 \usepackage[colorlinks=true,
13 pdftitle=Formelnummerierung, pdfpagemode=none,
14 pdfpagelayout=OneColumn, pdfstartview=XYZ,
15 pdfauthor={Uwe Stöhr},
16 pdfsubject={LaTeX/LyX numbering example},
17 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
21 \usepackage[colorlinks=true]{hyperref}
25 % definit le compteur romain
27 \renewcommand{\therom}{\roman{rom}}
29 % se souvient du compteur origina
30 \newcommand{\c@org@eq}{}
31 \let\c@org@eq\c@equation
32 \newcommand{\org@theeq}{}
33 \let\org@theeq\theequation
35 % \setrom active le compteur romain
38 \let\theequation\therom}
40 % \setarab active le compteur arabe original
41 \newcommand{\setarab}{
42 \let\c@equation\c@org@eq
43 \let\theequation\org@theeq}
46 \use_default_options false
47 \maintain_unincluded_children false
49 \language_package default
52 \font_roman "default" "default"
53 \font_sans "default" "default"
54 \font_typewriter "default" "default"
55 \font_math "auto" "auto"
56 \font_default_family default
57 \use_non_tex_fonts false
60 \font_sf_scale 100 100
61 \font_tt_scale 100 100
63 \default_output_format default
65 \bibtex_command default
66 \index_command default
72 \use_package amsmath 2
73 \use_package amssymb 2
76 \use_package mathdots 1
77 \use_package mathtools 0
79 \use_package stackrel 0
80 \use_package stmaryrd 0
81 \use_package undertilde 0
83 \cite_engine_type default
87 \paperorientation portrait
97 \paragraph_separation skip
99 \quotes_language english
102 \paperpagestyle empty
103 \tracking_changes false
104 \output_changes false
107 \html_be_strict false
112 \begin_layout Standard
113 Ce document illustre l'utilisation de deux catégories différentes de formules.
114 L'une est numérotée avec des chiffres arabes, l'autre avec des chiffres
118 \begin_layout Standard
138 \begin_layout Plain Layout
167 \begin_layout Plain Layout
196 \begin_layout Plain Layout
224 \begin_layout Standard
226 \begin_inset CommandInset ref
233 \begin_inset CommandInset ref
240 \begin_inset CommandInset ref
247 \begin_inset CommandInset ref
254 \begin_inset CommandInset ref
261 \begin_inset CommandInset ref
268 \begin_inset CommandInset ref
275 \begin_inset CommandInset ref
284 \begin_layout Standard
286 \begin_inset CommandInset line
295 \begin_inset VSpace medskip
298 Pour créer cet exemple, il faut d'abord définir un compteur pour les formules
299 numérotées avec des chiffres romains.
300 Pour le faire, on insère ce qui suit dans le préambule \SpecialCharNoPassThru LaTeX
304 \begin_layout Standard
310 \begin_inset Newline newline
322 \begin_layout Standard
323 \begin_inset Newpage newpage
326 Pour enregistrer la valeur du compteur en chiffres arabes
330 , on ajoute ceci au préambule:
333 \begin_layout Standard
341 \begin_inset Newline newline
351 \begin_inset Newline newline
359 \begin_inset Newline newline
371 \begin_layout Standard
372 Pour pouvoir permuter entre les deux types de numérotation dans le document,
373 on définit les commandes suivantes dans le préambule:
376 \begin_layout Standard
398 \begin_layout Standard
399 pour la numérotation en chiffres romains et
402 \begin_layout Standard
424 \begin_layout Standard
425 pour la numérotation en chiffres arabes.
428 \begin_layout Standard
429 Chaque formule sera numérotée par défaut avec des chiffres arabes.
430 Pour passer aux chiffres romains, on insère la commande
436 en code \SpecialCharNoPassThru TeX
444 la numérotation passe en chiffres arabes.