[Tex/LaTex] Citing inside theorem header

bibliographiescitingoptional argumentstheorems

How do I create something like this without getting any errors?

\begin{thm}[\cite[page 10]{ABC2011}]

I tried putting various things into {…} brackets, but not eliminating any errors. I probably have misunderstood something about how LaTeX works in the background and the AMS packet:


Best Answer

Mask the content of thm' s optional argument with an additional set of braces.

EDIT: For what it's worth, with ntheorem loaded one needs two additional sets of braces.





\begin{thm}[{{\cite[page 10]{ABC2011}}}]
A theorem.

\bibitem{ABC2011} A bibitem.

Related Question