lvjr / tabularray

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

Multirow cell of longtblr exhibits strange page break #453

Closed Kuido closed 10 months ago

Kuido commented 10 months ago

The longtblr

image

is broken as

image

Example LaTeX code:

\documentclass{article}
\usepackage{tabularray}

\begin{document}

\def\example{\begin{longtblr}[
    caption={Example}
]{
    hlines,
    colspec = {|Q[l]|Q[l]|},
    cell{1}{1} = {r=5,c=1}{},
}
  aaaaaa & bbbbbb \\
   & bbbbbb \\
   & bbbbbb \\
   & bbbbbb \\
   & bbbbbb \\
\end{longtblr}}

\example

\vspace*{.65\textheight}

\example

\end{document}
muzimuzhi commented 10 months ago

Yes, this is a known limitation that page breaks are allowed in the middle of a vertical spanning cell, see #442.

I'm closing this as a duplicate of #442.

muzimuzhi commented 10 months ago

Duplicate of #442