\use_package cancel 0
\use_package esint 1
\use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\lang japanese
\backslash
-mathclap
+smashoperator
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-こまんど@コマンド ! M !
+こまんど@コマンド ! S !
\backslash
-mathclap
+smashoperator
\end_layout
\end_inset
\lang english
can be used.
- It sets the width of its content to 0
+ To activate it, set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\lang japanese
+
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! mathtools
+\end_layout
+
+\end_inset
+
+
+\lang english
+the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+
+\series bold
+
+\backslash
+smashoperator
+\series default
+ sets the space besides the operator to 0
\begin_inset space \thinspace{}
\end_inset
\series bold
\backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
+smashoperator{
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
+\lang japanese
+
+\begin_inset Formula
+\[
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
+\\
+k\,\in\,\mathbb{N}
+\end{subarray}}^{n}}k^{-2}
+\]
-0
-\begin_inset Formula $\boldsymbol{<}$
\end_inset
-k
-\begin_inset Formula $\boldsymbol{<}$
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
\end_inset
-1000 Ctrl+Return
+pt.
+ To do this write either
+\series bold
+[l]
+\series default
+ or
+\series bold
+[r]
+\series default
+ between
+\series bold
+
+\backslash
+smashoperator
+\series default
+ and its brace.
+
+\series bold
+l
+\series default
+ stands for the left and
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible
+\series bold
+
+\backslash
+smashoperator
+\series default
+ forms:
\end_layout
\begin_layout Standard
-を使用して下限を作成することになります。これによって、足される要素は、和演算子の直後に来ることになります。
\begin_inset Formula
\[
-\sum_{\mathclap{\substack{0<k<1000\\
-\\
-k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+Y\smashoperator{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
\]
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The characters ^ and _ would normally create a subscript and subscript,
+ respectively.
+ To get these characters you have to insert them with a leading
+\backslash
+:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\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 $\mathcircumflex$
+\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_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 $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
のようになります。
\end_layout
-\begin_layout Subsection
-他の特殊文字
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:他の特殊文字"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-とくしゅもじ@特殊文字 ! たの@他の
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-以下の各文字は、数式中でコマンドを使用してのみ、挿入することができます。
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<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" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\backslash
-^
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-
-\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 $\mathcircumflex$
-\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
-_
-\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 $\_$
-\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
-^
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-
-\backslash
-circ
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-
-\backslash
-@°
-\end_layout
-
-\end_inset
-
-
-\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 $^{\circ}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-しかしながら、角度記号
-\begin_inset Formula $^{\circ}$
-\end_inset
-
-は、以下の行をLaTeXプリアンブルに書き加えれば、直接挿入することができます
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-この件に関する詳細は、第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:数式中のテキスト文字"
-
-\end_inset
-
-節にあります。
-\end_layout
-
-\end_inset
-
-。
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-DeclareInputtext{176}{
-\backslash
-ifmmode^
-\backslash
-circ
-\backslash
-else
-\backslash
-textdegree
-\backslash
-fi}
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
数式様式
\begin_inset CommandInset label
\begin_layout Subsubsection
-\lang english
Multiline Fractions
\begin_inset CommandInset label
LatexCommand label
\end_inset
-\lang japanese
\begin_inset Index idx
status open
\begin_layout Subsection
数式中のテキスト文字
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:数式中のテキスト文字"
-
-\end_inset
-
-
\begin_inset Index idx
status collapsed
i}
\end_layout
+\begin_layout Subsection
+
+\lang english
+LaTeX-comments in formulas
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In text you can insert a comment that will only be visible in the LaTeX
+ source code of your file with the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Note\SpecialChar \menuseparator
+Comment
+\family default
+.
+ This is not possible in a formula but you can insert LaTeX-comments with
+ the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+%
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+This creates a box in which you can write your comment.
+ Due to a bug in LyX
+\lang japanese
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-bug #9002"
+target "http://www.lyx.org/trac/ticket/9002"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\lang english
+you cannot write normal text into the comment, even when you use mathematical
+ text, you will see its LaTeX-commands in the LaTeX-output.
+\begin_inset Newline newline
+\end_inset
+
+This a formula with a LaTeX-comment:
+\lang japanese
+
+\begin_inset Formula
+\[
+A=B%\text{This is the comment}
+\]
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_inset
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:演算子の範囲"
-
-\end_inset
-
-節に述べられている
-\series bold
-
-\backslash
-mathclap
-\series default
-コマンドの
-\begin_inset CommandInset href
-LatexCommand href
-name "説明"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-こまんど@コマンド ! M !
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Bibliography