diff --git a/sample-book.pdf b/sample-book.pdf index ab15bdf..aca5000 100644 Binary files a/sample-book.pdf and b/sample-book.pdf differ diff --git a/sample-handout.pdf b/sample-handout.pdf index 6e3f2f2..7ba2453 100644 Binary files a/sample-handout.pdf and b/sample-handout.pdf differ diff --git a/tufte-common.def b/tufte-common.def index 106a570..c86b58a 100644 --- a/tufte-common.def +++ b/tufte-common.def @@ -1069,12 +1069,6 @@ \let\@tufte@orig@float\@float \let\@tufte@orig@endfloat\end@float -% Save original LaTeX \caption and \label commands -\AtBeginDocument{% - \let\@tufte@orig@caption\caption% - \let\@tufte@orig@label\label% -} - % New length for tweaking float captions \newlength{\@tufte@caption@vertical@offset} \setlength{\@tufte@caption@vertical@offset}{0pt} @@ -1122,6 +1116,8 @@ {\renewcommand{\floatalignment}{b}\@tufte@float@debug{Presumed position: [bottom]}}% {\renewcommand{\floatalignment}{t}\@tufte@float@debug{Presumed position: [top]}}% % Capture the contents of the \caption and \label commands to use later + \global\let\@tufte@orig@caption\caption% + \global\let\@tufte@orig@label\label% \renewcommand{\caption}{\optparams{\@tufte@caption}{[][0pt]}}% \renewcommand{\label}[1]{\@tufte@label{##1}}% \@tufte@orig@float{#2}[#1]%