This latex code:
\documentclass[9pt]{amsart}
\begin{document}
\subsubsection*{Animals}
Rabbit horse monkey cow
\end{document}
Generates something that looks approximately like this:
Animals. Rabbit horse monkey cow.
I'd like to add a newline after the section heading, but if I use \\
with
\subsubsection*{Animals}\
I get:
! LaTeX Error: There's no line here to end.
If I put the \\
inside the brackets, with Animals, then I get a newline but it separates "Animals" from the period:
Animals
. Rabbit horse monkey cow.
How can I put a newline after the section heading without separating it from the period?
EDIT: A good solution is provided below using redefinition of \subsubsection, but a simpler method is to do
\subsubsection*{Animals}\hspace*{\fill} \\
Rabbit horse monkey cow.
Best Answer
You can redefine
\subsubsection
appropriately; here's the original definition in amsart.clsand you can redefine it using something like this:
Another option, not requiring knowing the inner definition of
\subsubsection
, is to use thetitlesec
package:However, if you are writing a paper for a submission to an AMS journal, pay attention to the following warning from barbara beeton regarding the use of
titlesec
with the AMS document classes: