gjtorikian / mathematical

Convert mathematical equations to SVGs, PNGs, or MathML. A general wrapper to Lasem and mtex2MML.
https://gjtorikian.github.io/mathematical/
MIT License
166 stars 31 forks source link

Underbrace not rendered correctly #111

Open zihlmalb opened 1 year ago

zihlmalb commented 1 year ago

Underbraces are not rendered correctly.

Input

require 'mathematical'

output = Mathematical.new(:format => :svg).render('$\underbrace{\overline{C}\cdot B \cdot A}_X$')
File.write('./underbrace.svg', output[:data], mode: 'w')

Output underbrace

What I expect CodeCogsEqn

Version mathematical-1.6.14