定義間に垂直間隔を追加する方法

定義間に垂直間隔を追加する方法

定義や定理などの間に垂直方向のスペースを追加しようとしています。たとえば、次のように設定するとします。

\begin{definition}

blah blah blah

\end{definition}

%%%should be space here but there's not

\begin{theorem}

blah blah blah

\end{theorem}

私の定義の後、新しい定理の前には垂直方向の余裕がほとんどありません。どうすればこれを修正できますか?

答え1

定理と定義を正しく定義しましたか? 次のコードを使用すると、行間にスペースがあります。

\documentclass{article}
\usepackage{amsmath}
\newtheorem{theorem}{Theory of Blahblah}
\newtheorem{definition}{Definition of Blah}
\begin{document}
    \begin{definition}
        blah blah blah
    \end{definition}
%%%should be space here but there's not
    \begin{theorem}
        blah blah blah
    \end{theorem}
\end{document}

このスペースが不十分な場合は、行間の垂直スペースを「強制的に」確保する方法がいくつかあります。テキストの行間に \smallskip を追加すると、目的を達成できる可能性があります。

定理や定義の後に常にもっとスペースが必要な場合は、環境を再定義してみてください。ただし、今回は省略します。amsmath などの厳密な環境でふざけると、一部の読者に不快感を与える可能性があります。

関連情報