FormulaText versus Text tool

Lenore shared this question 4 years ago
Answered

Is the advice in bullet 3 of the first posting in Quick tips - LaTeX and speed in HTML5 and at http://wiki.geogebra.org/en... still correct or has the text tool caught up? Is it a speed issue or will things display incorrectly or fail to display? The preview and line-wrapping would certainly be nice to use.

Comments (5)

photo
1

I'm sorry, what is the code snippet about? I was asking whether we should still use FormulaText (which has a really ugly user interface) in preference to the Text tool (which has a markedly nicer user interface).


If the issue is purely speed, is there documentation about how big the effect is (perhaps it depends on what is being done): is it a 1% difference, a 50% difference, a factor of 10?

photo
1

Sorry; like a bad student, i didn't answer to the right question. :(

photo
1

I was asking whether we should still use FormulaText in preference to the Text tool


It doesn't matter. The point is to use eg FormulaText[sin(x/2)] rather than using LaTeX \frac etc directly

photo
1

I think I completely misunderstood http://forum.geogebra.org/v... because I thought it was telling me to use LaTeX inside FormulaText. It sounds like that is - at least sometimes - not what I should be doing. I think I'm still unclear about whether to use the Text tool or not. Most of the math buttons there insert explicit LaTeX commands - including \frac. Does that make it an inferior choice?


To extend this discussion, if no formulas are involved, is there any difference between Text[] from the input bar and using the Text tool?

photo
1

Does that make it an inferior choice?


No. Most users don't know (or want to know) LaTeX - Hence FormulaText, FractionText, TableText


is there any difference between Text[] from the input bar and using the Text tool?


No

© 2019 International GeoGebra Institute