FormulaText Command
- FormulaText( <Object> )
-
Returns the formula that defines the object as a LaTeX text. Values are substituted for variables by default.
Let a = 2 and f(x) = a x2. FormulaText(f)
returns 2 x2 (as a LaTeX text).
In GeoGebra Classic v.5, the command |
- FormulaText( <Object>, <Boolean for Substitution of Variables> )
-
Returns the formula that defines the object as a LaTeX text. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).
Let a = 2 and f(x) = a x2.
FormulaText(f, true)
returns 2 x2 (as a LaTeX text).
FormulaText(f, false)
returns a x2 (as a LaTeX text).
- FormulaText( <Object>, <Boolean for Substitution of Variables>, <Boolean Show Name> )
-
Returns the formula that defines the object as a LaTeX text. The first Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false), the second Boolean variable determines if the object name is shown in the text (true) or not (false).
Let a = 2 and f(x) = a x2.
FormulaText(f, true, true)
returns f(x) = 2 x2 (as a LaTeX text).
FormulaText(f, false, false)
returns a x2 (as a LaTeX text).