-
-
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
Wrong rendering of \overset{\leftarrow} and \overset{\rightarrow} #2800
Comments
Just to add that I have reproduced the problem with MathJax live editor at https://decadroid.github.io/mathjax-live-editor/, see the screenshot below: |
Sorry for the long delay in responding to this. The issue misrelated to how MathJax translates TeX into MathML. The same construction is used for both accents and other stacked content like that produced by For now, you can use something like |
Thank you! |
Mark mo as not accent if used in \overset and friends. (mathjax/MathJax#2800)
Issue Summary
The arrows are rendered incorrectly when
\overset{\leftarrow}{a}\overset{\rightarrow}{b}
is used.Steps to Reproduce:
Type
$$\overset{\leftarrow}{a}{\overset{\righarrow}{b}$$
in Obsidian and observe the rendered result.Technical details:
Supporting information:
I originally reported this problem on the Obsidian's forum https://forum.obsidian.md/t/wrong-rendering-of-overset/27012 but they said that it is probably a MathJax issue and should be reported here directly.
The correct rendering can be seen on my website here (formula 8 in the section "Hamiltonian Dynamics") http://quantuminfodynamics.com/ which is using whatever MathJax version that is served by the following URL:
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML"></script>
or here is the screenshot how it should look like:
The incorrect rendering is produced in Obsidian, here is the screenshot:
Someone recommended using
\overleftarrow
and\overrightarrow
instead and, indeed, this improved the situation somewhat (the arrow sizes are correct now), but still the vertical alignment is imperfect, see the screenshot:The text was updated successfully, but these errors were encountered: