Replies: 1 comment 1 reply
|
The \documentclass{article}
\usepackage{tabularray}
\begin{document}
\ExplSyntaxOn
\begin{longtblr}{colspec={ll},rowhead=\int_compare:nNnTF{\value{rowcount}}>{1}{1}{0}}
AAA & BBB \\
% AAA & BBB \\
\end{longtblr}
\ExplSyntaxOff
\end{document} |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
iIf
rowheadis less than the number of rows inlongtblr, an error will be appear. Is this a design or a bug? It is reasonable for me to design the format first and fill in the contents later. The current version cannot meet this requirement.In the above example, only one line will go wrong, but two lines won't.
All reactions