Graphics, Figures & TablesTable with multi-column footnotes

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gammapoint
Posts: 11
Joined: Fri Jul 24, 2009 11:07 pm

Table with multi-column footnotes

Post by gammapoint »

Hi, I have a table with lots of footnotes and they are just stacking up in one column (I'm currently using the tabular environment with threeparttable). Is there a way to make the footnotes multicolumn with threeparttable or do I need to do something else?

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Table with multi-column footnotes

Post by cgnieder »

Use the package option para:

Code: Select all

\documentclass{article}
\usepackage[para]{threeparttable}
\usepackage{array}

\begin{document}

\begin{table}
\begin{threeparttable}[t]
\caption{...}
\begin{tabular}{*4{p{.2\linewidth}}}
 \hline
  text\tnote{1} & text\tnote{2} & text\tnote{3} & text\tnote{4} \\
  some          & more          & text          & to \\
  produce       & some          & table         & lines \\
 \hline
\end{tabular}
\begin{tablenotes}\footnotesize
 \item [1] the first note
 \item [2] the second note
 \item [3] the third note
 \item [4] the fourth note
\end{tablenotes}
\end{threeparttable}
\end{table}

\end{document}
Regards
site moderator & package author
gammapoint
Posts: 11
Joined: Fri Jul 24, 2009 11:07 pm

Re: Table with multi-column footnotes

Post by gammapoint »

Well, that was extremely easy. Thanks for your help Clemens, I really appreciate it :P
Post Reply