방정식 위와 아래의 간격

방정식 위와 아래의 간격

내 논문에서는 방정식 환경을 많이 사용하지만 방정식 자체에만 사용되는 것은 아닙니다. 나는 본문의 내용을 강조하기 위해 이 단어를 사용합니다. 그런데 위아래 공간이 너무 넓다는 느낌이 듭니다. 이에 대한 옵션을 전혀 변경하지 않았지만, 다음 코드처럼 공간이 많이 생기는 것이 정상인가요?

\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당신의 독자들도 그럴 것이라는 점을 알고 싶습니다.~ 아니다새 단락이 첫 번째 또는 두 번째 표시 후에 시작되는지 구별할 수 있습니다.

설정으로 시작하는 단락이 있고 세로 간격이 줄어들면 어떻게 됩니까? 다음과 같습니다.

여기에 이미지 설명을 입력하세요

이 없으면 parskip두 번째 그림과 동일한 세로 간격과 단락 들여쓰기를 얻게 됩니다.

주의할 점: \mathbb N은 틀렸으며 \mathbb{N};\left 그리고 \right그것들을 사용하는 곳에 원하지 않는 수평 공간을 추가하면 됩니다. \dotsc다른 쉼표 없이 쉼표 뒤에 줄임표를 사용하는 올바른 명령입니다.

관련 정보