]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/ja/Math.lyx
Math.lyx: describe command \adjustlimits
[lyx.git] / lib / doc / ja / Math.lyx
index c99daa0a8852837f2f84e9b9ccf7401eb6692a6f..fb2341ff2e4cf8804db0ab3eca399095f468e93e 100644 (file)
 % example macro from sec. 19.4
 %\def\tagform@#1{\maketag@@@{|#1|}}
 
-% macro from sec. 10.2
-\def\clap#1{\hbox to 0pt{\hss #1\hss}}
-\def\mathclap {\mathpalette \mathclapinternal}
-\def\mathclapinternal #1#2{\clap{$\mathsurround =0pt #1{#2}$}}
-
 
 % ------------------------------------
 % used to check for needed LaTeX packages
 % used for the command \utilde
 \newboolean{undertilde}
 \IfFileExists{undertilde.sty}
- {\setboolean{undertilde}{true}}
+ {\usepackage{undertilde}
+  \setboolean{undertilde}{true}}
  {\setboolean{undertilde}{false}}
 
 % check for package eurosym
 % check for package cancel
 \newboolean{cancel}
 \IfFileExists{cancel.sty}
- {\setboolean{cancel}{true}}
+ {\usepackage{cancel}
+  \setboolean{cancel}{true}}
  {\setboolean{cancel}{false}}
 
 % needed in sec. 22.10
@@ -221,14 +218,14 @@ End
 \use_geometry true
 \use_package amsmath 2
 \use_package amssymb 2
-\use_package cancel 1
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
-\use_package undertilde 1
+\use_package undertilde 0
 \cite_engine basic
 \cite_engine_type default
 \biblio_style plain
@@ -10282,17 +10279,13 @@ Space
 \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
@@ -10301,6 +10294,30 @@ Space
 
 \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
 
@@ -10315,6 +10332,29 @@ Space
 <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
@@ -10326,6 +10366,29 @@ Space
 <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
@@ -10337,6 +10400,29 @@ Space
 <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
@@ -10348,6 +10434,29 @@ quad
 <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
@@ -10356,20 +10465,54 @@ qquad
 
 \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
@@ -10382,20 +10525,24 @@ Space
 
 \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
@@ -10404,16 +10551,32 @@ Space
 \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
@@ -10422,7 +10585,7 @@ Space
 \begin_inset Text
 
 \begin_layout Plain Layout
-4
+6
 \end_layout
 
 \end_inset
@@ -10431,39 +10594,41 @@ Space
 \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
 
 
@@ -10471,11 +10636,16 @@ Space
 
 \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
 
 
@@ -10483,11 +10653,20 @@ Space
 
 \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
 
 
@@ -10495,14 +10674,24 @@ Space
 
 \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
@@ -10528,7 +10717,30 @@ Space
 \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
 
@@ -10591,7 +10803,7 @@ Space
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+10
 \end_layout
 
 \end_inset
@@ -10600,7 +10812,7 @@ Space
 \begin_inset Text
 
 \begin_layout Plain Layout
-7
+11
 \end_layout
 
 \end_inset
@@ -10767,6 +10979,15 @@ f_kl
 \end_layout
 
 \begin_layout Standard
+\noindent
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
 イコール記号などの関係子は、つねに空白を前後に伴うようになっていますが、これを抑制するには、イコール記号をTeX括弧で囲みます。以下の例にこれを示します。
 \end_layout
 
@@ -11090,7 +11311,48 @@ hspace
 
 
 \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
@@ -11158,10 +11420,6 @@ hspace
 \begin_inset space \textvisiblespace{}
 \end_inset
 
-
-\begin_inset Formula $\to$
-\end_inset
-
 A
 \backslash
 not=C (3
@@ -11197,10 +11455,6 @@ hspace
 \begin_inset space \textvisiblespace{}
 \end_inset
 
-
-\begin_inset Formula $\to$
-\end_inset
-
 A
 \backslash
 not=A (-1
@@ -15143,59 +15397,10 @@ reference "eq:substack"
 \end_inset
 
 式のように、演算子の横の余白が大きくなりすぎることがあります。
-\end_layout
-
-\begin_layout Standard
-これを避けるには、LaTeXプリアンブルに以下のようなマクロを指定する方法があります。
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-def
-\backslash
-clap#1{
-\backslash
-hbox to 0pt{
-\backslash
-hss #1
-\backslash
-hss}}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-def
-\backslash
-mathclap {
-\backslash
-mathpalette 
-\backslash
-mathclapinternal}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-def
-\backslash
-mathclapinternal #1#2{
-\backslash
-clap{$
-\backslash
-mathsurround =0pt #1{#2}$}}
-\end_layout
-
-\begin_layout Standard
-これは、範囲の幅を0
-\begin_inset space \thinspace{}
-\end_inset
-
-ptに設定する
+\lang english
+To avoid this the command 
 \series bold
+\lang japanese
 
 \backslash
 mathclap
@@ -15212,22 +15417,19 @@ mathclap
 
 \end_inset
 
-コマンドを定義しています。このコマンドの書式は、
-\end_layout
-
-\begin_layout Standard
 
-\series bold
+\lang english
+ can be used.
+ It sets the width of its content to 0
+\begin_inset space \thinspace{}
+\end_inset
 
-\backslash
-mathclap{範囲}
-\end_layout
+pt.
+\begin_inset Newline newline
+\end_inset
 
-\begin_layout Standard
-となっていて、「範囲」には複数の条件を入れることができます。
-\end_layout
 
-\begin_layout Standard
+\lang japanese
 これを
 \begin_inset CommandInset ref
 LatexCommand eqref
@@ -15245,7 +15447,7 @@ reference "eq:substack"
 \backslash
 sum_
 \backslash
-mathclap{
+mathclap
 \backslash
 substack
 \begin_inset space \textvisiblespace{}
@@ -15276,6 +15478,99 @@ k\,\in\,\mathbb{N}
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+When several consecutive operators have limits the typesetting of the limits
+ looks often imperfect in the output, see this example:
+\lang japanese
+
+\begin_inset Formula 
+\[
+\text{a)}\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
+\end_inset
+
+
+\lang english
+To improve the typesetting 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
+.
+ Then insert into your formula the command 
+\series bold
+\lang japanese
+
+\backslash
+adjustlimits
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+こまんど@コマンド ! A ! 
+\backslash
+adjustlimits
+\end_layout
+
+\end_inset
+
+\lang english
+directly before the first operator.
+ The example will then look like this:
+\lang japanese
+
+\begin_inset Formula 
+\[
+\text{a)}\adjustlimits\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\adjustlimits\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\adjustlimits\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\adjustlimits\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -15295,7 +15590,7 @@ reference "sub:自己定義演算子"
 \begin_layout Subsection
 演算子の修飾
 \begin_inset Index idx
-status open
+status collapsed
 
 \begin_layout Plain Layout
 えんざんし@演算子 ! 
@@ -15364,31 +15659,74 @@ sideset
 
 \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
@@ -15396,23 +15734,25 @@ sideset
 \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
 
@@ -24731,6 +25071,28 @@ x=B
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+How to adjust the typesetting of the limits see 
+\lang japanese
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:演算子の範囲"
+
+\end_inset
+
+。
+\end_layout
+
 \begin_layout Subsection
 剰余関数
 \begin_inset Index idx