Skip to content

Wrong rendering of \overset{\leftarrow} and \overset{\rightarrow} #2800

Closed
@tigran123

Description

@tigran123

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:

  • MathJax Version: Whatever is used in the latest Obsidian
  • Client OS: Ubuntu Linux 18.04.5
  • Browser: N/A (Obsidian)

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:

Screenshot from 2021-11-12 10-05-48

The incorrect rendering is produced in Obsidian, here is the screenshot:

Screenshot from 2021-11-12 10-03-38

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:

Screenshot from 2021-11-12 14-43-17

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions