Footnotes – Normal Footnote in Minipage Environment in LaTeX

footnotesminipage

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?

Best Answer

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

Modifying your MWE, we have

\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

enter image description here

Related Question