[Tex/LaTex] Footnote in math mode


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


And i.e if I try

foo && foo \text{\footnote{something}}\\
foo && foo \mbox{\footnote{something else}}

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.

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

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

Related Question