1 #LyX 1.6.5 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
50 \font_typewriter default
51 \font_default_family default
67 \paperorientation portrait
70 \paragraph_separation skip
72 \quotes_language english
76 \tracking_changes false
84 \begin_layout Standard
85 この文書は、二つの数式カテゴリの使い方を示すものです。一つのカテゴリにはアラビア数字、もう一つはローマ数字で番号が振られています。
88 \begin_layout Standard
89 \begin_inset Formula \begin{equation}
90 A=B\label{eq:B}\end{equation}
95 \begin_inset Formula \begin{equation}
96 A=C\label{eq:C}\end{equation}
104 \begin_layout Plain Layout
114 \begin_inset Formula \begin{equation}
115 A=D\label{eq:D}\end{equation}
120 \begin_inset Formula \begin{equation}
121 A=E\label{eq:E}\end{equation}
129 \begin_layout Plain Layout
139 \begin_inset Formula \begin{equation}
140 A=F\label{eq:F}\end{equation}
145 \begin_inset Formula \begin{equation}
146 A=G\label{eq:G}\end{equation}
154 \begin_layout Plain Layout
164 \begin_inset Formula \begin{equation}
165 A=H\label{eq:H}\end{equation}
170 \begin_inset Formula \begin{equation}
171 A=I\label{eq:I}\end{equation}
178 \begin_layout Standard
180 \begin_inset CommandInset ref
187 \begin_inset CommandInset ref
194 \begin_inset CommandInset ref
201 \begin_inset CommandInset ref
208 \begin_inset CommandInset ref
215 \begin_inset CommandInset ref
222 \begin_inset CommandInset ref
229 \begin_inset CommandInset ref
238 \begin_layout Standard
242 \begin_inset VSpace medskip
245 この例を作成するには、ローマ数字の数式のカウンタをまず定義しなくてはなりません。そのためには、LaTeXプリアンブルに以下のように入力します。
248 \begin_layout Standard
254 \begin_inset Newline newline
266 \begin_layout Standard
267 \begin_inset Newpage newpage
274 の値を保存するには、プリアンブルに以下のように入力します。
277 \begin_layout Standard
285 \begin_inset Newline newline
295 \begin_inset Newline newline
303 \begin_inset Newline newline
315 \begin_layout Standard
316 文書中で二つの連番スキームの間を切り替えるには、ローマ数字用に
319 \begin_layout Standard
341 \begin_layout Standard
342 というコマンドをプリアンブルで定義し、アラビア数字用には
345 \begin_layout Standard
367 \begin_layout Standard
371 \begin_layout Standard
372 各数式は、既定ではアラビア数字で連番が振られます。ローマ数字に切り替えるにはTeXコードで
384 コマンドで連番はアラビア数字に切り替わります。