Defective Caption When Exporting to Tikz.

Thiago Correia shared this problem 4 years ago

I noticed an error while trying to export my GeoGebra project to Tikz, I noticed that when I used signals less equal or greater equal in the caption of a line, like the one below:

-x_1 + 3x_2 ≤ 6

If I choose to export the project to Tikz and try to run the latex, I get the error on the following line:

\draw[color=ffqqqq] (-2.056978998962461,1.563750849701263) node {$-2x_1 + 3x_2 $\le$ 6$};

I noticed that the symbol less equal is mistyped and is out of the math environment when it should be:

$-2x_1 + 3x_2 \leq 6$

I am putting my .gbb file in case any of you would like to consult.

© 2021 International GeoGebra Institute