1 #LyX 2.0 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}
45 \use_default_options false
46 \maintain_unincluded_children false
48 \language_package default
53 \font_typewriter default
54 \font_default_family default
55 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
78 \paperorientation portrait
87 \paragraph_separation skip
89 \quotes_language english
93 \tracking_changes false
102 \begin_layout Standard
103 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
104 Una está numerada en arábigos, la otra en romanos.
107 \begin_layout Standard
127 \begin_layout Plain Layout
156 \begin_layout Plain Layout
185 \begin_layout Plain Layout
213 \begin_layout Standard
214 Referencias cruzadas:
215 \begin_inset CommandInset ref
222 \begin_inset CommandInset ref
229 \begin_inset CommandInset ref
236 \begin_inset CommandInset ref
243 \begin_inset CommandInset ref
250 \begin_inset CommandInset ref
257 \begin_inset CommandInset ref
264 \begin_inset CommandInset ref
273 \begin_layout Standard
275 \begin_inset CommandInset line
284 \begin_inset VSpace medskip
287 Para escribir este ejemplo, primero hay que definir un contador para las
288 fórmulas numeradas en romanos.
289 Para ello se inserta lo siguiente en el preámbulo LaTeX:
292 \begin_layout Standard
298 \begin_inset Newline newline
310 \begin_layout Standard
311 \begin_inset Newpage newpage
314 Para guardar el valor del contador arábigo
318 , se añade al preámbulo lo siguiente
321 \begin_layout Standard
329 \begin_inset Newline newline
339 \begin_inset Newline newline
347 \begin_inset Newline newline
359 \begin_layout Standard
360 Para poder alternar en el documento entre ambos esquemas de numeración,
361 se definen los siguientes comandos en el preámbulo:
364 \begin_layout Standard
386 \begin_layout Standard
387 para la numeración romana y
390 \begin_layout Standard
412 \begin_layout Standard
413 para la numeración arábiga.
416 \begin_layout Standard
417 Cada fórmula será numerada en arábigos por defecto.
418 Para cambiar a numeración en romanos, se inserta el comando
431 la numeración retorna a números arábigos.