I would like to have a long math-mode "title" in a newtheorem environment:
\documentclass[twocolumn]{article} \usepackage{amsthm} \newtheorem{definition}{Definition} \begin{document} \begin{definition} [$ABC \rightarrow DEF \rightarrow GHI \rightarrow JKL \rightarrow MNO \rightarrow PQR$] Here's some text that runs over onto the next line, to show the overrun. \end{definition} \end{document} However, although the text wraps properly if the title is text, an inline math-mode title doesn't seem to wrap. (It seems reasonable to expect it to wrap since it's not display math, but perhaps I'm wrong.)
The particular formula I've used here is illustrative: I would like something that works with an arbitrary (breakable) math formula.
There is some overlap with Overruns in newtheorem in latex. The "manual intervention" discussed there (formatting the name of the theorem yourself) certainly works, but I wondered if there was a better solution.
Also note that I am using amsthm.
