tufte-latex
tufte-latex copied to clipboard
Longtables don't have sidenote captions
When using the longtable environment, table captions are placed on the top of
the table, rather than on the side margin.
I am using tufte-latex 3.5.0 and pdfTeX 3.1415926-1.40.10-2.2 (TeX Live
2009/Debian).
I attached a sample file.
Original issue reported on code.google.com by [email protected]
on 11 Dec 2013 at 2:33
Attachments:
Any insights into how to address this issue?
I also walked into this. I'm getting the longtables in from Pandoc, so somehow need to support the full longtable
syntax while wrapping it inside a margintable
.
Apparently, David Carlisle solved this a long time ago:
\makeatletter
\def\LT@makecaption#1#2#3{%
\noalign{\smash{\hbox{\kern\textwidth\rlap{\kern\marginparsep
\parbox[t]{\marginparwidth}{%
\@tufte@caption@font \@tufte@caption@justification \noindent
#1{#2: }\ignorespaces #3}}}}}}
\makeatother
source: https://tex.stackexchange.com/a/183344/92217.