# Can I get a normal footnote in a minipage environment in LaTeX? How?

I need to use a minipage environment and I need a footnote in that minipage. I want the footnote to be numbered in the normal footnote sequence and to occur together with the rest of the footnotes in my document. But, as this minimal example shows:

\documentclass{article}

\begin{document}

Spam

\begin{minipage}{.5\linewidth}
Foo\footnote{bar}
\end{minipage}

Ham

\end{document}


the obvious thing produces a footnote that 1) appears at the bottom of the minipage, and not the page itself, and 2) is "numbered" alphabetically.

How can I get a regular footnote in a minipage?

-

You should use the footnotemark and footnotetext commands to artificially insert the mark and text.

\documentclass{article}
\begin{document}
Test\footnote{First footnote}

\begin{minipage}{.2\linewidth}
Test with a bit more text to show that it really is a minipage\footnotemark

Here is an internal footnote\footnote{Internal footnote}
\end{minipage}
\footnotetext{Second footnote}

Ham

\end{document}


which produces

-
But this doesn't work with hyperref as expected –  skpblack Jul 16 '14 at 21:41