1 #LyX 1.6.0svn 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
66 \paperorientation portrait
69 \paragraph_separation skip
71 \quotes_language english
75 \tracking_changes false
83 \begin_layout Standard
84 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
85 Una está numerada en arábigos, la otra en romanos.
88 \begin_layout Standard
89 \begin_inset Formula \begin{equation}
90 A=B\label{eq:B}\end{equation}
95 \begin_inset Formula \begin{equation}
96 A=C\label{eq:C}\end{equation}
104 \begin_layout Plain Layout
114 \begin_inset Formula \begin{equation}
115 A=D\label{eq:D}\end{equation}
120 \begin_inset Formula \begin{equation}
121 A=E\label{eq:E}\end{equation}
129 \begin_layout Plain Layout
139 \begin_inset Formula \begin{equation}
140 A=F\label{eq:F}\end{equation}
145 \begin_inset Formula \begin{equation}
146 A=G\label{eq:G}\end{equation}
154 \begin_layout Plain Layout
164 \begin_inset Formula \begin{equation}
165 A=H\label{eq:H}\end{equation}
170 \begin_inset Formula \begin{equation}
171 A=I\label{eq:I}\end{equation}
178 \begin_layout Standard
179 Referencias cruzadas:
180 \begin_inset CommandInset ref
187 \begin_inset CommandInset ref
194 \begin_inset CommandInset ref
201 \begin_inset CommandInset ref
208 \begin_inset CommandInset ref
215 \begin_inset CommandInset ref
222 \begin_inset CommandInset ref
229 \begin_inset CommandInset ref
238 \begin_layout Standard
242 \begin_inset VSpace medskip
245 Para escribir este ejemplo, primero hay que definir un contador para las
246 fórmulas numeradas en romanos.
247 Para ello se inserta lo siguiente en el preámbulo LaTeX:
250 \begin_layout Standard
256 \begin_inset Newline newline
268 \begin_layout Standard
269 \begin_inset Newpage newpage
272 Para guardar el valor del contador arábigo
276 , se añade al preámbulo lo siguiente
279 \begin_layout Standard
287 \begin_inset Newline newline
297 \begin_inset Newline newline
305 \begin_inset Newline newline
317 \begin_layout Standard
318 Para poder alternar en el documento entre ambos esquemas de numeración,
319 se definen los siguientes comandos en el preámbulo:
322 \begin_layout Standard
344 \begin_layout Standard
345 para la numeración romana y
348 \begin_layout Standard
370 \begin_layout Standard
371 para la numeración arábiga.
374 \begin_layout Standard
375 Cada fórmula será numerada en arábigos por defecto.
376 Para cambiar a numeración en romanos, se inserta el comando
389 la numeración retorna a números arábigos.