[Tex/LaTex] Remove period at the end of subsubsection

amsartpunctuationsectioning

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.

Best Answer

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.

Related Question