1 #LyX 2.1 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]{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
55 \font_default_family default
56 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
71 \use_package amsmath 2
72 \use_package amssymb 2
75 \use_package mathdots 1
76 \use_package mathtools 0
78 \use_package stackrel 0
79 \use_package stmaryrd 0
80 \use_package undertilde 0
82 \cite_engine_type default
86 \paperorientation portrait
96 \paragraph_separation skip
98 \quotes_language english
101 \paperpagestyle empty
102 \tracking_changes false
103 \output_changes false
106 \html_be_strict false
111 \begin_layout Standard
112 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
113 Una está numerada en arábigos, la otra en romanos.
116 \begin_layout Standard
136 \begin_layout Plain Layout
165 \begin_layout Plain Layout
194 \begin_layout Plain Layout
222 \begin_layout Standard
223 Referencias cruzadas:
224 \begin_inset CommandInset ref
231 \begin_inset CommandInset ref
238 \begin_inset CommandInset ref
245 \begin_inset CommandInset ref
252 \begin_inset CommandInset ref
259 \begin_inset CommandInset ref
266 \begin_inset CommandInset ref
273 \begin_inset CommandInset ref
282 \begin_layout Standard
284 \begin_inset CommandInset line
293 \begin_inset VSpace medskip
296 Para escribir este ejemplo, primero hay que definir un contador para las
297 fórmulas numeradas en romanos.
298 Para ello se inserta lo siguiente en el preámbulo LaTeX:
301 \begin_layout Standard
307 \begin_inset Newline newline
319 \begin_layout Standard
320 \begin_inset Newpage newpage
323 Para guardar el valor del contador arábigo
327 , se añade al preámbulo lo siguiente
330 \begin_layout Standard
338 \begin_inset Newline newline
348 \begin_inset Newline newline
356 \begin_inset Newline newline
368 \begin_layout Standard
369 Para poder alternar en el documento entre ambos esquemas de numeración,
370 se definen los siguientes comandos en el preámbulo:
373 \begin_layout Standard
395 \begin_layout Standard
396 para la numeración romana y
399 \begin_layout Standard
421 \begin_layout Standard
422 para la numeración arábiga.
425 \begin_layout Standard
426 Cada fórmula será numerada en arábigos por defecto.
427 Para cambiar a numeración en romanos, se inserta el comando
440 la numeración retorna a números arábigos.