Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Does anyone have a simple solution for using tables with notes (as in threeparttable's \tnote) in a way that lists the table notes on the right of the table, instead of underneath it? I have a table where such a layout would use the available space in an optimal fashion.

share|improve this question
2  
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem or the desired solution. –  Werner Jan 24 '12 at 6:35
    
The tufte class lets you do this easily. See here for an example and here for the project site. –  Marc van Dongen Jan 24 '12 at 19:12

1 Answer 1

up vote 11 down vote accepted

Without an actual example of what your table looks like it is difficult to say whether this solution will work for you. But, you could incorporate each portion within a minipage to obtain the tablenotes besides the table. Here is a before and after comparison:

Before:

enter image description here

After (with minipages):

enter image description here

Notes:

  • I have not been able to figure out how to get the tablenotes section to span the remainder of the column. It seems that threeparttable fixes the width of the tablenotes section to match the table (which makes sense in normal usage), but there should be a way to override that and use the entire \linewidth.

Code:

The additional minipage code is marked in the MWE example below. Removing the indicated lines will produce the Before: image above.

\documentclass{article}
\usepackage{threeparttable}

\begin{document}
     \begin{table}%
       \begin{threeparttable}
         \caption{Table caption\tnote{1}} 
         \begin{minipage}{0.10\linewidth}% Added
         \begin{tabular}{ll} 
           \hline 
           Left Column 11 & Right Column 22\tnote{2}\\ 
           \hline 
           Left Column 21\tnote{3} & Right Column 22\\
                            & Right Column 22\tnote{4}\\ 
                            & Right Column 22\\ 
           \hline 
           Left Column 31 & Right Column 32\tnote{5}\\ 
                   & Right Column 33\\ 
           \hline 
           Left Column 41 & Right Column 42\tnote{6}\\ 
           \hline 
         \end{tabular}
         \end{minipage}% Added
         \hfill% Added
         \begin{minipage}{0.30\linewidth}% Added
         \begin{tablenotes}
            \item[1] Footnote text for caption;
            \item[2] Footnote text for second item;
            \item[3] Footnote text for third item; 
            \item[4] Footnote text for fourth item; 
            \item[5] Footnote text for fifth item; 
            \item[6] Footnote text for sixth item.
         \end{tablenotes}
         \end{minipage}% Added
       \end{threeparttable}
     \end{table}
\end{document}
share|improve this answer
    
Thank you, that's just what I was looking for. –  Christian Jan 26 '12 at 2:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.