lvjr / tabularray

Typeset tabulars and arrays with LaTeX3
https://ctan.org/pkg/tabularray
247 stars 22 forks source link

Incorrect spacing in multi-page `longtabs` with headrow. #424

Open Makstuff opened 11 months ago

Makstuff commented 11 months ago

Gaps between the \midrule below the head row and the following row are too small from page 2 onwards, similar problem for the gap between the bottom row and the \bottomrule.

\documentclass{article}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{lipsum}
\begin{document}
\lipsum[1-4]

\begin{longtabs}{colspec = {c}, rowhead = 1}
\toprule
Title line \\
\midrule
Content without midrules. \\
Content without midrules. \\
Content without midrules. \\
Content without midrules, and this line is called A. \\
Not enough gap between this text and the midrule on top \\
Content without midrules. \\
Content without midrules. \\
Content without midrules. \\
Content without midrules. \\
Content without midrules. \\
Gap to bottomrule below is different between this line and line A.\\
\bottomrule
\end{longtabs}
\end{document}

Screenshot