Following layout problems with my document coming from a Tufte-book documentclass, I took into account the new code presented in the following link, which presents the old and the new code:layout problem with \full{\printindex} in Tufte documentclass
There were two remaining issues one of which is resolved (see: Part title page layout in a tufte document class). The problem concerns the positioning of tables and figures in "full width" mode on even pages, even if I use the specific environment {table *} or {figure *} of the Tufte-book documentclass. They are positioned relative to the left margin of the main text, as follow:
To correct the problem I am using the largetable environment as presented in the following MWE (by inserting the new code in the preamble as described in the first answer below):
\begin{largetable}
\selectlanguage{french}
\footnotesize%
\begin{center}
\begin{tabular}{llll}
\toprule
\ Fugue BWV 532a & & Fugue BWV 532 & \\
\midrule
mes. 1-27 & A & mes. 1-27 & Identiques \\
mes. 28-29 & & mes. 28-29 & Contenus différents\\
mes. 30-52 & & mes. 30-52 & Identiques \\
mes. 52-58 & B & mes. 52-58 & Entrée de pédale répartie entre les pieds et les mains\\
& & & dans la version BWV 532a \\
mes. 59-61 & & mes. 59-64 & \'{E}pisode différent\\
mes. 62-71 & & mes. 65-76 & Identiques, mais entrée plus courte dans la version BWV 532a\\
mes. 71-73 & & - & \'{E}pisode dans la version BWV 532a\\
- & & mes. 76-96 & Dans la version BWV 532, plusieurs épisodes et (courtes) entrées\\
& & & en \textit{do} $\sharp$ mineur/\textit{mi} majeur\\
mes. 74-98 & C & mes. 96-137 & Mêmes entrées mais épisodes plus longs dans la version BWV 532\\
\bottomrule
\end{tabular}
\end{center}
\caption{Différences entre les fugues BWV 532 et BWV 532a relevées par Peter Williams (1980)\index{Williams, Peter}.}
\label{tab:fugue532a}
% \forceversofloat% forces caption to be set to the left of the float
\end{largetable}
For this table, I obtain the following result. This is almost the expected result, as I want to keep the caption in the outer margin:
But if I apply the same largetable environment to an another table as follow, I get a completely different result since the table shifts to the next even page and is completely shifted in the outer margin (see the picture of the result below). Where is the error?
\begin{largetable}
\selectlanguage{french}
\footnotesize%
\begin{center}
\begin{tabular}{llll}
\toprule
\ & Manuels & Pédale & Compatibilité avec \\ & & & l'\oe uvre BWV 532\\
\midrule
Arnstadt & & \\
\quad Neue Kirche & CD-c$^3$ & CD-c$^1$d$^1$ & Non\\
Mühlausen & & \\
\quad Marienkirche & CD-c$^3$ & CD-d$^1$ & Oui \\
\quad Kirche Davi Blasii & CD-d$^3$ & CD-d$^1$ & Oui \\
\quad Brückenhofkirche & CD-c$^3$ & CD-c$^1$ & Non \\
& & \\
Weimar & & & \\
\quad Schlosskirche & CD-c$^3$ & CD-e$^1$ & Oui \\
\quad Jacobskirche & ? & ? & ? \\
\quad Stadtkirche & ? & ? & ? \\
& & \\
Halle & & & \\
\quad Marktkirche & CD-c$^3$ & CD-c$^1$ & Non \\
& & \\
C\oe then & & & \\
\quad Jacobskirche & CD-c$^3$ & CD-c$^1$ ou CD-d$^1$ & ? \\
\quad Agnuskirche & C-? & C-d$^1$e$^1$f$^1$ & ? \\
\quad Schlosskapelle & C-e$^3$ & C-e$^1$ & Oui \\
& & \\
Hambourg & & & \\
\quad Hauptkirche St Katharinen & CDEFGA-c$^3$ & CDE-d$^1$ & Oui \\
\quad Hauptkirche St Jacobi & CDE-C$^3$ (Rückpositif) & C-d$^1$e$^1$f$^1$ & Oui \\
& CDEFGA-c$^3$ (Werk) & & \\
& CDEFGA-c$^3$ (Oberpositiv) & & \\
& CDEFGA-c$^3$ (Brustpositiv) & & \\
\bottomrule
\end{tabular}
\end{center}
\caption{Tessiture des Manuels et Pédale des orgues joués par J.S. Bach entre 1703 et 1723, comparés à l'ambitus de l'\oe uvre (Manuels : D-b$^2$ ; Pédale : D-d$^1$).}
\label{tab:orgues}
\forceversofloat% forces caption to be set to the left of the float
\end{largetable}
Thank you for your suggestions to solve the problem.
Best Answer
The
fullwidth
environment starts a new page. It's fine for parts or chapters, but not for a short table.tufte-book
puts the captions on the outer margin.Here are two additions to your code: a new
largetable
environment for tables larger than the width of the text, and a new command\captionatbottom
to work withlargetable
for the typesetting of the caption below the table.It was tested on odd and even pages.
UPDATE (long captions)
Using
largetable
with normal width.Test of
largetable
insidefullwidth
UPDATE II (long captions)
Using
largetable
with normal width and the new posted tableUPDATE III (long captions in the margin)
Using
largetable
with normal width and the new posted table