Skip to content

Discretionary multiplication doesn't use the correct character #665

@eg9

Description

@eg9

With unicode-math loaded, \* chooses the wrong character in slot 2 instead of 0x00D7.

Reference: https://tex.stackexchange.com/q/750832/4427

\documentclass{article}

\usepackage{unicode-math}

\begin{document}
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla $(x+y+z)\*(x-y+z)$ bla bla bla bla bla.
\end{document}

Proposed fix:

\RenewDocumentCommand{\*}{}{%
  \discretionary{\thinspace\the\textfont 2\char"D7}{}{}%
}

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