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?
Footnotes for tables in LaTeX
latex
latex
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?
Best Answer
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
andfigure
environments don't even try.What can you do:
\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.tabularx
,longtable
,threeparttable[x]
(kudos to Joseph) orctable
which support this behavior.[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.footnote
package provides thesavenote
environment, which can be used to do this.Additional reference: TeX FAQ item Footnotes in tables.