Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2800
Closed
Open
Issue created Nov 12, 2021 by Administrator@rootContributor

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

Created by: 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

Assignee
Assign to
Time tracking