[Tex/LaTex] Footnote in math mode

footnotesmath-mode

How can I insert a footnote into math mode? I tried this (with required packages)

\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{ccaption}

And i.e if I try

\begin{eqnarray}
foo && foo \text{\footnote{something}}\\
foo && foo \mbox{\footnote{something else}}
\end{eqnarray}

the link to the footnote appears, but not in the footnote position and if I click it I'm redirected to the first page. If I am in text mode I don't have this problem.
How can I do this? Thanks in advance!

Best Answer

You shouldn't be using eqnarray, first of all, but rather align.

\begin{align}
a &= b && \text{something\footnotemark} \\
c &= d && \text{other}
\end{align}
\footnotetext{text of the footnote}

While \footnote works in equation, it doesn't in other alignment environments.

Related Question