I am new to tabularray and I have a problem typesetting tables with code in it.
I see the option verb
must be given to environment tblr
to allow verbatim text, but even then, characters %
and &
cause an error :
\documentclass{scrartcl}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{verb,colspec={c}}
\verb!%!
\end{tblr}
\end{document}
gives \verb ended by end of line. \end
. The same happens with &
.
I am at a loss because giving \%
or \&
prints out the backslash as well.
I am compiling with lualatex if that matters.
fancyvrb
's\SaveVerb{<name>}!verb!
beforetabularray
and then\UseVerb{<name>}
inside it.