2

I am using tufte-latex book format for writing my thesis. I have a full width table which I can easily define within table* environment in tufte book. As far as I understood, the caption should also be full width. However, I still get it on the right margin. Any idea how to solve this issue? I also want the caption to be placed on the top of the table. Here is my MWE:

\documentclass[nols,a4paper,justified,marginals=auto]{tufte-book}
\usepackage{makecell}
\usepackage{booktabs}
\usepackage{multirow}
\renewcommand{\arraystretch}{1.2}
\usepackage[flushleft]{threeparttable}
\begin{document}
  \begin{table*}[h!]
  \centering
  \begin{threeparttable}
    \caption{here I have a long caption that I want it to be in the fullwidth format as the table but I get it in margin.\label{table3}}%
    \begin{tabular}{llllllllllllllllllll}%
      A&B&C&D&E&F&G&H&I&J&K&L&M&N&O&P\\%
     0.50&$0.47^{a}$&0.48&0.50&0.47&0.48&0.60&0.39&1.00&\0.48&0.50&0.47&0.48&0.60&0.39&1.00\%
    \end{tabular}%
    \begin{tablenotes}
       %\footnotesize
       \item $^{a}$ some extra information about this number.
    \end{tablenotes}
  \end{threeparttable}
\end{table*}
\end{document}

enter image description here Thanks in advance.

Elin
  • 53
  • 1
    probably unrelated to your main question but two-column tables can not be h so \begin{table*}[h!] can not be placed at all by latex so would (I assume) always go to the end of the document (or next \clearpage) delete [h!]. – David Carlisle Jul 07 '16 at 13:02
  • 1
    Hi! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}: this will help us help you! – ebosi Jul 07 '16 at 13:07
  • It is now edited and compilable! @ebo – Elin Jul 08 '16 at 07:05
  • It is solved now! @ebo – Elin Jul 08 '16 at 08:07

0 Answers0