Skip to main content
Became Hot Network Question
edited tags
Link
Mico
  • 552.4k
  • 57
  • 753
  • 1.3k
Source Link
mrCarnivore
  • 1.6k
  • 3
  • 12

Why does tblr not work with commands that contain &?

I am using a command that contains more than one cell (containing an & to separate them).

It worked with tabular it does not work with tbrl though. Why?

\documentclass{article} \usepackage{tabularray} \newcommand{\ab}{a & b} \begin{document} \begin{tblr}{c|l} \ab \\ \end{tblr} \end{document} 

The error message is misplaced alignment tab character &