Difference between revisions of "RotateText Command"

From GeoGebra Manual
Jump to: navigation, search
m (code tag)
Line 3: Line 3:
 
;RotateText[ <Text>, <Angle> ]
 
;RotateText[ <Text>, <Angle> ]
 
:Returns text rotated by given angle. [[LaTeX]] is used for rendering of the result.
 
:Returns text rotated by given angle. [[LaTeX]] is used for rendering of the result.
{{Example|1=RotateText["a = 5", 45°]}}
+
:{{Example|1=<div><code><nowiki>RotateText["a = 5", 45°]</nowiki></code></div>}}
 
{{Notes|1=
 
{{Notes|1=
* The text needs to be enclosed in double quotes <code> " </code>.
+
* The text needs to be enclosed in double quotes <code> "</code>.
 
* The text is rotated around the top left corner (also known as corner 4) of the box containing the text.  
 
* The text is rotated around the top left corner (also known as corner 4) of the box containing the text.  
 
* The angle is in radians unless you explicitly use the degree symbol <code>°</code>.}}
 
* The angle is in radians unless you explicitly use the degree symbol <code>°</code>.}}

Revision as of 12:54, 28 June 2013



RotateText[ <Text>, <Angle> ]
Returns text rotated by given angle. LaTeX is used for rendering of the result.
Example:
RotateText["a = 5", 45°]
Notes:
  • The text needs to be enclosed in double quotes ".
  • The text is rotated around the top left corner (also known as corner 4) of the box containing the text.
  • The angle is in radians unless you explicitly use the degree symbol °.
© 2024 International GeoGebra Institute