Difference between revisions of "RotateText Command"
From GeoGebra Manual
m |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|text}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|text}} | ||
− | ;RotateText | + | ;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=<div><code><nowiki>RotateText | + | :{{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:05, 3 October 2017
- 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
°
.