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 Stohr},
15 pdfsubject={LaTeX/LyX numbering example},
16 pdfkeywords={LaTeX, numbering, LyX}]{hyperref}
20 \usepackage[colorlinks=true, hypertex]{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 pdf
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 この文書は、二つの数式カテゴリの使い方を示すものです。一つのカテゴリにはアラビア数字、もう一つはローマ数字で番号が振られています。
115 \begin_layout Standard
135 \begin_layout Plain Layout
164 \begin_layout Plain Layout
193 \begin_layout Plain Layout
221 \begin_layout Standard
223 \begin_inset CommandInset ref
230 \begin_inset CommandInset ref
237 \begin_inset CommandInset ref
244 \begin_inset CommandInset ref
251 \begin_inset CommandInset ref
258 \begin_inset CommandInset ref
265 \begin_inset CommandInset ref
272 \begin_inset CommandInset ref
281 \begin_layout Standard
283 \begin_inset CommandInset line
292 \begin_inset VSpace medskip
295 この例を作成するには、ローマ数字の数式のカウンタをまず定義しなくてはなりません。そのためには、LaTeXプリアンブルに以下のように入力します。
298 \begin_layout Standard
304 \begin_inset Newline newline
316 \begin_layout Standard
317 \begin_inset Newpage newpage
324 の値を保存するには、プリアンブルに以下のように入力します。
327 \begin_layout Standard
335 \begin_inset Newline newline
345 \begin_inset Newline newline
353 \begin_inset Newline newline
365 \begin_layout Standard
366 文書中で二つの連番スキームの間を切り替えるには、ローマ数字用に
369 \begin_layout Standard
391 \begin_layout Standard
392 というコマンドをプリアンブルで定義し、アラビア数字用には
395 \begin_layout Standard
417 \begin_layout Standard
421 \begin_layout Standard
422 各数式は、既定ではアラビア数字で連番が振られます。ローマ数字に切り替えるにはTeXコードで
434 コマンドで連番はアラビア数字に切り替わります。