roniemartinez / latex2mathml

Pure Python library for LaTeX to MathML conversion
MIT License
183 stars 25 forks source link

maybe improvement on distance between hat and single letter #290

Closed retsyo closed 2 years ago

retsyo commented 2 years ago

\bar{H} creates a hat on H, the distance between \bar and H is ok mathml

however, for other kind of hat, i.e.

\hat{H} \quad \grave{H} \quad \check{H} \quad \vec{H} \quad \tilde{H} \quad \dot{H} \ quad \ddot{H} \quad \dddot{H} \quad \ddddot{H} \quad \widehat{H}

the distance between hat and H are too big. Is it a feature of MathML? Or we can adjust the distance? mathml

the same code is rendered on https://www.codecogs.com/latex/eqneditor.php which is expected CodeCogsEqn

roniemartinez commented 2 years ago

The rendered output in MathJax viewer is quite OK.

image