FormulaText Command

From GeoGebra Manual
Revision as of 05:29, 3 November 2010 by K Voss (talk | contribs) (added note to definition)
Jump to: navigation, search


FormulaText[Object]
Returns the formula for the object as a LaTeX text.
Note: By default, values are substituted for variables.
Example: If a = 2 and f(x) = a x2, then FormulaText[f] returns 2 x2 (as a LaTeX text).
FormulaText[Object, Boolean]
Returns the formula for the object as LaTeX text. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).
Examples: If a = 2 and f(x) = a x2, then
FormulaText[f, true] returns 2 x2 (as a LaTeX text) and
FormulaText[f, false] returns a x2 (as a LaTeX text).
© 2022 International GeoGebra Institute