% provides caption formatting
%\setkomafont{captionlabel}{\bfseries}
-%% because this is loaded twice, add "samesize" option as an global option
-% used in sec. 24.5
-%\usepackage[samesize]{cancel}
-
% enables calculation of values
\usepackage{calc}
% used to check for needed LaTeX packages
\usepackage{ifthen}
+% check for package undertilde
+% used for the command \utilde
+\newboolean{undertilde}
+\IfFileExists{undertilde.sty}
+ {\usepackage{undertilde}
+ \setboolean{undertilde}{true}}
+ {\setboolean{undertilde}{false}}
+
% check for package eurosym
% used for the Euro symbol
\newboolean{eurosym}
\use_geometry true
\use_package amsmath 2
\use_package amssymb 2
-\use_package cancel 2
+\use_package cancel 0
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 0
\series default
・
\series bold
+undertilde
+\series default
+・
+\series bold
was
\series default
が導入されている必要があります。これらが導入されていなくても文書はエクスポートできますが、パッケージを必要とする節は出力には現れません。また、
ウムラウトと他のアクセント付き文字は、数式中テキストに直接入れることができます。
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+LyX also supports a tilde under the character if the LaTeX-package
+\lang japanese
+
+\series bold
+undertilde
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! upgreek
+\end_layout
+
+\end_inset
+
+
+\lang english
+is installed on your system:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifundertilde
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+以下の表は、
+\series bold
+undertilde
+\series default
+ LaTeXパッケージが導入済みのときのみ表示されます。
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+コマンド
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+出力
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+utilde
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\raisebox{5mm}{}\utilde{A}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+以下は、
+\series bold
+undertilde
+\series default
+ LaTeXパッケージが導入されていないときのみ表示されます。
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+この小節のすべてを出力で見るには、
+\series bold
+undertilde
+\series default
+ LaTeXパッケージを導入する必要があります。
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
複数の文字に付けるアクセント
\begin_inset Index idx
\noindent
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="7">
+<lyxtabular version="3" rows="6" columns="3">
<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="6.8cm">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="15col%">
<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+保護された空白を挿入したのち、
+\family sans
+Space
+\family default
+を叩く回数
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+出力
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\, B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
\backslash
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\: B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
\backslash
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\; B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
\backslash
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\quad B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
\backslash
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+4
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\qquad B$
+\end_inset
+
-\backslash
-!
\end_layout
\end_inset
</cell>
</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="15col%">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+コマンド
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0
+出力
\end_layout
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-1
+
+\backslash
+hfill
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-2
+5
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\hfill B$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3
+
+\backslash
+hspace*{1em}
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-4
+6
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-5
+\begin_inset Formula $A\hspace*{1em}B$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-出力
+
+\backslash
+hspace{1em}
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\, B$
-\end_inset
-
-
+7
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\: B$
+\begin_inset Formula $A\hspace{1em}B$
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\; B$
+
+\backslash
+
+\begin_inset space \textvisiblespace{}
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\quad B$
+8
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\ B$
\end_inset
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\qquad B$
-\end_inset
+\backslash
+!
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-一番右の長さは、一見、空白を生まないように見えます。実はこれは負の長さなので、他の長さと異なり、LyX中では赤で表示されます。以下のように、他にもう二つ、負の長
+
+\lang english
+Space
+\begin_inset space ~
+\end_inset
+
+5
+\begin_inset space \thinspace{}
+\end_inset
+
+--
+\begin_inset space \thinspace{}
+\end_inset
+
+7 are variable spaces which are explained in
+\lang japanese
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:可変長の空白"
+
+\end_inset
+
+.一番右の長さは、一見、空白を生まないように見えます。実はこれは負の長さなので、他の長さと異なり、LyX中では赤で表示されます。以下のように、他にもう二つ、負の長
さの空白があります。
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-6
+10
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-7
+11
\end_layout
\end_inset
\end_layout
\begin_layout Standard
+\noindent
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
イコール記号などの関係子は、つねに空白を前後に伴うようになっていますが、これを抑制するには、イコール記号をTeX括弧で囲みます。以下の例にこれを示します。
\end_layout
\color inherit
-」を左クリックすることによって指定することができます。長さは負の値でも構いません。数式が使用できる空白をすべて使い尽くすだけの空白を挿入するには、
+」を左クリックすることによって指定することができます。長さは負の値でも構いません。
+\lang english
+When a space would be the first character in a line it would be omitted.
+ To force its output use the command
+\series bold
+
+\backslash
+hspace*
+\series default
+ instead of
+\series bold
+
+\backslash
+hspace
+\series default
+ or left-click on the
+\begin_inset Quotes eld
+\end_inset
+
+
+\color blue
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\color inherit
+
+\begin_inset Quotes erd
+\end_inset
+
+ and check the option
+\family sans
+Protect
+\family default
+.
+\lang japanese
+
+\begin_inset Newline newline
+\end_inset
+
+数式が使用できる空白をすべて使い尽くすだけの空白を挿入するには、
\series bold
\backslash
\begin_inset space \textvisiblespace{}
\end_inset
-
-\begin_inset Formula $\to$
-\end_inset
-
A
\backslash
not=C (3
\begin_inset space \textvisiblespace{}
\end_inset
-
-\begin_inset Formula $\to$
-\end_inset
-
A
\backslash
not=A (-1
\begin_layout Subsection
演算子の修飾
\begin_inset Index idx
-status open
+status collapsed
\begin_layout Plain Layout
えんざんし@演算子 !
\end_inset
-コマンドを使うと、文字を演算子の前や後ろに付けることができます。コマンド書式は、
+コマンドを使うと、文字を演算子の前や後ろに付けることができます。
\end_layout
\begin_layout Standard
+\lang english
+There are 4
+\begin_inset space ~
+\end_inset
+
+variants of
\series bold
\backslash
-sideset{前置文字}{後置文字}
+sideset
+\series default
+:
\end_layout
-\begin_layout Standard
+\begin_layout Itemize
\series bold
+\lang english
\backslash
sideset
\series default
-は、かならずアクセントを付ける演算子の前に置かなくてはなりません。複数の文字や他の演算子、記号もアクセントとして使用することができます。たとえば、
+ is used to set characters at the corners of the operator
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+\lang english
+
+\backslash
+sidesetn
+\series default
+ is used to set characters before and/or behind the operator (this variant
+ represents LaTeX's original
\series bold
\backslash
sideset
\series default
-を使って演算子の後だけに文字を配置したい場合には、最初の括弧の中には何も書かないようにしますが、括弧を省略することはできません。
+ command)
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+\lang english
+
+\backslash
+sidesetl
+\series default
+ is used to set characters at the left corners and/or behind the operator
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+\lang english
+
+\backslash
+sidesetr
+\series default
+ is used to set characters at the right corners and/or before the operator
\end_layout
\begin_layout Standard
\series bold
\backslash
-sideset{
-\begin_inset Formula $\to$
+sidesetn
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
-{
-\series default
-'
-\series bold
+sum
+\begin_inset space \textvisiblespace{}
+\end_inset
+
\begin_inset Formula $\to$
\end_inset
+'
+\begin_inset Formula $\to$
+\end_inset
-\backslash
-sum_k=1
+_k=1
\begin_inset space \textvisiblespace{}
\end_inset
\begin_inset Formula
\begin{align*}
\underline{\textrm{コマンド}\raisebox{-0.9mm}{}} & & \underline{\textrm{出力}}\\
-\mathrm{a\backslash mod\textrm{\textvisiblespace}b} & & a\mod b\\
-\mathrm{a\backslash pmod\textrm{\textvisiblespace}b} & & a\pmod b\\
-\mathrm{a\backslash bmod\textrm{\textvisiblespace}b} & & a\bmod b\\
-\mathrm{a\backslash pod\textrm{\textvisiblespace}b} & & a\pod b
+\mathrm{a\backslash mod\textrm{␣}b} & & a\mod b\\
+\mathrm{a\backslash pmod\textrm{␣}b} & & a\pmod b\\
+\mathrm{a\backslash bmod\textrm{␣}b} & & a\bmod b\\
+\mathrm{a\backslash pod\textrm{␣}b} & & a\pod b
\end{align*}
\end_inset
\begin_inset Formula
\begin{align*}
\underline{\textrm{コマンド}\raisebox{-0.9mm}{}} & & \underline{\textrm{出力}}\\
-\mathrm{a\backslash pod\textrm{\textvisiblespace}bcd} & & a\pod bcd\\
+\mathrm{a\backslash pod\textrm{␣}bcd} & & a\pod bcd\\
\mathrm{a\backslash pod\backslash\{bc\backslash\}d} & & a\pod{bc}d
\end{align*}
\end_layout
-\begin_layout Standard
-数式あるいはその一部を消去するには、
-\series bold
-cancel
-\series default
-
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-
-\series bold
-cancel
-\series default
-は、標準的なLaTeX頒布版のすべてに含まれています。
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ぱっけーじ@パッケージ ! cancel
-\end_layout
-
-\end_inset
-
- LaTeXパッケージを、LaTeXプリアンブル行に
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage{cancel}
-\end_layout
-
-\begin_layout Standard
-と書いて読み込む必要があります。
-\end_layout
-
\begin_layout Standard
数式を消去するには、4つの方法があります。
\end_layout
\begin_layout Plain Layout
\backslash
-cancel{
-\backslash
+cancel
+\begin_inset space \textvisiblespace{}
+\end_inset
+
int
\begin_inset space \textvisiblespace{}
\end_inset
\begin_layout Plain Layout
\backslash
-bcancel{
+bcancel
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
\backslash
int
\begin_inset space \textvisiblespace{}
\begin_layout Plain Layout
\backslash
-xcancel{
+xcancel
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
\backslash
int
\begin_inset space \textvisiblespace{}
\begin_layout Plain Layout
\backslash
-cancelto{1
-\begin_inset Formula $\to$
+cancelto
+\begin_inset space \textvisiblespace{}
\end_inset
-\backslash
-{
\backslash
int
\begin_inset space \textvisiblespace{}
\end_inset
A=B
+\begin_inset Formula $\to$
+\end_inset
+
+1
\end_layout
\end_inset
\begin_layout Standard
+\lang english
+To change the size of
\series bold
\backslash
cancelto
\series default
-の「下付き」数字の寸法を変更するには、
+'s
+\begin_inset Quotes eld
+\end_inset
+
+subscript
+\begin_inset Quotes erd
+\end_inset
+
+ value one can add the LaTeX-preamble line
+\end_layout
+
+\begin_layout Standard
+
\series bold
-cancel
+
+\backslash
+PassOptionsToPackage{option}{cancel}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+where
+\series bold
+option
\series default
-パッケージを
+ is either
\series bold
samesize
\series default
-オプションをつけて読み込んで、消去された数字と同じ大きさにするか、
+ which leads to the same size as for the canceled value, or
\series bold
Smaller
\series default
-オプションをつけて、オプションを付けなかった時よりも少し小さな大きさにするかの2つの方法があります。この文書では、
-\series bold
-cancel
-\series default
-は
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage[samesize]{cancel}
+ which makes is it a bit smaller than normal.
\end_layout
\begin_layout Standard
\end_inset
をご覧ください。
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! cancel
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection