Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 10 down vote accepted

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

share|improve this answer
    
But this doesn't work with hyperref as expected –  skpblack Jul 16 at 21:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.