-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 401
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
\begin_document
\begin_header
\textclass jarticle
%\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
%\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
-% increase link area for cross-references and autoname them,
-%\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\newlength{\abc}
-\settowidth{\abc}{\space}
-\addto\extrasenglish{
- \renewcommand{\equationautorefname}{\hspace{-\abc}}
- \renewcommand{\sectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}}
-
% don't load packages twice
% see first footnote in sec. 9.3
\@ifundefined{textcolor}{\usepackage{color}}{}
% provides caption formatting
%\setkomafont{captionlabel}{\bfseries}
-% used in Kap. 22.6
+% used in sec. 24.5
\usepackage[samesize]{cancel}
-% enables calculation of values,
+% enables calculation of values
\usepackage{calc}
-% for multiple table row and column cells
-\usepackage{multirow}
+% for multiple columns used in sec. 24.7
\usepackage{multicol}
% needed in sec. 19.4
\usepackage{remreset}
-% center multirows (e.g. in sec. 13.3)
-\renewcommand{\multirowsetup}{\centering}
-
% define a color, used in sec.9.3
\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
\use_default_options true
\maintain_unincluded_children false
\language japanese
+\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
-\use_xetex false
+\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle false
-\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize a4paper
\use_geometry true
\use_amsmath 2
\use_indices false
\paperorientation portrait
\suppress_date false
+\use_refstyle 0
\notefontcolor #0000ff
\index 索引
\shortcut idx
\tracking_changes false
\output_changes false
\html_math_output 0
+\html_css_as_file 0
\html_be_strict false
\end_header
\begin_layout Standard
\begin_inset Note Note
-status collapsed
+status open
\begin_layout Plain Layout
この文書をPDFやPS、DVIに書き出すには、LaTeXパッケージの
\series bold
+braket
+\series default
+・
+\series bold
+cancel
+\series default
+・
+\series bold
eurosym
\series default
・
\series bold
-mhchem
+mathdots
\series default
・
\series bold
-multirow
+mhchem
\series default
・
\series bold
-wasが導入されている必要があります。
+was
\series default
-これらが導入されていなくても文書はエクスポートできますが、パッケージを必要とする節は出力には現れません。また、
+ã\81\8cå°\8eå\85¥ã\81\95ã\82\8cã\81¦ã\81\84ã\82\8bå¿\85è¦\81ã\81\8cã\81\82ã\82\8aã\81¾ã\81\99ã\80\82ã\81\93ã\82\8cã\82\89ã\81\8cå°\8eå\85¥ã\81\95ã\82\8cã\81¦ã\81\84ã\81ªã\81\8fã\81¦ã\82\82æ\96\87æ\9b¸ã\81¯ã\82¨ã\82¯ã\82¹ã\83\9dã\83¼ã\83\88ã\81§ã\81\8dã\81¾ã\81\99ã\81\8cã\80\81ã\83\91ã\83\83ã\82±ã\83¼ã\82¸ã\82\92å¿\85è¦\81ã\81¨ã\81\99ã\82\8bç¯\80ã\81¯å\87ºå\8a\9bã\81«ã\81¯ç\8f¾ã\82\8cã\81¾ã\81\9bã\82\93ã\80\82ã\81¾ã\81\9fã\80\81
\series bold
mhchem
\series default
\begin_layout Standard
この文書は、LyXの数式機能の説明書であると同時に、なによりも数式記号および数式要素に使用されるLaTeXコマンドのコレクションでもあります。説明は、コマンドの
-使ç\94¨ã\82\92念é ã\81«ç½®ã\81\84ã\81¦ã\81\84ã\81¾ã\81\99ã\80\82ã\81\97ã\81\9fã\81\8cã\81\84ã\81¾ã\81\97て、ユーザーの手引きの
+使ç\94¨ã\82\92念é ã\81«ç½®ã\81\84ã\81¦ã\81\84ã\81¾ã\81\99ã\80\82ã\81\97ã\81\9fã\81\8cã\81£て、ユーザーの手引きの
\family typewriter
数式
\family default
\end_inset
のような矢印は、キーボードから対応する矢印キーを押すことを表します。
+\lang english
+The
+\family sans
+Tab
+\family default
+ key can often be used instead of
+\begin_inset Formula $\to$
+\end_inset
+
+ and
+\begin_inset Formula $\downarrow$
+\end_inset
+
+, and
+\family sans
+Shift+Tab
+\family default
+ instead of
+\begin_inset Formula $\leftarrow$
+\end_inset
+
+ and
+\begin_inset Formula $\uparrow$
+\end_inset
+
+.
\end_layout
\begin_layout Subsection*
\backslash
dfrac
+\series default
+
\begin_inset Index idx
status collapsed
\end_inset
を使えば、つねに別行建て数式の大きさを持つ分数を作成することができます。また、コマンド
+\series bold
+
\backslash
tfrac
+\series default
+
\begin_inset Index idx
status collapsed
\end_inset
e^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
\backslash
frac
\begin_inset ERT
\end_layout
\begin_layout Standard
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
\textrm{\textbf{\textbackslash frac}を使用して作成} & & \textrm{\textbf{\textbackslash cfrac}を使用して作成}\\
\frac{A}{B+\frac{C+\frac{E}{F}}{D}} & & \cfrac{A}{B+\cfrac{C+\cfrac{E}{F}}{D}}
\end{align*}
cfrac
\series default
は中央揃えです。以下の各分数は、それぞれの揃え位置を示しています。
-\begin_inset Newline newline
-\end_inset
-
-
\series bold
-\begin_inset Formula $\cfrac[l]{A}{B+C}$
-\end_inset
-
-,
-\begin_inset Formula $\cfrac{A}{B+C}$
-\end_inset
+\begin_inset Formula
+\[
+\cfrac[l]{A}{B+C}\,,\,\cfrac{A}{B+C}\,,\,\cfrac[r]{A}{B+C}
+\]
-,
-\begin_inset Formula $\cfrac[r]{A}{B+C}$
\end_inset
frac
\series default
を組み合わせて使うと便利です。
-\begin_inset Formula \[
-\cfrac{A}{B+\cfrac{C+\frac{E}{F}}{D}}\]
+\begin_inset Formula
+\[
+\cfrac{A}{B+\cfrac{C+\frac{E}{F}}{D}}
+\]
\end_inset
\end_inset
+
+\series default
および
+\series bold
+
\backslash
tbinom
\series default
\end_layout
\begin_layout Subsection
-空打ち文字
+埋め草
\begin_inset CommandInset label
LatexCommand label
-name "sub:空打ち文字"
+name "sub:埋め草"
\end_inset
status collapsed
\begin_layout Plain Layout
-ã\81\8bã\82\89ã\81\86ã\81¡ã\82\82ã\81\98@空æ\89\93ã\81¡æ\96\87å\97
+ã\81\86ã\82\81ã\81\8fã\81\95@å\9f\8bã\82\81è\8d\89
\end_layout
\end_inset
\backslash
phantom
\series default
-を挿入すると、二つの赤い矢印が重なった青枠が表示されます。矢印は、箱の中身の幅と高さの両方が、空打ち文字として適用されることを示しています。したがって、
+を挿入すると、二つの赤い矢印が重なった青枠が表示されます。矢印は、箱の中身の幅と高さの両方が、埋め草(指定した文字と同じ大きさの余白を確保するために使われる空打
+ち文字)として適用されることを示しています。したがって、
\series bold
\backslash
phantom
\series default
-の作る文字は、箱の中身の文字の大きさを持つ空打ち文字となります。
+の作る文字は、箱の中身の文字の大きさを持つ埋め草となります。
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-Placeholders can also be used for text when it is inserted via the menu
-
+埋め草は、メニュー
\family sans
-Insert\SpecialChar \menuseparator
-Formatting\SpecialChar \menuseparator
-Phantom
+挿入\SpecialChar \menuseparator
+整形\SpecialChar \menuseparator
+埋め草
\family default
-:
+を使えば、以下のように本文中でも使用することができます。
\end_layout
\begin_layout Standard
-
-\lang english
-This is a sentence.
+これは本文です。
\begin_inset Newline newline
\end_inset
status open
\begin_layout Plain Layout
-
-\lang english
-This
+これは
\end_layout
\end_inset
- is a sentence.
+本文です。
\end_layout
\begin_layout Subsection
\begin_inset Newline newline
\end_inset
+
+\series default
というコマンドを用いて作成したふたつの例を例示します。
\end_layout
\begin_layout Standard
-\series bold
-\lang english
-
\backslash
-rule
-\series default
- can also be used for text when a line is inserted via the menu
+ruleは、メニュー
\family sans
-Insert\SpecialChar \menuseparator
-Formatting\SpecialChar \menuseparator
-Horizontal
-\begin_inset space ~
-\end_inset
-
-Line
+挿入\SpecialChar \menuseparator
+整形\SpecialChar \menuseparator
+水平線
\family default
-:
+を使っても、本文に挿入することができます。
\end_layout
\begin_layout Standard
-
-\lang english
-This is a sentence
+これは一行の
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
\end_inset
- with one line.
+文章です。
\end_layout
\begin_layout Subsection
\begin_layout Standard
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="2">
+<lyxtabular version="3" rows="9" columns="2">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
</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
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\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
+iddots
+\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 $\iddots$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset VSpace medskip
\end_inset
+
+\series bold
+
+\backslash
+iddots
+\series default
+を使うには、文書設定の
+\family sans
+数式オプション
+\family default
+にある
+\family sans
+mathdotsパッケージを(自動的に)使う
+\family default
+オプションのうちいずれかを有効にしなくてはなりません。
+\begin_inset Newline newline
+\end_inset
+
+
+\family sans
+mathdotsパッケージを使う
+\family default
+オプションを使用すると、文書中のフォント様式や寸法が既定値でないときのあらゆるドットの表示が改善されます。
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
とくに行列には、複数列にわたることのできる省略符号があります。これは、以下の書式を持つ
\series bold
dots
\series default
コマンドの2倍の点間距離を持つ省略符号を挿入しています。
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left(\begin{array}{cccc}
A & B & C & D\\
\hdotsfor[2]{4}\\
q & w & e & r
-\end{array}\right)\]
+\end{array}\right)
+\]
\end_inset
\end_layout
\begin_layout Standard
-のようになります。
+のようになります。点々を使う
\series bold
-点々を使う
+
\backslash
dotfill
\series default
数式\SpecialChar \menuseparator
行列
\family default
-メニューで挿入することができます。すると、行列の列数及び行数、さらに配置方法を尋ねられます。ここで垂直配置は、行内数式内の行列でのみ意味を持ちます。
-\lang english
-and the decoration
+メニューで挿入することができます。すると、行列の行数・列数・配置方法・装飾を尋ねられます。ここで垂直配置は、行内数式内の行列でのみ意味を持ちます。
\end_layout
\begin_layout Standard
\end_inset
-\lang english
-The
+\end_layout
+
+\begin_layout Standard
+
\family sans
-Decoration
+装飾
\family default
- adds parentheses in the selected style around the matrix.
- Alternatively, parentheses can can either be created with the
-\lang japanese
- 行列を囲む括弧は、
+は、行列の前後に選択した様式の括弧を加えます。他にも括弧は、
\series bold
\backslash
\end_inset
-ã\82³ã\83\9eã\83³ã\83\89ã\81§ä½\9cæ\88\90ã\81\99ã\82\8bã\81\93ã\81¨ã\81\8cできます(短絡キー
+ã\82³ã\83\9eã\83³ã\83\89ã\81§ä½\9cæ\88\90ã\81\99ã\82\8bã\81\93ã\81¨ã\82\82できます(短絡キー
\family sans
Alt+M
\begin_inset space ~
\end_inset
-Parenthesis
+括弧
\family default
)。第
\begin_inset CommandInset ref
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
\series bold
×
\series default
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-matrix
+2行列
\end_layout
\end_inset
などを挿入すると、青枠が二つの垂直線のあいだに現れるので、そこに行列を挿入することができます。
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ LaTeX limits the number of matrix columns with decorations to 10.
+ If you need more than 10
+\begin_inset space ~
+\end_inset
+
+columns, you have to add this line to the document preamble:
+\end_layout
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+
+\backslash
+setcounter{MaxMatrixCols}{number}
+\end_layout
+
+\begin_layout Plain Layout
+
+\lang english
+where
+\emph on
+number
+\emph default
+ is the number of columns between 11 and 99.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
)
\series default
というコマンドは
-\begin_inset Formula \[
-\ln(\frac{A}{C})\]
+\begin_inset Formula
+\[
+\ln(\frac{A}{C})
+\]
\end_inset
right)
\series default
というコマンドは
-\begin_inset Formula \[
-\ln\left(\frac{A}{C}\right)\]
+\begin_inset Formula
+\[
+\ln\left(\frac{A}{C}\right)
+\]
\end_inset
というコマンドは
\series bold
-\begin_inset Formula \[
-\left.\frac{A}{B}\right\} \]
+\begin_inset Formula
+\[
+\left.\frac{A}{B}\right\}
+\]
\end_inset
+
+\series default
を生成します。
+\series bold
+
\backslash
left
\series default
\end_inset
。このコマンドでは、物理ベクトル
-\begin_inset Formula \[
-\left\langle \phi\:\biggm|\: J=\frac{3}{2}\,,\, M_{J}\right\rangle \]
+\begin_inset Formula
+\[
+\left\langle \phi\:\biggm|\: J=\frac{3}{2}\,,\, M_{J}\right\rangle
+\]
\end_inset
\end_inset
節に説明されているように、次のような多行数式を使わなくてはなりません。
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \underbrace{gggg+bbqq}_{r}+\: dddd\\
& & \hphantom{gggg+\:}\underbrace{\hphantom{bbqq+dddd}}_{s}
\end{eqnarray*}
に関する詳細は、第
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:空打ち文字"
+reference "sub:埋め草"
\end_inset
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
& & \hphantom{gggg+\:}\overbrace{\hphantom{bbqq+dddd}}^{s}\\
A & = & \underbrace{gggg+bbqq}_{r}+\: dddd
\end{eqnarray*}
\begin_layout Plain Layout
+\series bold
+
\backslash
-texorpdfstringは、PDFのしおりに脚注が現れるのを防ぐために使われています。
+texorpdfstring
+\series default
+は、PDFのしおりに脚注が現れるのを防ぐために使われています。
\end_layout
\begin_layout Plain Layout
+\series bold
+
\backslash
-texorpdfstringについての詳細は、第
+texorpdfstring
+\series default
+についての詳細は、第
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:節見出し中の数式"
n
\series default
というコマンドを入力すると、
-\begin_inset Formula \[
-\sideset{}{'}\sum_{k=1}^{n}\]
+\begin_inset Formula
+\[
+\sideset{}{'}\sum_{k=1}^{n}
+\]
\end_inset
a
\series default
というコマンドならば、
-\begin_inset Formula \[
-\overset{a}{\maltese}\]
+\begin_inset Formula
+\[
+\overset{a}{\maltese}
+\]
\end_inset
widehat
\series default
のアクセントは、以下の例のように、出力では3文字分の長さにしかなりません。
-\begin_inset Formula \[
-\widetilde{A+B=C-D}\]
+\begin_inset Formula
+\[
+\widetilde{A+B=C-D}
+\]
\end_inset
***
\series default
というコマンドは、
-\begin_inset Formula \[
-\underset{***}{A=B}\]
+\begin_inset Formula
+\[
+\underset{***}{A=B}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-\boxed{A+B=C}\]
+\begin_inset Formula
+\[
+\boxed{A+B=C}
+\]
\end_inset
\begin_layout Standard
\color red
-\begin_inset Formula \begin{equation}
-\int A=B\label{eq:red}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\int A=B\label{eq:red}
+\end{equation}
\end_inset
\color green
-\begin_inset Formula \begin{equation}
-\textcolor{red}{\int A=B}\label{eq:redgreen}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\textcolor{red}{\int A=B}\label{eq:redgreen}
+\end{equation}
\end_inset
\series bold
\backslash
-frameboxと同様に、縁の厚みは
+framebox
+\series default
+と同様に、縁の厚みは
+\series bold
+
\backslash
fboxrule
\series default
\end_inset
-\begin_inset Formula \[
-\fcolorbox{cyan}{magenta}{A=B}\]
+\begin_inset Formula
+\[
+\fcolorbox{cyan}{magenta}{A=B}
+\]
\end_inset
darkgreen
\series default
という色を持つ縁付きボックスを挙げておきます。
-\begin_inset Formula \begin{equation}
-\colorbox{darkgreen}{\color{yellow}\boxed{\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\colorbox{darkgreen}{\color{yellow}\boxed{\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}
+\end{equation}
\end_inset
parbox
\series default
を使う利点は、数式テキストモードを使用して「コメントを付けた」以下の例と比較すると、よくわかるでしょう。
-\begin_inset Formula \[
-5x-7b=3b\textrm{これは説明です。数式本体から離れていません...}\]
+\begin_inset Formula
+\[
+5x-7b=3b\textrm{これは説明です。数式本体から離れていません...}
+\]
\end_inset
\begin_layout Standard
既定の範囲形式は、以下のようになっています。
-\begin_inset Formula \[
-\sum_{x=0}^{\infty}\frac{1}{x^{2}}\]
+\begin_inset Formula
+\[
+\sum_{x=0}^{\infty}\frac{1}{x^{2}}
+\]
\end_inset
\family default
\series default
に変更したときの表示です。
-\begin_inset Formula \[
-\sum\nolimits _{x=0}^{\infty}\frac{1}{x^{2}}\]
+\begin_inset Formula
+\[
+\sum\nolimits _{x=0}^{\infty}\frac{1}{x^{2}}
+\]
\end_inset
別行建て形式
\series default
にして積分記号の下に置くようにしています。
-\begin_inset Formula \begin{equation}
-\iiint\limits _{V}X\,\mathrm{d}V=U\label{eq:VolInt}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\iiint\limits _{V}X\,\mathrm{d}V=U\label{eq:VolInt}
+\end{equation}
\end_inset
\end_inset
コマンドを使用します。たとえば、以下の表記
-\begin_inset Formula \begin{equation}
+\begin_inset Formula
+\begin{equation}
\sum_{\begin{subarray}{c}
0<k<1000\\
\\
k\,\in\,\mathbb{N}
-\end{subarray}}^{n}k^{-2}\label{eq:substack}\end{equation}
+\end{subarray}}^{n}k^{-2}\label{eq:substack}
+\end{equation}
\end_inset
\begin_layout Standard
を使用して下限を作成することになります。これによって、足される要素は、和演算子の直後に来ることになります。
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\sum_{\mathclap{\substack{0<k<1000\\
\\
k\,\in\,\mathbb{N}
}
-}}^{n}k^{-2}\]
+}}^{n}k^{-2}
+\]
\end_inset
Lozenge
\series default
を定義します。
-\begin_inset Formula \[
-\Lozenge_{n=1}^{\infty}\]
+\begin_inset Formula
+\[
+\Lozenge_{n=1}^{\infty}
+\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\mathop{\sum\negmedspace\sum}_{i,j=1}^{N}\]
+\begin_inset Formula
+\[
+\mathop{\sum\negmedspace\sum}_{i,j=1}^{N}
+\]
\end_inset
\begin_layout Standard
書体様式コマンドは、以下のように数式構成要素内の文字に対しても機能します。
-\begin_inset Formula \[
-\mathfrak{A=\frac{b}{C}}\]
+\begin_inset Formula
+\[
+\mathfrak{A=\frac{b}{C}}
+\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{\textbackslash mathbfを使用した数式}\]
+\begin_inset Formula
+\[
+\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{\textbackslash mathbfを使用した数式}
+\]
\end_inset
boldsymbol
\series default
コマンドを使用します。
-\begin_inset Formula \[
-\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{\textbackslash boldsymbolを使用した数式}}\]
+\begin_inset Formula
+\[
+\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{\textbackslash boldsymbolを使用した数式}}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{boldmath環境に置いた数式}\]
+\begin_inset Formula
+\[
+\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{boldmath環境に置いた数式}
+\]
\end_inset
\begin_layout Standard
数式も、通常の本文と同様、色を付けることができます。数式あるいは数式の一部を選択して、文字様式ダイアログを使用して下さい。下記は、マゼンタ色にした数式です。
-\begin_inset Formula \[
-{\color{magenta}\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}\]
+\begin_inset Formula
+\[
+{\color{magenta}\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-\int A\,\mathrm{d}x=\frac{{\color{red}\sqrt[5]{B}}}{\ln\left(\frac{1}{3}\right)}\]
+\begin_inset Formula
+\[
+\int A\,\mathrm{d}x=\frac{{\color{red}\sqrt[5]{B}}}{\ln\left(\frac{1}{3}\right)}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-A=\frac{B}{c}\cdot\maltese\]
+\begin_inset Formula
+\[
+A=\frac{B}{c}\cdot\maltese
+\]
\end_inset
-\begin_inset Formula \[
-\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}}\]
+\begin_inset Formula
+\[
+\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}}
+\]
\end_inset
\end_inset
-からでも挿入することができます。
+からでも挿入することができます。各国の組版規則では、数式内のギリシャ文字はどれもイタリック体か斜体で組版されなくてはならないことになっていますが、フランス語やロ
+シア語などいくつかの言語では、それにもかかわらず立体で組版されることがあります。
\end_layout
\begin_layout Subsection
\begin_inset VSpace medskip
\end_inset
-大文字のギリシャ文字がアップライト体で表示されるのは、TeXの開発途上に生じたデザイン上のバグによるものです。正しいイタリック体の大文字を得るためには、各コマン
-ドの頭に
+大文字のギリシャ文字が立体で表示されるのは、TeXの開発途上に生じたデザイン上のバグによるものです。正しいイタリック体の大文字を得るためには、各コマンドの頭に
\series bold
var
\series default
\begin_inset Formula $\varGamma$
\end_inset
-を生成します。
+を生成します。もう一つの方法は、パッケージ
+\series bold
+fixmath
+\series default
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\series bold
+fixmath
+\series default
+は、LaTeXパッケージ
+\series bold
+was
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! was
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+に含まれています。
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! fixmath
+\end_layout
+
+\end_inset
+
+をLaTeXプリアンブル行に
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{fixmath}
+\end_layout
+
+\begin_layout Standard
+と書いて読み込む方法です。すると、文書中の大きなギリシャ文字は、すべて自動的にイタリック体として組版されます。
\end_layout
\begin_layout Subsection
\begin_layout Standard
別行建て数式では、極限は、以下のように通常どおり下に置かれます。
-\begin_inset Formula \[
-\lim_{x\to A}x=B\]
+\begin_inset Formula
+\[
+\lim_{x\to A}x=B
+\]
\end_inset
\begin_layout Standard
以下は、別行建て数式での派生型です。
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
\underline{\textrm{コマンド}\raisebox{-0.9mm}{}} & & \underline{\textrm{出力}}\\
\mathrm{a\backslash mod\textrm{\spce}b} & & a\mod b\\
\mathrm{a\backslash pmod\textrm{\spce}b} & & a\pmod b\\
\begin_layout Standard
行内数式では、すべての派生型で、関数名の前の余白がすこし小さく設定されます。
+\lang english
+By default the modulo-functions take only the first following character
+ into account.
+ To use more than one character, one has to put them into TeX-braces:
+\begin_inset Formula
+\begin{align*}
+\underline{\textrm{Command}\raisebox{-0.9mm}{}} & & \underline{\textrm{Result}}\\
+\mathrm{a\backslash pod\textrm{\spce}bcd} & & a\pod bcd\\
+\mathrm{a\backslash pod\backslash\{bc\to d} & & a\pod{bc}d
+\end{align*}
+
+\end_inset
+
+
\end_layout
\begin_layout Section
align環境
\series default
が作り出されることになります。
+\lang english
+The align environment is recommended because it provides in any case a typograph
+ically correct output.
\end_layout
\begin_layout Standard
\begin_layout Standard
以下のように、多行数式において行のあいだの空白が足りないことが、ときどき起こります。
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \textrm{-}4x^{2}B^{2}+4x_{0}xB^{2}\\
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right) & = & 0
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \textrm{-}4x^{2}B^{2}+4x_{0}xB^{2}\\
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right) & = & 0
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & B\\
C & \ne & A
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & B\\
C & \ne & A
\end{eqnarray*}
\begin_layout Itemize
左辺ないし右辺の一方が、行幅よりもかなり短いときには、以下のように、短い方を左辺に置き、右辺を二行に分けて組版します。
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
H & = & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{1}}\Delta_{1}-\frac{\hbar^{2}}{2m_{2}}\Delta_{2}-\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{1}|}\nonumber \\
& & -\hspace{3pt}\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{2}|}+\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{R}_{1}-\mathbf{R}_{2}|}\label{eq:shortlong}
\end{eqnarray}
\end_inset
コマンドを使います。これを最初の行の第一列に入れると、以下のように、続きの内容が他の列にかかって表示されます。
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
\lefteqn{4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}}\nonumber \\
& & -\hspace{3pt}B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}\nonumber \\
& & =B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}\label{eq:lefteqn}
\begin_layout Standard
多行にわたる括弧を作ろうとすると、以下のような問題が生じます。
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \sin(x)\left[\prod_{R=1}^{\infty}\frac{1}{R}+\cdots\right.\\
& & \left.\cdots+B-D\right]
\end{eqnarray*}
\begin_layout Standard
その結果が以下の数式です。
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \sin(x)\left[\prod_{R=1}^{\infty}\frac{1}{R}+\cdots\right.\\
& & \left.\vphantom{\prod_{R=1}^{\infty}}\cdots+B-D\right]
\end{eqnarray*}
\begin_layout Standard
以下は、二つの数式を横に並べた例ですが、これは4列からなるalign環境として作ります。
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
A & =\sin(B) & C & =D\\
C & \ne A & B & \ne D
\end{align*}
\end_inset
cmの空白を入れたものです。
-\begin_inset Formula \begin{alignat*}{2}
+\begin_inset Formula
+\begin{alignat*}{2}
A & =\sin(B) & \hspace{1cm}C & =D\\
C & \ne A & B & \ne D
\end{alignat*}
\begin_layout Standard
この環境では、つねに、最初の二列をできるだけ左寄せにし、最後の二列をできるだけ右寄せにするように設定されます。以下がその例です。
-\begin_inset Formula \begin{flalign*}
+\begin_inset Formula
+\begin{flalign*}
A & =1 & B & =2 & C & =3\\
X & =\textrm{-}1 & Y & =\textrm{-}2 & Z & =4
\end{flalign*}
\end_inset
式を行頭下げにしたものです。
-\begin_inset Formula \begin{flalign}
-\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}\end{flalign}
+\begin_inset Formula
+\begin{flalign}
+\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}
+\end{flalign}
\end_inset
\begin_layout Standard
この環境を作成すると、三つの青枠が現れます。最初の枠の内容は右寄せに設定され、最後の枠の内容は左寄せに設定されます。中央の枠は、関係子のみを入れることを想定して
いるので、その内容は中央揃えで少し小さく設定されます。
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
\frac{ABC}{D} & \frac{ABC}{D} & \frac{ABC}{D}\\
AB & AB & AB\\
A & = & A
\begin_layout Standard
この環境には、中央揃えに設定された列一つしかありません。行はすべて付番することができます。
-\begin_inset Formula \begin{gather}
+\begin_inset Formula
+\begin{gather}
A=1\\
X=\textrm{-}1
\end{gather}
\end_inset
式をmultline環境に置いたものを示します。
-\begin_inset Formula \begin{multline}
+\begin_inset Formula
+\begin{multline}
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}\\
-B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}\\
=B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}
\end_inset
-\begin_inset Formula \begin{multline}
+\begin_inset Formula
+\begin{multline}
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}\\
\shoveleft{-B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}\\
=B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}
ed
\series default
を省いた同名の多行数式環境と同じ性格を持ちますが、環境の前後に数式を続けることが可能です。たとえば、
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left.\begin{aligned}\Delta x\Delta p & \ge\frac{\hbar}{2}\\
\Delta E\Delta t & \ge\frac{\hbar}{2}
\end{aligned}
-\right\} \textrm{不確定性原理}\]
+\right\} \textrm{不確定性原理}
+\]
\end_inset
\end_inset
式にaligned環境を適用したものを示します。
-\begin_inset Formula \begin{equation}
+\begin_inset Formula
+\begin{equation}
\begin{aligned}H=\; & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{1}}\Delta_{1}-\frac{\hbar^{2}}{2m_{2}}\Delta_{2}-\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{1}|}\\
& -\hspace{3pt}\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{2}|}+\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{R}_{1}-\mathbf{R}_{2}|}
\end{aligned}
intertext
\series default
は行頭になくてはならず、当該行の上に出力されます。以下は、二行めの行頭にテキストを入れた例です。
-\begin_inset Formula \begin{align}
+\begin_inset Formula
+\begin{align}
I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
\intertext{\text{integrand is symmetric to \ensuremath{\phi=\pi}, therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
\end{align}
\end_inset
-で付けることができます。このとき、カーソルは別行建て数式の中になくてはなりません。すると、テキストフィールドの中に
+で付けることができます。このとき、カーソルは別行建て数式の中になくてはなりません。
+\lang english
+Alternatively you can right-click on the formula and choose
+\family sans
+Equation Label
+\family default
+.
+\lang japanese
+すると、テキストフィールドの中に
\series bold
eq:と
\series default
挿入\SpecialChar \menuseparator
ラベル
\family default
-メニューをもういちど使って下さい。
+メニューをもういちど使って下さい
+\lang english
+or you right-click on a formula and then on
+\family sans
+Equation Label
+\family default
+\lang japanese
+。
\end_layout
\begin_layout Standard
\begin_layout Standard
たとえば、
-\begin_inset Formula \begin{equation}
-A=C-B\label{eq:a}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A=C-B\label{eq:a}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-B=C-A\label{eq:b}\end{equation}
+\begin_inset Formula
+\begin{equation}
+B=C-A\label{eq:b}
+\end{equation}
\end_inset
-\begin_inset Formula \begin{equation}
-C=A+B\label{eq:c}\end{equation}
+\begin_inset Formula
+\begin{equation}
+C=A+B\label{eq:c}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
A & = & (B-Z)^{2}=(B-Z)(B-Z)\label{eq:d}\\
& = & B^{2}-ZB-BZ+Z^{2}\nonumber \\
& = & B^{2}-2BZ+Z^{2}\label{eq:f}
\end_inset
コマンドを使います。
-\begin_inset Formula \begin{equation}
-A+B=C\tag{何とかかんとか}\label{eq:tag}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A+B=C\tag{何とかかんとか}\label{eq:tag}
+\end{equation}
\end_inset
何とかかんとか
\series default
というコマンドを使うと、星印は表現の周りの括弧を抑制するので、以下のようになります。
-\begin_inset Formula \[
-A+B=C\tag*{something}\]
+\begin_inset Formula
+\[
+A+B=C\tag*{something}
+\]
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-A+B=C\end{equation}
+\begin_inset Formula
+\begin{equation}
+A+B=C
+\end{equation}
\end_inset
\begin_layout Plain Layout
\series bold
+\color none
(注意)
\series default
ラテン文字を使うと、一つの文書の中で、最大26個の数式しか番号を振ることができません。
\end_layout
\begin_layout Standard
-\begin_inset Formula \begin{equation}
-A=\textrm{小文字ローマ数字}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A=\textrm{小文字ローマ数字}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-B=\textrm{大文字ローマ数字}\label{eq:Rom}\end{equation}
+\begin_inset Formula
+\begin{equation}
+B=\textrm{大文字ローマ数字}\label{eq:Rom}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-C=\textrm{小文字ラテン文字}\end{equation}
+\begin_inset Formula
+\begin{equation}
+C=\textrm{小文字ラテン文字}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-D=\textrm{大文字ラテン文字}\label{eq:Lat}\end{equation}
+\begin_inset Formula
+\begin{equation}
+D=\textrm{大文字ラテン文字}\label{eq:Lat}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-E=\textrm{アラビア数字}\end{equation}
+\begin_inset Formula
+\begin{equation}
+E=\textrm{アラビア数字}
+\end{equation}
\end_inset
\end_inset
を形成します。この化学式は以下のようになります。
-\begin_inset Formula \begin{equation}
-\mathrm{2\, Na^{+}+SO_{4}^{2-}\longrightarrow Na_{2}SO_{4}}\label{eq:chem-reaction}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\mathrm{2\, Na^{+}+SO_{4}^{2-}\longrightarrow Na_{2}SO_{4}}\label{eq:chem-reaction}
+\end{equation}
\end_inset
\begin_layout Plain Layout
\series bold
+\color none
【註】
\backslash
ce
\end_inset
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\color none
+\lang english
+Note:
+\series default
+ It is not possible in LyX to use the character ^ to get an up-arrow as
+ described in the
+\series bold
+mhchem
+\series default
+ manual.
+ One instead uses a negative thin space followed by the command
+\series bold
+
+\backslash
+uparrow
+\series default
+:
+\begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
コマンドを使用します。
\begin_inset CommandInset ref
LatexCommand eqref
-reference "eq:TEOS反応1"
+reference "eq:TEOS-reaction-1"
\end_inset
式と
\begin_inset CommandInset ref
LatexCommand eqref
-reference "eq:TEOS反応2"
+reference "eq:TEOS-reaction-2"
\end_inset
式は、多段化学反応式の例で、一つの式毎に番号が振られています。
-\begin_inset Formula \begin{eqnarray}
-\ce{TEOS + 4O} & \ce{->} & \ce{Si(OH)4 + 4C2H4O}\label{eq:TEOS=00003D00003D0053CD=00003D00003D005FDC1}\\
-\ce{Si(OH)4} & \ce{->} & \ce{SiO2 + 2H2O}\label{eq:TEOS=00003D00003D0053CD=00003D00003D005FDC2}
+\begin_inset Formula
+\begin{eqnarray}
+\ce{TEOS + 4O} & \ce{->} & \ce{Si(OH)4 + 4C2H4O}\label{eq:TEOS-reaction-1}\\
+\ce{Si(OH)4} & \ce{->} & \ce{SiO2 + 2H2O}\label{eq:TEOS-reaction-2}
\end{eqnarray}
\end_inset
\begin_layout Standard
この型の図解は、以下のように、関係を縦横の線や矢印で図示します。
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\begin{CD}A@>>>B@>>>C\\
@AAA@.@VVV\\
F@<<<E@<<<D
-\end{CD}\]
+\end{CD}
+\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\begin{CD}A@>j>>B@>>k>C@=F\\
@AmAA@.@VV{V}V@|\\
D@<<j<E@>k>>F@=C
-\end{CD}\]
+\end{CD}
+\]
\end_inset
\end_layout
\begin_layout Subsection
-
-\noun on
-\lang english
-Feynman
-\noun default
- Diagrams
-\lang japanese
+ファインマン・ダイアグラム
+\series medium
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-ずかい@図解 ! Feynman
+ずかい@図解 ! ファインマン
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-
-\lang english
-To be able to use
-\noun on
-Feynman
-\noun default
--diagrams, the LaTeX-package
+ファインマン・ダイアグラムを使うには、LaTeXパッケージ
\series bold
feyn
\series default
- must be installed.
- A
-\noun on
-Feynman
-\noun default
--diagram is created by inserting the command
+を導入しておかなくてはなりません。すると、ファインマン・ダイアグラムは、数式中で
\series bold
\backslash
Diagram
\series default
- in a formula.
- Then you are able to add new matrix columns and rows like for normal matrices,
- see
-\lang japanese
-
+コマンドを挿入すれば生成されます。通常の行列で行うのと同じようにして新規行や新規列を加えることができます(第
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:行列"
\end_inset
-.
+節参照)。
\end_layout
\begin_layout Standard
-
-\lang english
-Examples how to create
-\noun on
-Feynman-
-\noun default
-diagrams in LyX is given in the
-\emph on
-Feynman-diagram manual
-\emph default
- that you find in the menu
+LyXでのファインマン・ダイアグラムの作り方は、メニュー
\family sans
-Help\SpecialChar \menuseparator
-Specific
-\begin_inset space ~
-\end_inset
-
-Manuals
+ヘルプ\SpecialChar \menuseparator
+用途別説明書
\family default
-.
+内の『
+\emph on
+ファインマン・ダイアグラム
+\emph default
+』にあります。
\end_layout
\begin_layout Standard
\begin_layout Standard
ユーザー定義コマンドは、複雑な表現を使うときに特に便利です。たとえば、文書中で二次方程式を扱っているとすると、同じような解の形が何度も出てきます。二次方程式の一
般型は、
-\begin_inset Formula \[
-0=\lambda^{2}+p\lambda+q\]
+\begin_inset Formula
+\[
+0=\lambda^{2}+p\lambda+q
+\]
\end_inset
であり、その解の一般型は
-\begin_inset Formula \[
-\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}\]
+\begin_inset Formula
+\[
+\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}
+\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\qG x{\ln(x)}B\]
+\begin_inset Formula
+\[
+\qG x{\ln(x)}B
+\]
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-remove-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-add-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-make-optional.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-make-nonoptional.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-remove-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-add-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-remove-greedy-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-append-greedy-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename ../../images/math-macro-add-greedy-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
rotateOrigin center
\end_inset
\end_layout
+\begin_layout Section
+
+\lang english
+Computer Algebra Systems
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+LyX offers the exchange between mathematical expressions written in LyX's
+ math editor and external applications or user defined scripts.
+ Currently supported applications are
+\family sans
+Maple
+\family default
+,
+\family sans
+Mathematica
+\family default
+,
+\family sans
+Maxima
+\family default
+ and
+\family sans
+Octave
+\family default
+.
+ Note that the set of supported mathematical constructs is limited only
+ to very simple cases.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Usage
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Write some expression in a formula, go to the
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Use Computer Algebra System
+\family default
+ menu and choose the application you have installed on the computer.
+ After that the result of computation should show on the right side of the
+ expression together with the
+\begin_inset Quotes eld
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+ operator.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here are few simple examples (with results from
+\family typewriter
+Maxima
+\family default
+) to show what kind of computations can be performed:
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\det\left[\begin{array}{ccc}
+1 & 6 & 7\\
+2 & 5 & 8\\
+3 & 4 & 17
+\end{array}\right]=-56$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Keyboard shortcut
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Currently there is no keyboard shortcut for calling the algebra applications.
+ One can easily bind a shortcut to the
+\family sans
+math-extern
+\family default
+ LyX function (see the
+\family sans
+\emph on
+LyX Functions
+\family default
+\emph default
+ manual).
+ One could e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+bind the
+\family sans
+Return
+\family default
+ key inside the math editor.
+ To bind it to
+\family typewriter
+Maxima
+\family default
+ one would use this shortcut definition command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+command-alternatives break-paragraph;math-extern maxima
+\end_layout
+
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
Braket
\series default
コマンドを使うと、以下のように、すべての縦棒がそれを囲む括弧と同じ大きさに設定されます。
-\begin_inset Formula \[
-\Braket{\phi|J=\frac{3}{2}\,,\, M_{J}}\]
+\begin_inset Formula
+\[
+\Braket{\phi|J=\frac{3}{2}\,,\, M_{J}}
+\]
\end_inset
\begin_layout Standard
以下は、そのテストです。
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
\text{コマンド} & & \mathrm{\backslash fracS[1mm]\backslash\{A\to\backslash\{B} & & \mathrm{\backslash fracS[5mm]\backslash\{A\to\backslash\{B}\\
\text{出力} & & \fracS[1mm]{A}{B} & & \fracS[5mm]{A}{B}
\end{align*}
\series bold
\backslash
-usepackage[samesize]{cancel}
+usepackage{cancel}
\end_layout
\begin_layout Standard
cancelto
\series default
は、以下のように、とくに数式中の分数を約分を表示するのに適しています。
-\begin_inset Formula \[
-\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}\]
+\begin_inset Formula
+\[
+\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}
+\]
\end_inset
\end_layout
+\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 load the package
+\series bold
+cancel
+\series default
+ with either the option
+\series bold
+samesize
+\series default
+ which leads to the same size as for the canceled value or with the option
+
+\series bold
+Smaller
+\series default
+ which makes is it a bit smaller than the size one gets without using a
+ package option.
+ In this document
+\series bold
+cancel
+\series default
+ was loaded with this line:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[samesize]{cancel}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To color the cancellation bar one adds this command as TeX code:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+red
+\series default
+ can be replaced by a color of your choice.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\[
+\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{black}}
+\end_layout
+
+\end_inset
+
+
+\lang english
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+reset the color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For further customizations, see the documentation of the package
+\lang japanese
+
+\series bold
+cancel
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "cancel"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Subsection
節見出し中の数式
\begin_inset CommandInset label
\end_inset
-\begin_inset Formula \begin{equation}
-S(t)=S_{0}(t)\int_{-\infty}^{\infty}P(\phi,t)\mathrm{e}^{\mathrm{i}\phi}\,\mathrm{d}\phi\end{equation}
+\begin_inset Formula
+\begin{equation}
+S(t)=S_{0}(t)\int_{-\infty}^{\infty}P(\phi,t)\mathrm{e}^{\mathrm{i}\phi}\,\mathrm{d}\phi
+\end{equation}
\end_inset
\end_inset
式には5列があり、最初の2列には数式、3列めには行列、最終列には空のTeX括弧が入っています。
-\begin_inset Formula \begin{flalign}
+\begin_inset Formula
+\begin{flalign}
\hspace{30pt}F_{A} & =\rho·V·g & \footnotesize\begin{array}{ll}
\rho & \textrm{density}\\
V & \textrm{volume}\\
g & \textrm{gravitational acceleration}
-\end{array} & & {}\label{eq:within}\end{flalign}
+\end{array} & & {}\label{eq:within}
+\end{flalign}
\end_inset
\begin_layout Standard
これらのコマンドを使えば、以下のような素粒子の反応を組版することができるようになります。
-\begin_inset Formula \[
-\uppi^{+}\to\upmu^{+}+\upnu_{\upmu}\]
+\begin_inset Formula
+\[
+\uppi^{+}\to\upmu^{+}+\upnu_{\upmu}
+\]
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "TLC2"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Mathmode"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Voss"
-
-\end_inset
-
-LaTeXの技と秘訣の
-\begin_inset CommandInset href
-LatexCommand href
-name "ページ"
-target "http://tug.org/TeXnik/"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "AMS"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Symbols"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "cancel"
+
+\end_inset
+
+LaTeX
+\series bold
+cancel
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! cancel
+\end_layout
+
+\end_inset
+
+パッケージの
+\begin_inset CommandInset href
+LatexCommand href
+name "取扱説明書"
+target "http://mirrors.ctan.org/macros/latex/contrib/cancel/cancel.pdf"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hyperref"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "mhchem"
+
+\end_inset
+
+LaTeX
+\series bold
+mhchem
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! mhchem
+\end_layout
+
+\end_inset
+
+パッケージの
+\begin_inset CommandInset href
+LatexCommand href
+name "取扱説明書"
+target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Mathclap"
\end_layout
\begin_layout Bibliography
-\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Duden"
Auflage, Duden 2001
\end_layout
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "Checklist"
+
+\end_inset
+
+原稿見直しの
+\begin_inset CommandInset href
+LatexCommand href
+name "チェックリスト"
+target "http://physics.nist.gov/Document/checklist.pdf"
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsubsection*
\begin_inset CommandInset index_print
LatexCommand printindex