text frame width too narow with latex + dynamic values

e-pi shared this problem 14 years ago
Answered

The frame width of a text which contains a mix of latex formula and dynamic values is sometimes too small to display values properly. Here is a simple exemple which troncates the last value (sin(θ)):

    "\begin{align}

    \sin\theta &= \frac{MP}{OP} &= MP \\

    \sin " + θ + " &= \frac{" + (Distance[M, P]) + "}{1} &= " + sin(θ) + "

    \end{align}"


Using GeoGebra V3.0 beta 2

Sun JDK 1.6


PS Thank you to all people involved in Geogebra developpment :]

Comments (3)

photo
1

Confirmed here (Windows XP2, Java 1.6, GeoGebra RC2) although it's OK if theta is one digit long.

photo
1

Sorry, we could not reproduce the problem. Could you please provide a ggb file that shows the problem (link to upload manager or e-mail directly to Markus).


Best wishes,

Amy

photo
1

The bug's still there in RC2 6th Sep although it now only seems to show up for certain random values of theta, eg 0, 274, 266, 360


File emailed.

© 2022 International GeoGebra Institute