Text Command

From GeoGebra Manual
Revision as of 01:29, 26 May 2011 by Zbynek (talk | contribs)
Jump to: navigation, search


Text[Object]
Returns the formula for the object as a text object.
Note: By default, values are substituted for variables.
Example: If a = 2 and c = a2, then Text[c] returns the text "4".


Text[Object, Boolean]
Returns the formula for the object as a text object. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).
Example:
If a = 2 and c = a2, then
  • Text[c, true] returns the text "4" and
  • Text[c, false] returns the text "a2"


Text[Object, Point]
Returns the formula for the object as a text object at the position of the given point.
Example: Text["hello", (2, 3)] draws the text at the position (2, 3).
Text[Object, Point, Boolean]
Returns the formula for the object as a text object at the position of the given point. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).
Text[Object, Point, Boolean substitute,Boolean LaTex]

Returns the formula for the object as a text object at the position of the given point. First Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false). If second boolean variable is true, the result is rendered using LaTeX.

© 2024 International GeoGebra Institute