
私は授業中に文書を入力していますamsart
。
小さなタイトルのサブセクションを作成し、サブセクションの段落を書きました。
\subsection*{Examples}
Consider a group of order 8.....
出力では、サブセクションのタイトルが表示され、その直後に段落が始まります。次に、以下を挿入しました\vskip1mm
。
\subsection*{Examples}
\vskip1mm
Consider a group of order 8.....
しかし、その命令は効果を及ぼさなかった\vskip1mm
。
質問:セクションのタイトルと次の段落の間にスペースを残すにはどうすればよいですか?
答え1
それはクラスの正確な選択です(ちなみに、私もこれに同意します)。
の定義内のパラメータの 1 つを変更できます\subsection
。
\documentclass{amsart}
\usepackage{lipsum} % just for the example
\makeatletter
\def\subsection{\@startsection{subsection}{2}%
\z@{.5\linespacing\@plus.7\linespacing}{.3\linespacing}%
{\normalfont\bfseries}}
\makeatother
\begin{document}
\section{A section title}
\lipsum[2]
\subsection{A subsection title}
\lipsum[3]
\end{document}
答え2
これもできると思います。
\documentclass{amsart}
\begin{document}
\subsection*{Examples}~\par
\vskip1mm
Consider a group of order 8.....
\end{document}