amsbook 中 \subsection 后的换行符

amsbook 中 \subsection 后的换行符

如何在 amsbook 模板中的子部分命令后获得新行?

\subsection*{Nursery Rhyme} Mary had a little lamb

不要把《童谣》放在一行,把《玛丽有一只小羊羔》放在下一行,而这正是我想要的。

答案1

amsbook样式中,小节以内联方式实现。

\mbox{}您可以通过添加(即空文本)并在之后开始新段落来引入换行符。

\documentclass{amsbook}

\setcounter{secnumdepth}{1} % subsections are not numbered

\begin{document}

\chapter{First}

\section{Section}

Some text to show what happens
Some text to show what happens
Some text to show what happens
Some text to show what happens

\subsection{Normal}

Some text to show what happens
Some text to show what happens
Some text to show what happens
Some text to show what happens

\subsection{With break}\mbox{}

Some text to show what happens
Some text to show what happens
Some text to show what happens
Some text to show what happens

\end{document}

通过设置secnumdepth为 1,只有章节(级别 0)和节(级别 1)才会被编号。

在此处输入图片描述

相关内容