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 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
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 この文書は、二つの数式カテゴリの使い方を示すものです。一つのカテゴリにはアラビア数字、もう一つはローマ数字で番号が振られています。
106 \begin_layout Standard
126 \begin_layout Plain Layout
155 \begin_layout Plain Layout
184 \begin_layout Plain Layout
212 \begin_layout Standard
214 \begin_inset CommandInset ref
221 \begin_inset CommandInset ref
228 \begin_inset CommandInset ref
235 \begin_inset CommandInset ref
242 \begin_inset CommandInset ref
249 \begin_inset CommandInset ref
256 \begin_inset CommandInset ref
263 \begin_inset CommandInset ref
272 \begin_layout Standard
274 \begin_inset CommandInset line
283 \begin_inset VSpace medskip
286 この例を作成するには、ローマ数字の数式のカウンタをまず定義しなくてはなりません。そのためには、LaTeXプリアンブルに以下のように入力します。
289 \begin_layout Standard
295 \begin_inset Newline newline
307 \begin_layout Standard
308 \begin_inset Newpage newpage
315 の値を保存するには、プリアンブルに以下のように入力します。
318 \begin_layout Standard
326 \begin_inset Newline newline
336 \begin_inset Newline newline
344 \begin_inset Newline newline
356 \begin_layout Standard
357 文書中で二つの連番スキームの間を切り替えるには、ローマ数字用に
360 \begin_layout Standard
382 \begin_layout Standard
383 というコマンドをプリアンブルで定義し、アラビア数字用には
386 \begin_layout Standard
408 \begin_layout Standard
412 \begin_layout Standard
413 各数式は、既定ではアラビア数字で連番が振られます。ローマ数字に切り替えるにはTeXコードで
425 コマンドで連番はアラビア数字に切り替わります。