Closed u-fischer closed 3 years ago
This document prints the head twice on the second page:
\documentclass{article} \usepackage{longtable} \begin{document} \vspace*{42\baselineskip} \begin{longtable}{l} \caption{title}\endhead abc\\ abc \end{longtable} \end{document}
The issue disappears if one add this patch:
\documentclass{article} \usepackage{longtable} \usepackage{xpatch} \makeatletter \xpatchcmd\LT@start{\vskip\LTpre}{\vskip\LTpre\endgraf}{}{\fail} \makeatother \begin{document} \vspace*{42\baselineskip} \begin{longtable}{l} \caption{title}\endhead abc\\ abc \end{longtable} \end{document}
This document prints the head twice on the second page:
The issue disappears if one add this patch: