jlatexmath
jlatexmath copied to clipboard
Something wrong with the \underbrace and \overbrace ?
TeX source:
\overbrace{\frac{c t}{r_e}}^{
\text{ratio of the visible universe\\radius to the classical\\electron radius}}
\approx \underbrace{\frac{e^2}{4 \pi \varepsilon_0 G m_p m_e}}_{
\text{ratio of the electrical to the\\ gravitational forces between\\ a proton and an electron}}
\approx 10^{40}
Seems that if the width of the upper or lower content exceeds the width of the inner content, the parentheses and the inner content will not be aligned.
Same in the experimental branch
Looks like it might just be a missing *2
or /2
somewhere
Fix (for experimental branch) https://github.com/geogebra/geogebra/commit/5536e2818e900c4978b752eb6b2d56b74c7c6f68