4

It seems that all captions in Tufte-book are placed in the margin.

I have a full-width table where I can place the caption above the table using

\begin{table*}[b]

but how do I specify the caption to have the same width as the table?

Complete MWE:

\documentclass[b5paper,11pt,nobib,symmetric,justified,notoc]{tufte-book}
\begin{document}
\begin{table*}[b]
\caption{Foo-bar Foo-bar Foo-bar Foo-bar Foo-bar Foo-bar}
\begin{tabular}{llllllllll}
Foo & bar & Foo & bar & Foo & bar & Foo & bar & Foo & bar
\end{tabular}
\end{table*}
\end{document}

Output

  • 1
    Welcome. Please add a minimal working example (mwe). – Bobyandbob Dec 30 '17 at 21:55
1

I will say that the best solution is switch to another document class, but in case that this is not a valid option ...

\documentclass[b5paper,11pt,nobib,symmetric,justified,notoc]{tufte-book}
\usepackage{caption}
\usepackage{booktabs}
\begin{document}
\begin{fullwidth}
\centering
\begin{tabular}{llllllllll}\toprule
Foo & bar & Foo & bar & Foo & bar & Foo & bar & Foo & bar \\
\bottomrule\\[-2ex]
\multicolumn{10}{c}{\captionof{table}{
Foo-bar Foo-bar Foo-bar Foo-bar Foo-bar Foo-bar}}
\end{tabular}
\end{fullwidth}
\end{document}

MWE

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.