jlatexmath icon indicating copy to clipboard operation
jlatexmath copied to clipboard

Something wrong with the \underbrace and \overbrace ?

Open Pscgylotti opened this issue 3 years ago • 3 comments

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}

img

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.

Pscgylotti avatar Jun 21 '21 11:06 Pscgylotti

Same in the experimental branch

image

murkle avatar Jun 21 '21 13:06 murkle

Looks like it might just be a missing *2 or /2 somewhere issue87

murkle avatar Jun 21 '21 13:06 murkle

Fix (for experimental branch) https://github.com/geogebra/geogebra/commit/5536e2818e900c4978b752eb6b2d56b74c7c6f68

murkle avatar Mar 26 '24 14:03 murkle