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
Undersetting mathml token regression from v2 to v3 #2415
Comments
|
Yes, there are some issues with stretchy characters that ned to be addressed. In v2, there were options in the stretchy character day to allow pieces to be repositioned, but that was not carried over to v3. We are doing work to extend the v3 font support this summer, and we hope to address such issues then. |
|
For the time being, if you are using CommonHTML output, you could add <style>
mjx-stretchy-h.mjx-c23B5 > mjx-ext > mjx-c::before {
vertical-align: -.24em;
margin-bottom: -.24em;
}
</style>to the page, which will fix this particular stretchy character. Similar adjustments could be made for others that need it. |
|
Thank you! Is there a similar workaround for SVG? I only use SVG output module currently. |
|
Try @namespace xlink "http://www.w3.org/1999/xlink";
g[data-mml-node="mo"]:last-child >
use[xlink|href$="2518"] + svg >
use[xlink|href$="2212"] {
transform: translateY(-250px) scaleX(100) translateX(-100px);
}and see if that does the trick. |
|
OOPS, I left out the important @namespace xlink "http://www.w3.org/1999/xlink";line in my comment above. I've added it in. Note that it has to come above any other CSS declarations. |
|
Thank you, I’ll try that! |
Issue Summary
This example taken from StackExchange works perfectly in MathJax 2.7, but not in MathJax 3.0.5:
\mathop{\underset{\mmlToken{mo}{⎵}}{78\,255\,300,00}}\limits_{10\text{ digits}}MJv2:

MJv3:

Technical details:
The text was updated successfully, but these errors were encountered: