1 #LyX 2.3 created this file. For more info see http://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 \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 1
81 \use_package stackrel 1
82 \use_package stmaryrd 1
83 \use_package undertilde 1
85 \cite_engine_type default
89 \paperorientation portrait
100 \paragraph_separation skip
103 \math_indentation default
104 \math_numbering_side default
105 \quotes_style english
109 \paperpagestyle empty
110 \tracking_changes false
111 \output_changes false
114 \html_be_strict false
119 \begin_layout Standard
120 This document demonstrates the usage of two different formula categories.
121 One is Arabic, one is Roman numbered.
124 \begin_layout Standard
144 \begin_layout Plain Layout
173 \begin_layout Plain Layout
202 \begin_layout Plain Layout
230 \begin_layout Standard
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
281 \begin_inset CommandInset ref
290 \begin_layout Standard
292 \begin_inset CommandInset line
301 \begin_inset VSpace medskip
304 To create this example, first a counter must be defined for the Roman numbered
306 To do this the following is inserted to the \SpecialChar LaTeX
310 \begin_layout Standard
316 \begin_inset Newline newline
328 \begin_layout Standard
329 \begin_inset Newpage newpage
332 To save the value of the Arabic counter
336 , this is added to the preamble
339 \begin_layout Standard
347 \begin_inset Newline newline
357 \begin_inset Newline newline
365 \begin_inset Newline newline
377 \begin_layout Standard
378 To be able to switch in the document between the two numbering schemes,
379 the following commands are defined in the preamble:
382 \begin_layout Standard
404 \begin_layout Standard
405 for Roman numbering and
408 \begin_layout Standard
430 \begin_layout Standard
431 for Arabic numbering.
434 \begin_layout Standard
435 Every formula will be by default numbered Arabic.
436 To switch to Roman numbering, the command
442 is inserted in \SpecialChar TeX
450 the numbering is switched to Arabic.