1 #LyX 2.1 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
55 \font_default_family default
56 \use_non_tex_fonts false
62 \default_output_format default
64 \bibtex_command default
65 \index_command default
71 \use_package amsmath 2
72 \use_package amssymb 2
75 \use_package mathdots 1
76 \use_package mathtools 0
78 \use_package stackrel 0
79 \use_package stmaryrd 0
80 \use_package undertilde 0
82 \cite_engine_type default
86 \paperorientation portrait
96 \paragraph_separation skip
98 \quotes_language english
101 \paperpagestyle empty
102 \tracking_changes false
103 \output_changes false
106 \html_be_strict false
111 \begin_layout Standard
112 This document demonstrates the usage of two different formula categories.
113 One is Arabic, one is Roman numbered.
116 \begin_layout Standard
136 \begin_layout Plain Layout
165 \begin_layout Plain Layout
194 \begin_layout Plain Layout
222 \begin_layout Standard
224 \begin_inset CommandInset ref
231 \begin_inset CommandInset ref
238 \begin_inset CommandInset ref
245 \begin_inset CommandInset ref
252 \begin_inset CommandInset ref
259 \begin_inset CommandInset ref
266 \begin_inset CommandInset ref
273 \begin_inset CommandInset ref
282 \begin_layout Standard
284 \begin_inset CommandInset line
293 \begin_inset VSpace medskip
296 To create this example, first a counter must be defined for the Roman numbered
298 To do this the following is inserted to the LaTeX-preamble:
301 \begin_layout Standard
307 \begin_inset Newline newline
319 \begin_layout Standard
320 \begin_inset Newpage newpage
323 To save the value of the Arabic counter
327 , this is added to the preamble
330 \begin_layout Standard
338 \begin_inset Newline newline
348 \begin_inset Newline newline
356 \begin_inset Newline newline
368 \begin_layout Standard
369 To be able to switch in the document between the two numbering schemes,
370 the following commands are defined in the preamble:
373 \begin_layout Standard
395 \begin_layout Standard
396 for Roman numbering and
399 \begin_layout Standard
421 \begin_layout Standard
422 for Arabic numbering.
425 \begin_layout Standard
426 Every formula will be by default numbered Arabic.
427 To switch to Roman numbering, the command
433 is inserted in TeX-mode.
440 the numbering is switched to Arabic.