When I do \footnote{} for a value in a table, the footnote doesn't show up. How do I get it to show up? Also, is it possible to get it to show up at the bottom of the table rather than the bottom of the page?
+1
A:
Probably the best solution is to look at the threeparttable/threeparttablex packages.
Joseph Wright
2010-05-23 05:35:59
+6
A:
This is a classic difficulty in LaTeX.
The problem is how to do layout with floats (figures and tables, an similar objects) and footnotes. In particular, it is hard to pick a place for a float with certainty that making room for the associated footnotes won't cause trouble. So the standard tabular
and figure
environments don't even try.
What can you do:
- Fake it. Just put a hardcoded vertical skip at the bottom of the caption and then write the footnote yourself (use
\footnotesize
for the size). You also have to manage the symbols or number yourself with\footnotemark
. Simple, but not very attractive, and the footnote does not appear at the bottom of the page. - Use the
tabularx
,longtable
,threeparttable[x]
(kudos to Joseph) orctable
which support this behavior. - Manage it by hand. Use
[h!]
(or[H]
with the float package) to control where the float will appear, and\footnotetext
on the same page to put the footnote where you want it. Again, use\footnotemark
to install the symbol. Fragile and requires hand-tooling every instance. - The
footnotes
package provides thesavenote
environment, which can be used to do this. - Minipage it (code stolen outright, and read the discalimer about long caption texts in that case):
\begin{figure} \begin{minipage}{\textwidth} ... \caption[Caption for LOF]% {Real caption\footnote{blah}} \end{minipage} \end{figure}
Additional reference: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab.
dmckee
2010-05-23 11:42:55
Or 6., DIY; not too hard.
Charles Stewart
2010-05-23 17:27:51