1

I have a standard Latex Table set as landscape that I annotate with \begin{tablenotes} and \end{tablenotes} (where I also use \justify). How to have the table and the table notes have the same width (i.e., the notes start at the left of the table and end at the right of the table), such that the whole table looks pretty on the portrait page?

\begin{landscape}
\begin{center}
\begin{table}[!ht]
\caption{}
\justifying
\begin{tablenotes}
\justify Text
\end{tablenotes} 
\par 
\begin{tabular}{lcc} 
\end{tabular} 
\end{table} 
\end{center}
\end{landscape}
2

Try building on this MWE for \threeparttable:

\documentclass[12pt]{article}
\usepackage{pdflscape}
\usepackage[flushleft]{threeparttable}
\usepackage{booktabs}

\begin{document}

\begin{landscape}
\begin{table}[ht]
\caption{Sample Table}
\label{tab:tlabel} 
\centering{}
\begin{threeparttable}
\begin{tabular}{lcccclcccc}
\toprule
this                   & is & a & really & wide & table & and & is & oriented & landscape \\
some numbers go here:  & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\
\bottomrule
\end{tabular}
Note: Table notes go here and should be the same width as the landscape-oriented table. \texttt{\textbackslash threeparttable} is the best!
\end{threeparttable}
\end{table}
\end{landscape}

\end{document}
  • Thanks a lot Tyler! I have almost exactly the same, just that I use \usepackage{threeparttablex,booktabs} .. why does this create a problem? Can I not simply do my threeparttables with this package? – İrem Erten Aug 18 '16 at 20:55
  • I'm not sure about this. I'm guessing that there are some differences between threeparttablex and threeparttable, particularly if your threeparttable needs to be a long table (i.e. continues on another page). See link – Tyler R. Aug 18 '16 at 20:57
  • Thanks Tyler! There is still one issue though. If I add both packages (or only threeparttable), my portrait tables look awful -- my landscape tables look good. If I add only add threeparttablex only my portrait tables look good. -- my landscape tables look bad. Please let me know if anybody has an answer in how to fix both landscape and portrait tables at the same time :((( – İrem Erten Aug 18 '16 at 21:04
  • Could you post a minimal example showing this problem? – Bernard Aug 19 '16 at 0:05
  • @İremErten I am not sure why this is happening with threeparttablex. I don't have experience with that package, but if you post a minimal example like @Bernard suggested, I might be able to help you. – Tyler R. Aug 22 '16 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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