1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/doc/
12 \usepackage[colorlinks=true,
13 pdftitle=Formelnummerierung, pdfpagemode=none,
14 pdfpagelayout=OneColumn, pdfstartview=XYZ,
15 pdfauthor={Uwe Stöhr},
16 pdfsubject={LaTeX/LyX numbering example},
17 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
21 \usepackage[colorlinks=true]{hyperref}
25 % define Roman counter
27 \renewcommand{\therom}{\roman{rom}}
29 % remember the original counter
30 \newcommand{\c@org@eq}{}
31 \let\c@org@eq\c@equation
32 \newcommand{\org@theeq}{}
33 \let\org@theeq\theequation
35 % \setrom activates the Roman counter
38 \let\theequation\therom}
40 % \setarab activates the original Arabic counter
41 \newcommand{\setarab}{
42 \let\c@equation\c@org@eq
43 \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 \default_output_format pdf2
65 \bibtex_command default
66 \index_command default
72 \use_package amsmath 2
73 \use_package amssymb 2
76 \use_package mathdots 1
77 \use_package mathtools 0
79 \use_package stackrel 0
80 \use_package stmaryrd 0
81 \use_package undertilde 0
83 \cite_engine_type default
87 \paperorientation portrait
97 \paragraph_separation skip
99 \quotes_language english
102 \paperpagestyle empty
103 \tracking_changes false
104 \output_changes false
107 \html_be_strict false
112 \begin_layout Standard
113 This document demonstrates the usage of two different formula categories.
114 One is Arabic, one is Roman numbered.
117 \begin_layout Standard
137 \begin_layout Plain Layout
166 \begin_layout Plain Layout
195 \begin_layout Plain Layout
223 \begin_layout Standard
225 \begin_inset CommandInset ref
232 \begin_inset CommandInset ref
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
283 \begin_layout Standard
285 \begin_inset CommandInset line
294 \begin_inset VSpace medskip
297 To create this example, first a counter must be defined for the Roman numbered
299 To do this the following is inserted to the \SpecialCharNoPassThru LaTeX
303 \begin_layout Standard
309 \begin_inset Newline newline
321 \begin_layout Standard
322 \begin_inset Newpage newpage
325 To save the value of the Arabic counter
329 , this is added to the preamble
332 \begin_layout Standard
340 \begin_inset Newline newline
350 \begin_inset Newline newline
358 \begin_inset Newline newline
370 \begin_layout Standard
371 To be able to switch in the document between the two numbering schemes,
372 the following commands are defined in the preamble:
375 \begin_layout Standard
397 \begin_layout Standard
398 for Roman numbering and
401 \begin_layout Standard
423 \begin_layout Standard
424 for Arabic numbering.
427 \begin_layout Standard
428 Every formula will be by default numbered Arabic.
429 To switch to Roman numbering, the command
435 is inserted in \SpecialCharNoPassThru TeX
443 the numbering is switched to Arabic.