tabularray
tabularray copied to clipboard
Enhancement: Booktabs equivalent to "hlines" inner specification
It would be excellent to have a "rules" inner specification which functions like the "hlines" specification but uses the booktabs top/mid/bottom rules instead.
That is, inserts a \toprule at the start of the table, \midrule between each row, and \bottomrule at the end.
For example:
\begin{tblr}{colspec={lll}}
\toprule
Row A & Row A & Row A \\
\midrule
Row B & Row B & Row B \\
\bottomrule
\end{tblr}
Could instead be written as:
\begin{tblr}{colspec={lll},rules}
Row A & Row A & Row A \\
Row B & Row B & Row B \\
\end{tblr}
You may define a new tabularray environment:
\NewTblrEnviron{mytblr}
\SetTblrInner[mytblr]{hline{1,Z}={0.08em},hline{2-Y}={0.05em}}
This issue is a duplicate of #207.