-
-
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
[TeX] \overset should prevent movable limits #1929
Comments
It looks like the issue is line 1467 of the TeX input jax, which I guess should just be
and similarly for line 1472 just below that. |
PS, this was trying to set it only when needed, but it wasn't properly taking the defaults from the operator dictionary into account. |
I have trouble overloading this via the configuration. I would have thought I could use |
Unfortunately, you won't be able to do it through the configuration this way because the replacement routine needs to call So you will have to use a slightly more circuitous method. Now the you have made extensions easier to access, you can set up a MathJax extension that patches the TeX input jax and ask for that to be loaded in your configuration. Since the extension runs inside the mathjax-node jsdom window, it will have access to So you can create a
and then use
in your node project to set up and load the extension. At least that seems to work for me. |
Ah, that explains my failure. Thanks.
Right. Though the new path option for mathjax-node hasn't entered a release yet. Should I prep one? |
You could use an explicit
Not just yet, thanks. |
Always set movablelimits to false in overset and underset. #1929
==> Merged. |
==> In testsuite |
\overset
can create movable limits which does not match real LaTeX behavior.E.g.,
\overset {\rightarrow}{\prod }
creates<mover> <mo>∏</mo> <mo stretchy="false">→</mo> </mover>
which, if inline, will render as a superscript (as expected). Real LaTeX always renders the arrow above the product.The text was updated successfully, but these errors were encountered: