% 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
\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
\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
\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
\backslash
sum_
\backslash
-mathclap{
+mathclap
\backslash
substack
\begin_inset space \textvisiblespace{}
\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
\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