I'm trying to build a tblr table and have multiple macros containing alignment characters expanded in it, like so:
\documentclass{article}
\usepackage{tabularray}
\newcommand{\introrow}{Cat & Dog \}
\newcommand{\outrorow}{Frog & Duck \}
\begin{document}
\begin{tblr}{cc}
\introrow
Crow & Hawk \
\outrorow
\end{tblr}
\end{document}
(Background: I'm trying to define an environment that provides the specifications for a table written by the user, and provides multiple building blocks in the form of macros that the user can insert as needed.)
This doesn't work as tabularray needs to see all alignment characters. By passing expand=\introrow or expand=\outrorow, I can fix this for one of my macros.
Is there a way to have the tblr environment expand both macros?
Adding two expand keys doesn't work.
