[Tex/LaTex] New line after \subsection in amsbook

amsbooksectioning

How can I get a new line after the subsection command in the amsbook template?

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

does not put Nursery rhyme on one line and Mary had a little lamb on the next, which is where I want it.

Best Answer

In the amsbook style, subsections are realized inline.

You can introduce a line break by adding \mbox{} (that is, an empty text) and starting a new paragraph afterwards.

\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}

By setting secnumdepth to 1, only chapters (level 0) and sections (level 1) will be numbered.

enter image description here

Related Question