roniemartinez / latex2mathml

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

\overline and \underline is not corrected #294

Closed retsyo closed 2 years ago

retsyo commented 2 years ago

latex2mathml renders

\overline{x+y} \qquad \underline{a+b}

as CodeCogsEqn

but it should be CodeCogsEqn

retsyo commented 2 years ago

\overbrace and \underbrace are same

CodeCogsEqn

CodeCogsEqn

roniemartinez commented 2 years ago

Can you add the Latex for \overbrace and \underbrace so I can test?

retsyo commented 2 years ago

\overbrace{1+2+\cdots+n}^{there are n}

and \underbrace{a+b+\cdots+z}_{26}

roniemartinez commented 2 years ago

latex2mathml output is correctly rendered in MathJax viewer. I created a separate ticket for \overbrace and \underbrace in https://github.com/roniemartinez/latex2mathml/issues/302

image