tabularray
tabularray copied to clipboard
Overfull hbox with hspan=even and co=1
In the following example, the first column should be less wide to prevent the table from overflowing into the margin.
\documentclass[draft]{article}
\usepackage{lipsum}
\usepackage{parskip}
\usepackage{tabularray}
\begin{document}
\lipsum[1]\par
\begin{tblr}{
colspec={Q[co=1] c c},
vlines,hlines,
hspan=even,
}
a & b & c \\
a & \SetCell[c=2]{c} Long text & \\
\end{tblr}
\par
\lipsum[2]
\end{document}
It seems no easy to fix this bug.
The bug still exists.
\documentclass{article}
\usepackage{showframe}
\usepackage{tabularray}
\setlength{\parindent}{0pt}
\begin{document}
\begin{tblr}
{
cell{1}{2}={c=2}{},
column{1}={co=1},
hlines,
vlines,
}
test & test test test test test test & test & test test test \\
test & test & test & test \\
\end{tblr}
\begin{tblr}
{
cell{1}{2}={c=2}{},
columns={co=-1},
hlines,
vlines,
}
test & test test test test test test & test & test test test \\
test & test & test & test \\
\end{tblr}
\end{document}