1 #LyX 2.0 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
54 \font_default_family default
55 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
78 \paperorientation portrait
87 \paragraph_separation skip
89 \quotes_language english
93 \tracking_changes false
102 \begin_layout Standard
103 This document demonstrates the usage of two different formula categories.
104 One is Arabic, one is Roman numbered.
107 \begin_layout Standard
127 \begin_layout Plain Layout
156 \begin_layout Plain Layout
185 \begin_layout Plain Layout
213 \begin_layout Standard
215 \begin_inset CommandInset ref
222 \begin_inset CommandInset ref
229 \begin_inset CommandInset ref
236 \begin_inset CommandInset ref
243 \begin_inset CommandInset ref
250 \begin_inset CommandInset ref
257 \begin_inset CommandInset ref
264 \begin_inset CommandInset ref
273 \begin_layout Standard
275 \begin_inset CommandInset line
284 \begin_inset VSpace medskip
287 To create this example, first a counter must be defined for the Roman numbered
289 To do this the following is inserted to the LaTeX-preamble:
292 \begin_layout Standard
298 \begin_inset Newline newline
310 \begin_layout Standard
311 \begin_inset Newpage newpage
314 To save the value of the Arabic counter
318 , this is added to the preamble
321 \begin_layout Standard
329 \begin_inset Newline newline
339 \begin_inset Newline newline
347 \begin_inset Newline newline
359 \begin_layout Standard
360 To be able to switch in the document between the two numbering schemes,
361 the following commands are defined in the preamble:
364 \begin_layout Standard
386 \begin_layout Standard
387 for Roman numbering and
390 \begin_layout Standard
412 \begin_layout Standard
413 for Arabic numbering.
416 \begin_layout Standard
417 Every formula will be by default numbered Arabic.
418 To switch to Roman numbering, the command
424 is inserted in TeX-mode.
431 the numbering is switched to Arabic.