Skip to content

Breaks X_\mathcal{R} #676

Description

@alexanderperlis

[Might be an older problem, but I ran into this using LuaLaTeX in TeX Live 2026 with June 2026 updates applied.]

\documentclass{article}
%\usepackage{unicode-math}
\begin{document}
Consider $X_\mathcal{R}$.
\end{document}

breaks when unicode-math is enabled, requiring the author to write $X_{\mathcal{R}}$. On the other hand, with $X_\mathbf{R}$, it works with or without unicode-math.

(I was helping an author who wanted to recompile a previously-working (non-LuaLaTeX) document in a modern environment to comply with current accessibility requirements, thus we switched to LuaLaTeX and made some other preamble changes which—among other things—pulled in unicode-math.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions