1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
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
63 \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
116 \tracking_changes false
117 \postpone_fragile_content false
118 \output_changes false
121 \html_be_strict false
126 \begin_layout Standard
127 This document demonstrates the usage of two different formula categories.
128 One is Arabic, one is Roman numbered.
131 \begin_layout Standard
151 \begin_layout Plain Layout
180 \begin_layout Plain Layout
209 \begin_layout Plain Layout
237 \begin_layout Standard
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
281 \begin_inset CommandInset ref
288 \begin_inset CommandInset ref
297 \begin_layout Standard
299 \begin_inset CommandInset line
308 \begin_inset VSpace medskip
311 To create this example, first a counter must be defined for the Roman numbered
313 To do this the following is inserted to the \SpecialChar LaTeX
317 \begin_layout Standard
323 \begin_inset Newline newline
335 \begin_layout Standard
336 \begin_inset Newpage newpage
339 To save the value of the Arabic counter
343 , this is added to the preamble
346 \begin_layout Standard
354 \begin_inset Newline newline
364 \begin_inset Newline newline
372 \begin_inset Newline newline
384 \begin_layout Standard
385 To be able to switch in the document between the two numbering schemes,
386 the following commands are defined in the preamble:
389 \begin_layout Standard
411 \begin_layout Standard
412 for Roman numbering and
415 \begin_layout Standard
437 \begin_layout Standard
438 for Arabic numbering.
441 \begin_layout Standard
442 Every formula will be by default numbered Arabic.
443 To switch to Roman numbering, the command
449 is inserted in \SpecialChar TeX
457 the numbering is switched to Arabic.