The command \footnote is really annoying me. I have to use hacks to use it in section headings, epigraphs, tables, minipages and whatnot.
Can it be fixed? Has someone already implemented a footnote command that Just Works™?
Best Answer
To get footnote in headings you can use either footmisc or simply the option argument of \section[without footnote]{with footnote}. But I agree with the comments claiming that one shouldn't use footnotes in a section heading.
With minipage (and tabular and \parbox and even \mbox) the problem is that they trap the footnote. You can either use \footnotemark inside such boxes and \footnotetext outside, or you can use the footnote package which offers a lot options to help footnotes escape E.g.
this time with reference to {HFootnote.2}. The .2 means that is the second footnote causing the problem. Cutting and pasting your other code in does not produce the error your report from the table with a \parnote. So try to track down direct uses of the \footnote command in your document.
hyperref has all sorts of issues with footnotes. See the answers to the question Clickable Table Footnote, for discussion, why not to do this, and workarounds.
Best Answer
To get footnote in headings you can use either
footmisc
or simply the option argument of\section[without footnote]{with footnote}
. But I agree with the comments claiming that one shouldn't use footnotes in a section heading.With
minipage
(andtabular
and\parbox
and even\mbox
) the problem is that they trap the footnote. You can either use\footnotemark
inside such boxes and\footnotetext
outside, or you can use thefootnote
package which offers a lot options to help footnotes escape E.g.See also the FAQ: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab.