Skip to content

\let handled incorrectly #2404

@dimitriye98

Description

@dimitriye98

Issue Summary

MathJax aliases let to \newcommand, but this breaks code which uses \let and \renewcommand together.

Minimal example:

\let\test\approx
\renewcommand{\approx}{\test\test}
$\approx$

In LaTeX this will produce ≈≈. In MathJax however, it causes a stack overflow due to infinite recursion.

Related to James-Yu/LaTeX-Workshop#2035

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