Skip to content

\text fails with grave, acute accents #2526

@bdtc

Description

@bdtc

Issue Summary

\text fails with grave and acute accents.

The other accents work fine.

Technical details:

Current MathJax 3, Firefox

Supporting information:

<!DOCTYPE html>
<html lang="en-US">

<head>

<meta charset="UTF-8" />

<script>
MathJax = {
    loader: {
         load: ['[tex]/textmacros'],
    },
    tex: {
         packages: {'[+]': ['textmacros']},
    }
}
</script>

<script
         id="MathJax-script"
         src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
></script>

</head>


<body>



<p>
acute accent \(abc + \text {t\’{e}xt}\)
</p>

<p>
grave accent \(abc + \text {t\‘{e}xt}\)
</p>

</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions