1 #LyX 1.5.5svn 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 % define Roman counter
26 \renewcommand{\therom}{\roman{rom}}
28 % remember the original counter
29 \newcommand{\c@org@eq}{}
30 \let\c@org@eq\c@equation
31 \newcommand{\org@theeq}{}
32 \let\org@theeq\theequation
34 % \setrom activates the Roman counter
37 \let\theequation\therom}
39 % \setarab activates the original Arabic counter
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 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
83 Una está numerada en arábigos, la otra en romanos.
86 \begin_layout Standard
87 \begin_inset Formula \begin{equation}
88 A=B\label{eq:B}\end{equation}
93 \begin_inset Formula \begin{equation}
94 A=C\label{eq:C}\end{equation}
102 \begin_layout Standard
112 \begin_inset Formula \begin{equation}
113 A=D\label{eq:D}\end{equation}
118 \begin_inset Formula \begin{equation}
119 A=E\label{eq:E}\end{equation}
127 \begin_layout Standard
137 \begin_inset Formula \begin{equation}
138 A=F\label{eq:F}\end{equation}
143 \begin_inset Formula \begin{equation}
144 A=G\label{eq:G}\end{equation}
152 \begin_layout Standard
162 \begin_inset Formula \begin{equation}
163 A=H\label{eq:H}\end{equation}
168 \begin_inset Formula \begin{equation}
169 A=I\label{eq:I}\end{equation}
176 \begin_layout Standard
177 Referencias cruzadas:
178 \begin_inset LatexCommand eqref
184 \begin_inset LatexCommand eqref
190 \begin_inset LatexCommand eqref
196 \begin_inset LatexCommand eqref
202 \begin_inset LatexCommand eqref
208 \begin_inset LatexCommand eqref
214 \begin_inset LatexCommand eqref
220 \begin_inset LatexCommand eqref
228 \begin_layout Standard
232 \begin_inset VSpace medskip
235 Para escribir este ejemplo, primero hay que definir un contador para las
236 fórmulas numeradas en romanos.
237 Para ello se inserta lo siguiente en el preámbulo LaTeX:
240 \begin_layout Standard
256 \begin_layout Standard
259 Para guardar el valor del contador arábigo
263 , se añade al preámbulo lo siguiente
266 \begin_layout Standard
298 \begin_layout Standard
299 Para poder alternar en el documento entre ambos esquemas de numeración,
300 se definen los siguientes comandos en el preámbulo:
303 \begin_layout Standard
325 \begin_layout Standard
326 para la numeración romana y
329 \begin_layout Standard
351 \begin_layout Standard
352 para la numeración arábiga.
355 \begin_layout Standard
356 Cada fórmula será numerada en arábigos por defecto.
357 Para cambiar a numeración en romanos, se inserta el comando
370 la numeración retorna a números arábigos.