General ⇒ Annotate Table, inserting footnotes to Tables
Annotate Table, inserting footnotes to Tables
I went thru the help files looking for typeset to add footnotes to particular entries in my table:
\begin{table}
\centering
\caption{My caption}
\small\addtolength{\tabcolsep}{-5pt}
\begin{tabular}{c||c|c|c||c|c||c}
X& x1 & $x2$ & x3 & x4 & x5&x6\\\hline
I & 1& 2& 3 & 4 & 5& 6\\
& (.46) & & & (.16)&&\\
II&1&2&3 & 4&5&6\\
& (.82) & & & (.28)&&\\
III &1&2 &3& 4&5&6\\
& (.63) & & & (.24)&&\\
IV & 1& 2& 3& 4&5& 6\\
& (.39) & & & (.14)&&\\
V & 1& 2& 3& 4&5& 6\\
& (.82) & & & (.39)&&\\
VI & 1& 2& 3& 4&5& 6\\
& (1.15) & & & (2.65)&&\\
\end{tabular}
\label{tab:mytab}
\end{table}
Inserting \footnote{} next to the values did not show the footnote at the end of the table.
Thank you!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Annotate Table, inserting footnotes to Tables
B.A.
Re: Annotate Table, inserting footnotes to Tables
Re: Annotate Table, inserting footnotes to Tables
Regards,
B.A.
Annotate Table, inserting footnotes to Tables
A direct approach to get footnotes in tables is to include them in a minipage. Try this:
Code: Select all
\documentclass{article}
\begin{document}
\begin{table}
\centering
\fbox{% Remove this line to delete the frame
\begin{minipage}{4.1cm}
\caption{My caption} \label{tab:mytab}\smallskip
\small\addtolength{\tabcolsep}{-5pt}
\begin{tabular}{c||c|c|c||c|c||c}
X\footnote{A footnote}& x1 & $x2$ & x3 & x4 & x5&x6\\ \hline
I & 1& 2& 3 & 4 & 5& 6\\
& (.46) & & & (.16)&&\\
II&1&2&3 & 4&5&6\\
& (.82) & & & (.28)&&\\
III &1&2 &3& 4&5&6\\
& (.63) & & & (.24)\footnote{Other footnote}&&\\
IV & 1& 2& 3& 4&5& 6\\
& (.39) & & & (.14)&&\\
V & 1& 2& 3& 4&5& 6\\
& (.82) & & & (.39)&&\\
VI & 1& 2\footnote{The third one}& 3& 4&5& 6\\
& (1.15) & & & (2.65)&&\\ \hline
\end{tabular}
\end{minipage}%
} % Remove this line to delete the frame
\end{table}
\end{document}
This looks better:
Code: Select all
\documentclass{article}
\begin{document}
\begin{table}
\centering
\fbox{% Remove this line to delete the frame
\begin{minipage}{4.9cm}
\centering
\caption{My caption} \label{tab:mytab}\smallskip
\small\addtolength{\tabcolsep}{-5pt}
\begin{tabular}{c||c|c|c||c|c||c}
X\footnote{A footnote}& x1 & $x2$ & x3 & x4 & x5&x6\\ \hline
I & 1& 2& 3 & 4 & 5& 6\\
& (.46) & & & (.16)&&\\
II&1&2&3 & 4&5&6\\
& (.82) & & & (.28)&&\\
III &1&2 &3& 4&5&6\\
& (.63) & & & (.24)\footnote{Other footnote}&&\\
IV & 1& 2& 3& 4&5& 6\\
& (.39) & & & (.14)&&\\
V & 1& 2& 3& 4&5& 6\\
& (.82) & & & (.39)&&\\
VI & 1& 2\footnote{The third one}& 3& 4&5& 6\\
& (1.15) & & & (2.65)&&\\ \hline
\end{tabular}%
\vspace{-7pt}\renewcommand{\footnoterule}{}
\end{minipage}%
} % Remove this line to delete the frame
\end{table}
\end{document}
Annotate Table, inserting footnotes to Tables
I worked out a dirty fix without using minipages.
Code: Select all
\begin{table}
\begin{center}
\begin{tabular}{|r|r|}
\hline
x & x \\
\hline
x & x \\
x & x \\
\hline
\end{tabular}
\label{tbl:runtime}
\caption{blah $^1$.}
\end{center}
\end{table}
\footnotetext[1]{foot note blah.}