1 #LyX 1.6.0beta3 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
65 \paperorientation portrait
68 \paragraph_separation skip
70 \quotes_language english
74 \tracking_changes false
82 \begin_layout Standard
83 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
84 Una está numerada en arábigos, la otra en romanos.
87 \begin_layout Standard
88 \begin_inset Formula \begin{equation}
89 A=B\label{eq:B}\end{equation}
94 \begin_inset Formula \begin{equation}
95 A=C\label{eq:C}\end{equation}
103 \begin_layout Plain Layout
113 \begin_inset Formula \begin{equation}
114 A=D\label{eq:D}\end{equation}
119 \begin_inset Formula \begin{equation}
120 A=E\label{eq:E}\end{equation}
128 \begin_layout Plain Layout
138 \begin_inset Formula \begin{equation}
139 A=F\label{eq:F}\end{equation}
144 \begin_inset Formula \begin{equation}
145 A=G\label{eq:G}\end{equation}
153 \begin_layout Plain Layout
163 \begin_inset Formula \begin{equation}
164 A=H\label{eq:H}\end{equation}
169 \begin_inset Formula \begin{equation}
170 A=I\label{eq:I}\end{equation}
177 \begin_layout Standard
178 Referencias cruzadas:
179 \begin_inset CommandInset ref
186 \begin_inset CommandInset ref
193 \begin_inset CommandInset ref
200 \begin_inset CommandInset ref
207 \begin_inset CommandInset ref
214 \begin_inset CommandInset ref
221 \begin_inset CommandInset ref
228 \begin_inset CommandInset ref
237 \begin_layout Standard
241 \begin_inset VSpace medskip
244 Para escribir este ejemplo, primero hay que definir un contador para las
245 fórmulas numeradas en romanos.
246 Para ello se inserta lo siguiente en el preámbulo LaTeX:
249 \begin_layout Standard
255 \begin_inset Newline newline
267 \begin_layout Standard
268 \begin_inset Newpage newpage
271 Para guardar el valor del contador arábigo
275 , se añade al preámbulo lo siguiente
278 \begin_layout Standard
286 \begin_inset Newline newline
296 \begin_inset Newline newline
304 \begin_inset Newline newline
316 \begin_layout Standard
317 Para poder alternar en el documento entre ambos esquemas de numeración,
318 se definen los siguientes comandos en el preámbulo:
321 \begin_layout Standard
343 \begin_layout Standard
344 para la numeración romana y
347 \begin_layout Standard
369 \begin_layout Standard
370 para la numeración arábiga.
373 \begin_layout Standard
374 Cada fórmula será numerada en arábigos por defecto.
375 Para cambiar a numeración en romanos, se inserta el comando
388 la numeración retorna a números arábigos.