You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
hbghlyj
changed the title
Is there a way to override MathJax's errors about double subscripts and superscripts?
suppress errors about multiple sub/superscripts?
Feb 26, 2024
Note, however, that a^b^c doesn't actually give a^{bc} but rather a^{b}{}^{c}{}, which is semantically different, though visually similar, so people with screen readers will get a strange result from this. Similarly for a_b_c, which gives a_{b}{}_{c}.
In actual TeX, these do not render quite the same:
(note the extra space in the second form). MathJax v3 gets this wrong and both appear identical, but v4 fixes the error and produces the result shown above. There is a similar extra space for the subscripts (in LaTeX and v4), and in the result for {a^b}' that is missing in v3.
Is your feature request related to a problem? Please describe.
Similar question to Is there a way to override LaTeX's errors about double subscripts and superscripts?
When one writes
or
MathJax gives an error message complaining about multiple super/subscripts.
Is there a way to override the error and have MathJax output
Describe the solution you'd like
Is there a way to redefine ^ and _ to append an empty
{}
? like in LaTeX:The text was updated successfully, but these errors were encountered: