Information and discussion about graphics, figures & tables in LaTeX documents.
rudrales
Posts: 16 Joined: Wed Mar 11, 2009 1:52 am
Post
by rudrales » Tue Dec 01, 2009 6:42 pm
Hi
I want to use a footnote in a table. The number of the footnote appears in the table but the footnote text doesn't at the end of the page. Do I have to use an other command in tables or what am I doing wrong?
Code: Select all
\begin{table}[htbp]
\begin{center}
\begin{tabular}{|l|l|l|l|}
\hline
Measurement &Value\footnote{comment}\\
\hline\hline
MVL1 & 269\\
MVL2 & 568\\
MVL3 & 269\\
MVL4 & 600\\
\hline
\end{tabular}
\end{center}
\caption{Measurement 1}
\label{Measurement 1}
\end{table}
Thanks for the help!
NEW: TikZ book now 40% off at Amazon.com for a short time.
olofos
Posts: 56 Joined: Tue Nov 24, 2009 10:37 pm
Post
by olofos » Tue Dec 01, 2009 10:48 pm
Unfortunately normal latex footnotes don't work inside a table. A number of workarounds are available in the
FAQ .
rudrales
Posts: 16 Joined: Wed Mar 11, 2009 1:52 am
Post
by rudrales » Sat Dec 12, 2009 8:13 pm
Thanks for the help but it wasn't what I was looking for.
daleif
Posts: 199 Joined: Wed Nov 19, 2008 12:46 am
Post
by daleif » Sat Dec 12, 2009 8:29 pm
well, it is actually, beacause you should not be using footnotes inside a table. Notes in a table are 'tablenotes' and are meant to come immediately after the table, not at the bottom of the page.
These types of notes are a well defined entity described in all typographical manuals.
For this the threeparttable construction is well suited.
localghost
Site Moderator
Posts: 9202 Joined: Fri Feb 02, 2007 12:06 pm
Post
by localghost » Sat Dec 12, 2009 8:37 pm
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{varwidth}
\usepackage{booktabs}
\begin{document}
\begin{table}[!ht]
\caption{Measurement 1}\label{tab:m1}
\centering
\begin{varwidth}{\linewidth}
\begin{tabular}{llll} \toprule
Measurement & Value\footnote{comment} & Value\footnote{comment} & Value\footnote{comment} \\ \midrule
MVL1 & 269 & 781 & 354 \\
MVL2 & 568 & 217 & 493 \\
MVL3 & 269 & 387 & 154 \\
MVL4 & 598 & 312 & 746 \\ \bottomrule
\end{tabular}
\end{varwidth}
\end{table}
\end{document}
Best regards
Thorsten¹
rudrales
Posts: 16 Joined: Wed Mar 11, 2009 1:52 am
Post
by rudrales » Sun Dec 13, 2009 11:34 pm
Aha, tablenotes! Thanks for the help and the example.
daleif
Posts: 199 Joined: Wed Nov 19, 2008 12:46 am
Post
by daleif » Tue Dec 15, 2009 12:55 am
one problem with localghosts example, is that the footnote marker takes up space, and thus may screw up alignment.
If several items need the same marker, you need to know how to make a footnote with a specific number.
much easier with threeparttable (though the package is not perfect)
Juanjo
Posts: 657 Joined: Sat Jan 27, 2007 12:46 am
Post
by Juanjo » Thu Dec 17, 2009 2:40 am
There are some old threads about table notes, like
this one , which may be helpful.