How to get brackets shown when writing in a empty box in a text box in LaTex mode ?

Morten Eyrich shared this question 1 month ago
Answered

I have inserted a text element and enabled LaTex mode.

I would like GeoGebra to write for example "7 = 3 + t * 4" if the value of the last integer-variable is positive and 7 = 3 + t * (-4)" if the value of the last integer-variable is negative.

I then insert a empty box in the text-element and write the IF-sentence in that.

But I can't find out how to get the brackets shown around the negative integer .

So how can I do that... ?

Best Answer
photo

I then insert a empty box in the text-element and write the IF-sentence in that. 


if(c<0,"+t*("c")","+t*"c) in the emptybox

Comments (1)

photo
1

I then insert a empty box in the text-element and write the IF-sentence in that. 


if(c<0,"+t*("c")","+t*"c) in the emptybox

© 2021 International GeoGebra Institute