
私の論文では、方程式環境をたくさん使用していますが、方程式自体のためだけではありません。テキストから強調するために使用しています。しかし、上下のスペースが多すぎるように感じます。これについてはオプションを変更していませんが、次のコードのようにスペースが多すぎるのは正常ですか?
\documentclass[ngerman, fontsize=11pt, DIV=12 ,BCOR = 10mm, parskip=half-, twoside]{scrbook}
\usepackage{amsmath}
\usepackage{amssymb}
\counterwithout{equation}{chapter}
\begin{document}
We will use the following very often.
As the set of naturals numbers we have
\begin{equation*}
\mathbb N
=
\left\{
1,2,\dots
\right\}.
\end{equation*}
To note that two elements $a$ and $b$ are equivalent modulo an integer $n$ we will write
\begin{equation*}
a \equiv b \pmod n.
\end{equation*}
If we want to note the remainder of $a$ divided by $n$ we will write
\begin{equation*}
\left({a\bmod n}\right).
\end{equation*}
\end{document}
答え1
前述のように、垂直方向のスペースを調整するのは良い考えではないかもしれませんが、どうしても必要な場合は、負の値を使用できます。スペース次のような値になります。
\documentclass[ngerman, fontsize=11pt, DIV=12 ,BCOR = 10mm, parskip=half-, twoside]{scrbook}
\usepackage{amsmath}
\usepackage{amssymb}
\counterwithout{equation}{chapter}
\begin{document}
We will use the following very often.
As the set of naturals numbers we have
\vspace{-5ex}
\begin{equation*}
\mathbb N
=
\left\{
1,2,\dots
\right\}.
\end{equation*}
To note that two elements $a$ and $b$ are equivalent modulo an integer $n$ we will write
\vspace{-5ex}
\begin{equation*}
a \equiv b \pmod n.
\end{equation*}
If we want to note the remainder of $a$ divided by $n$ we will write
\vspace{-5ex}
\begin{equation*}
\left({a\bmod n}\right).
\end{equation*}
\end{document}
お役に立てれば幸いです。
答え2
それは好みと慣習の問題です。
必要に応じて、異なる間隔(ここでは標準の半分)を設定することもできます。
\documentclass[
% ngerman,
fontsize=11pt,
DIV=12,
BCOR = 10mm,
parskip=half-,
twoside,
]{scrbook}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{lipsum}% for mock text
\counterwithout{equation}{chapter}
\AtBeginDocument{%
\setlength{\abovedisplayskip}{\skipeval{\abovedisplayskip/2}}%
\setlength{\belowdisplayskip}{\skipeval{\belowdisplayskip/2}}%
}
\begin{document}
\lipsum[1][1-4]
We will use the following very often.
As the set of naturals numbers we have
\begin{equation*}
\mathbb{N} = \{1,2,\dotsc\}.
\end{equation*}
To note that two elements $a$ and $b$ are equivalent modulo an integer $n$ we will write
\begin{equation*}
a \equiv b \pmod{n}.
\end{equation*}
If we want to note the remainder of $a$ divided by $n$ we will write
\begin{equation*}
({a\bmod n}).
\end{equation*}
\end{document}
結果と比較するそれなし parskip
そして調整:
スペースが多すぎると判断されるかもしれませんが、parskip
読者がない最初の表示後または 2 番目の表示後に新しい段落が始まるかどうかを区別できるようになります。
セットアップで始まる段落(および垂直方向の間隔の縮小)があるとどうなるでしょうか? 次のようになります:
を使用しない場合はparskip
、2 番目の画像と同じ垂直間隔と段落のインデントが得られます。
注意点:\mathbb N
は間違っており、 ; とする必要があります\mathbb{N}
。\left
また、\right
それらを使用する場所では、不要な水平スペースを追加するだけです。 ; は、\dotsc
カンマの後に別のカンマが続かずに省略記号を使用する場合の正しいコマンドです。