1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/doc/es/
12 \usepackage[colorlinks=true,
13 pdftitle=Formelnummerierung, pdfpagemode=none,
14 pdfpagelayout=OneColumn, pdfstartview=XYZ,
15 pdfauthor={Uwe Stöhr},
16 pdfsubject={LaTeX/LyX numbering example},
17 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
21 \usepackage[colorlinks=true]{hyperref}
25 % define Roman counter
27 \renewcommand{\therom}{\roman{rom}}
29 % remember the original counter
30 \newcommand{\c@org@eq}{}
31 \let\c@org@eq\c@equation
32 \newcommand{\org@theeq}{}
33 \let\org@theeq\theequation
35 % \setrom activates the Roman counter
38 \let\theequation\therom}
40 % \setarab activates the original Arabic counter
41 \newcommand{\setarab}{
42 \let\c@equation\c@org@eq
43 \let\theequation\org@theeq}
46 \use_default_options false
47 \maintain_unincluded_children false
49 \language_package default
52 \font_roman "default" "default"
53 \font_sans "default" "default"
54 \font_typewriter "default" "default"
55 \font_math "auto" "auto"
56 \font_default_family default
57 \use_non_tex_fonts false
60 \font_sf_scale 100 100
61 \font_tt_scale 100 100
63 \default_output_format default
65 \bibtex_command default
66 \index_command default
72 \use_package amsmath 2
73 \use_package amssymb 2
76 \use_package mathdots 1
77 \use_package mathtools 0
79 \use_package stackrel 0
80 \use_package stmaryrd 0
81 \use_package undertilde 0
83 \cite_engine_type default
87 \paperorientation portrait
97 \paragraph_separation skip
99 \quotes_language english
102 \paperpagestyle empty
103 \tracking_changes false
104 \output_changes false
107 \html_be_strict false
112 \begin_layout Standard
113 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
114 Una está numerada en arábigos, la otra en romanos.
117 \begin_layout Standard
137 \begin_layout Plain Layout
166 \begin_layout Plain Layout
195 \begin_layout Plain Layout
223 \begin_layout Standard
224 Referencias cruzadas:
225 \begin_inset CommandInset ref
232 \begin_inset CommandInset ref
239 \begin_inset CommandInset ref
246 \begin_inset CommandInset ref
253 \begin_inset CommandInset ref
260 \begin_inset CommandInset ref
267 \begin_inset CommandInset ref
274 \begin_inset CommandInset ref
283 \begin_layout Standard
285 \begin_inset CommandInset line
294 \begin_inset VSpace medskip
297 Para escribir este ejemplo, primero hay que definir un contador para las
298 fórmulas numeradas en romanos.
299 Para ello se inserta lo siguiente en el preámbulo \SpecialCharNoPassThru LaTeX
303 \begin_layout Standard
309 \begin_inset Newline newline
321 \begin_layout Standard
322 \begin_inset Newpage newpage
325 Para guardar el valor del contador arábigo
329 , se añade al preámbulo lo siguiente
332 \begin_layout Standard
340 \begin_inset Newline newline
350 \begin_inset Newline newline
358 \begin_inset Newline newline
370 \begin_layout Standard
371 Para poder alternar en el documento entre ambos esquemas de numeración,
372 se definen los siguientes comandos en el preámbulo:
375 \begin_layout Standard
397 \begin_layout Standard
398 para la numeración romana y
401 \begin_layout Standard
423 \begin_layout Standard
424 para la numeración arábiga.
427 \begin_layout Standard
428 Cada fórmula será numerada en arábigos por defecto.
429 Para cambiar a numeración en romanos, se inserta el comando
435 en modo \SpecialCharNoPassThru TeX
443 la numeración retorna a números arábigos.