Skip to content

Safeguard against babel shorthands #617

@samcarter

Description

@samcarter

Some babel languages will make - a shorthand. This can cause problems in tabularray, e.g. when specifying ranges like 1-Z:

\documentclass{scrartcl}

\usepackage[slovak]{babel}
\usepackage{tabularray}

\begin{document}

%\shorthandoff{-}
\begin{tblr}{
  row{1-Z}={font=\large\bfseries},
}
 test
\end{tblr}

\end{document}

Maybe tabularray could automatically switch off shorthands while reading such arguments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions