Closed user7598 closed 2 years ago
Same as issue #201, you need to collect table body outside the table first.
\documentclass[11pt]{article}
\usepackage{tabularray}
\ExplSyntaxOn
\newcommand{\replicate}[2]{
\tl_set:Nx \tblrbody {\prg_replicate:nn {#1}{#2}}
}
\ExplSyntaxOff
\begin{document}
\replicate{3}{a & b \\ }
\begin{tblr}[expand=\tblrbody]{hlines,vlines,colspec={QQ}}
tabularray & tabularray \\
\tblrbody
\end{tblr}
\end{document}
I'm trying to create large blank table. With tabular I can use
\prg_replicate:nn
:But with tabularray I got multiline cell without hlines instead of multiple rows
Is it possible to achieve this behaviour with tabularray instead of copy and pasting?