-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[svg] Munderover not rendered correctly #2317
Comments
OK, it looks like the scaling is not fully being taken into account. It does work if you use
rather than
if that is possible for you. If not, it might be possible to write a MathJax MathML input pre-filter that moves the Also note that it is an error only in the SVG output, so an alternative would be to switch to the CommonHTML output, if that is possible. |
Fix issues with munderover/msubsup when base is scaled (mathjax/MathJax#2317)
Using MathJax 3 MML-SVG and munderover gets rendered incorrectly. MathJax 2.7.6 does not have the same issue. It's because the mstyle has mathsize of 140%.
Result link: https://i.ibb.co/hDp5d9P/Capture.png
and source MathML:
<math xmlns="http://www.w3.org/1998/Math/MathML" id="mml_m11" overflow="scroll"><mrow> <mi>T</mi> <mi>E</mi> <msub> <mi>R</mi> <mrow> <mi>H</mi> <mi>F</mi> </mrow> </msub> <mo>=</mo> <munderover> <mstyle mathsize="140%" displaystyle="true" stretchy="false"> <mo>∑</mo> </mstyle> <mrow> <mi>n</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>N</mi> </munderover> <mi>E</mi> <msub> <mi>R</mi> <mrow> <mi>A</mi> <mi>L</mi> <mo>,</mo> <mi>H</mi> <mi>F</mi> <mo>,</mo> <mi>n</mi> </mrow> </msub> <mo>+</mo> <munderover> <mstyle mathsize="140%" displaystyle="true" stretchy="false"> <mo>∑</mo> </mstyle> <mrow> <mi>m</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>M</mi> </munderover> <mi>E</mi> <msub> <mi>R</mi> <mrow> <mi>E</mi> <mi>L</mi> <mi>V</mi> <mo>,</mo> <mi>H</mi> <mi>F</mi> <mo>,</mo> <mi>m</mi> </mrow> </msub></mrow></math>
The text was updated successfully, but these errors were encountered: