1 #LyX 2.3 created this file. For more info see http://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 \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 \use_dash_ligatures false
65 \default_output_format pdf2
67 \bibtex_command default
68 \index_command default
74 \use_package amsmath 2
75 \use_package amssymb 2
78 \use_package mathdots 1
79 \use_package mathtools 0
81 \use_package stackrel 0
82 \use_package stmaryrd 0
83 \use_package undertilde 0
85 \cite_engine_type default
89 \paperorientation portrait
99 \paragraph_separation skip
102 \math_numbering_side default
103 \quotes_style english
106 \paperpagestyle empty
107 \tracking_changes false
108 \output_changes false
111 \html_be_strict false
117 \begin_layout Standard
118 Este documento muestra el uso de dos categorías diferentes de ecuaciones.
119 Una está numerada en arábigos, la otra en romanos.
122 \begin_layout Standard
142 \begin_layout Plain Layout
171 \begin_layout Plain Layout
200 \begin_layout Plain Layout
228 \begin_layout Standard
229 Referencias cruzadas:
230 \begin_inset CommandInset ref
237 \begin_inset CommandInset ref
244 \begin_inset CommandInset ref
251 \begin_inset CommandInset ref
258 \begin_inset CommandInset ref
265 \begin_inset CommandInset ref
272 \begin_inset CommandInset ref
279 \begin_inset CommandInset ref
288 \begin_layout Standard
290 \begin_inset CommandInset line
299 \begin_inset VSpace medskip
302 Para escribir este ejemplo, primero hay que definir un contador para las
303 fórmulas numeradas en romanos.
304 Para ello se inserta lo siguiente en el preámbulo \SpecialChar LaTeX
308 \begin_layout Standard
314 \begin_inset Newline newline
326 \begin_layout Standard
327 \begin_inset Newpage newpage
330 Para guardar el valor del contador arábigo
334 , se añade al preámbulo lo siguiente
337 \begin_layout Standard
345 \begin_inset Newline newline
355 \begin_inset Newline newline
363 \begin_inset Newline newline
375 \begin_layout Standard
376 Para poder alternar en el documento entre ambos esquemas de numeración,
377 se definen los siguientes comandos en el preámbulo:
380 \begin_layout Standard
402 \begin_layout Standard
403 para la numeración romana y
406 \begin_layout Standard
428 \begin_layout Standard
429 para la numeración arábiga.
432 \begin_layout Standard
433 Cada fórmula será numerada en arábigos por defecto.
434 Para cambiar a numeración en romanos, se inserta el comando
440 en modo \SpecialChar TeX
448 la numeración retorna a números arábigos.