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

Mensch
  • 65,388
latexguy
  • 41
  • 1

1 Answers1

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

Fran
  • 80,769