1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
13 \usepackage[colorlinks=true,
14 pdftitle=Formelnummerierung, pdfpagemode=none,
15 pdfpagelayout=OneColumn, pdfstartview=XYZ,
16 pdfauthor={Uwe Stöhr},
17 pdfsubject={LaTeX/LyX numbering example},
18 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
22 \usepackage[colorlinks=true]{hyperref}
26 % define Roman counter
28 \renewcommand{\therom}{\roman{rom}}
30 % remember the original counter
31 \newcommand{\c@org@eq}{}
32 \let\c@org@eq\c@equation
33 \newcommand{\org@theeq}{}
34 \let\org@theeq\theequation
36 % \setrom activates the Roman counter
39 \let\theequation\therom}
41 % \setarab activates the original Arabic counter
42 \newcommand{\setarab}{
43 \let\c@equation\c@org@eq
44 \let\theequation\org@theeq}
46 \setlength{\parskip}{\medskipamount}
47 \setlength{\parindent}{0pt}
49 \use_default_options false
50 \maintain_unincluded_children no
52 \language_package default
55 \font_roman "default" "default"
56 \font_sans "default" "default"
57 \font_typewriter "default" "default"
58 \font_math "auto" "auto"
59 \font_default_family default
60 \use_non_tex_fonts false
64 \font_typewriter_osf false
65 \font_sf_scale 100 100
66 \font_tt_scale 100 100
68 \use_dash_ligatures false
70 \default_output_format pdf2
72 \bibtex_command default
73 \index_command default
79 \use_package amsmath 2
80 \use_package amssymb 2
83 \use_package mathdots 1
84 \use_package mathtools 1
86 \use_package stackrel 1
87 \use_package stmaryrd 1
88 \use_package undertilde 1
90 \cite_engine_type default
94 \paperorientation portrait
106 \paragraph_separation indent
107 \paragraph_indentation default
109 \math_indentation default
110 \math_numbering_side default
111 \quotes_style english
115 \paperpagestyle empty
117 \tracking_changes false
118 \output_changes false
120 \postpone_fragile_content false
123 \html_be_strict false
124 \docbook_table_output 0
125 \docbook_mathml_prefix 1
130 \begin_layout Standard
131 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
132 Una está numerada en arábigos,
136 \begin_layout Standard
156 \begin_layout Plain Layout
185 \begin_layout Plain Layout
214 \begin_layout Plain Layout
242 \begin_layout Standard
243 Referencias cruzadas:
245 \begin_inset CommandInset ref
254 \begin_inset CommandInset ref
263 \begin_inset CommandInset ref
272 \begin_inset CommandInset ref
281 \begin_inset CommandInset ref
290 \begin_inset CommandInset ref
299 \begin_inset CommandInset ref
308 \begin_inset CommandInset ref
318 \begin_layout Standard
320 \begin_inset CommandInset line
329 \begin_inset VSpace medskip
332 Para escribir este ejemplo,
333 primero hay que definir un contador para las fórmulas numeradas en romanos.
334 Para ello se inserta lo siguiente en el preámbulo \SpecialChar LaTeX
338 \begin_layout Standard
344 \begin_inset Newline newline
356 \begin_layout Standard
357 \begin_inset Newpage newpage
360 Para guardar el valor del contador arábigo
365 se añade al preámbulo lo siguiente
368 \begin_layout Standard
376 \begin_inset Newline newline
386 \begin_inset Newline newline
394 \begin_inset Newline newline
406 \begin_layout Standard
407 Para poder alternar en el documento entre ambos esquemas de numeración,
408 se definen los siguientes comandos en el preámbulo:
411 \begin_layout Standard
433 \begin_layout Standard
434 para la numeración romana y
437 \begin_layout Standard
459 \begin_layout Standard
460 para la numeración arábiga.
463 \begin_layout Standard
464 Cada fórmula será numerada en arábigos por defecto.
465 Para cambiar a numeración en romanos,
466 se inserta el comando
472 en modo \SpecialChar TeX
480 la numeración retorna a números arábigos.