Open
Description
Issue Summary
MathJax 4 beta 7 fails to render superscript and subscript when there is no opening brace
Steps to Reproduce:
- typesetting
\Phi^\rm{ id}_{L}
results in the following error message: Missing open brace for superscript - typesetting
\mathcal{L}_\rm{ ce}
results in the following error message: Missing open brace for subscript
These two equations render fine in MathJax 3
Technical details:
- MathJax Version: 4 beta 7
- Client OS: Mac OS X 15.5
- Browser: Chrome 137.0.7151.104
I am using the following MathJax configuration:
MathJax = {
output: {
font: 'mathjax-{{ font }}',
displayOverflow: 'linebreak',
linebreaks: {
inline: true,
width: '100%',
}
}
};
and loading MathJax via
<script id="MathJax-script" defer
src="https://cdn.jsdelivr.net/npm/[email protected]/tex-mml-chtml.js"></script>