6

I am using amsart. For specific isolated uses of subsubsection*, I would like to prevent the addition of a period at the end of the title.

MWE:

\documentclass{amsart}
\usepackage{tikz}

\begin{document}

\subsubsection*{Don't fence me in}  Some text.

\subsubsection*{Or at least let me use pictures like} {\it \hspace{-.3cm} 
$\begin{tikzpicture}[scale=0.2]
\draw[double] (0,0) -- (1,1) -- (1,0);
\end{tikzpicture}$ inside a title.}
Some more text.

\subsubsection*{Fine go ahead}  And a bit more.

\end{document}

In this example, in the second use of \subsubsection*, I would like to remove the period after `like'. As you can see, my real motivation is to be able to use tikz in a subsubsection heading, but in my circumstance, it seems the easiest workaround would just be to remove the period and fake the second half of the section title, as above.

  • 3
    try adding \nopunct at the end of that title. – barbara beeton Nov 4 '13 at 9:57
10

the ams document classes provide the command \nopunct to omit the automatically added period at the end of (sub)section headings.

the rationale is that a heading might reasonably end with a question mark or similar, so no additional punctuation is wanted. since tex doesn't process backwards, this has to be specified manually.

| improve this answer | |
  • Barbara Beeton's comment does the trick: \nopunct. – Chris Nov 4 '13 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.