# Footnote marker placement in heading of theorem/definition/etc.

I have a definition, and a footnote which refers to the whole definition.  So I’d ideally like an output looking something like:

Definition 1.53.   A footnote is a small aside, usually placed at the bottom of a page and marked by a tag in the main text.

3Some people think that footnotes are bad style.

Is there a good way to get this placement of the footnote marker?  Neither of the following comes out right (for obvious reasons):

\begin{definition}\footnote{Footnote text.} We define \ldots

\begin{definition}[\footnote{Footnote text.}] We define \ldots

I’m using amsthm, but answers for without that would be interesting too.

-

Change the definition of \thetheorem inside a group so as to include the desired footnote. (I use the \apptocmd command of the etoolbox package to amend the definition without looking up the particulars of the original.)

\documentclass{article}

\usepackage{amsthm}
\newtheorem{theorem}{Theorem}

\usepackage{etoolbox}

\begin{document}

\begingroup
\apptocmd{\thetheorem}{\protect\footnote{A footnote.}}{}{}

\begin{theorem}
Some text.
\end{theorem}

\endgroup

\begin{theorem}
Some text.
\end{theorem}

\end{document}


EDIT: Interestingly, this only seems to work with amsthm.

-
Redefining \thetheorem won't work well with the \label/\ref mechanism as the footnote will appear at each reference. You can get around this by replacing \protect\footnote{A footnote.} by \unless\ifx\protect\@unexpandable@protect\protect\footnote{A footnote.}\fi. –  Philippe Goutet Dec 4 '10 at 1:05