Using lualatex but I encountered an error like this:

! Undefined control sequence. l.15 \DeclareRelease {v2021}{2021-01-01}{tabularray-2021.sty} ? x



  • 1
    It might be relevant in this case to indicate which version of tabularray or LaTeX you're using.
    – Miyase
    Jun 9, 2022 at 4:55
  • 1
    That probably means your LaTeX is too old. Jun 9, 2022 at 5:53

1 Answer 1


Rollback commands \DeclareRelease and \DeclareCurrentRelease were added to LaTeX kernel in release 2018-04-01 (see this TUGboat article). The error means your TeX distribution is too old.

In fact, here are the first three code lines in tabularray.sty.


The new rollback mechanism in LaTeX is elegant:

  • when you write \usepackage{tabularray}, you get tabularray.sty of version 2022, which requires a LaTeX release in TeX Live 2021 (MiKTeX 21) or newer;

  • when you write \usepackage{tabularray}[=v2021], you get tabularray-2021.sty of version 2021, which requires a LaTeX release in TeX Live 2020 (MiKTeX 20) or newer.

Therefore you need to update your TeX distribution to use tabularray package.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .