Difference between revisions of "Labels and Captions"
m (→Caption: mark the words that are used in GeoGebra) |
m (→Caption) |
||
(18 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{objects|property}} |
− | {{objects|property}} | ||
In GeoGebra, each object has its unique '''label'''. For labeling you can choose one or more letters, possibly with subscript. For details see [[Naming Objects]]. | In GeoGebra, each object has its unique '''label'''. For labeling you can choose one or more letters, possibly with subscript. For details see [[Naming Objects]]. | ||
==Show and Hide Labels== | ==Show and Hide Labels== | ||
− | You can show or hide the objects labels in the Graphics View in different ways: | + | You can show or hide the objects labels in the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] in different ways: |
− | * Select the [[ | + | * Select the [[File:Mode showhidelabel.svg|link=|22px]] [[Show / Hide Label Tool]] and select the object whose label you would like to show or hide. |
− | * Open the [[Context Menu]] for the desired object and select | + | * Open the [[Context Menu]] for the desired object and select [[File:Mode showhidelabel.svg|link=|22px]] ''Show Label''. |
− | * Open the [[Properties Dialog]] for the desired object and check or un-check the checkbox Show Label on tab Basic. | + | * Open the [[File:Menu-options.svg|link=|16px]] [[Properties Dialog]] for the desired object and check or un-check the checkbox ''Show Label'' on tab ''Basic''. |
==Name and Value== | ==Name and Value== | ||
− | In GeoGebra, every object has a unique name that can be used to label the object in the Graphics View. In addition, an object can also be labeled using its value or its name and value. You can change this label setting in the Properties Dialog on tab Basic by selecting the corresponding option Name, Value, or Name & Value from the drop down menu next to the checkbox Show Label. | + | In GeoGebra, every object has a unique name that can be used to label the object in the [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''. In addition, an object can also be labeled using its value or its name and value. You can change this label setting in the [[File:Menu-options.svg|link=|16px]] ''Properties Dialog'' on tab ''Basic'' by selecting the corresponding option ''Name'', ''Value'', or ''Name & Value'' from the drop down menu next to the checkbox ''Show Label''. |
{{note|The value of a point is its coordinates, while the value of a function is its equation.}} | {{note|The value of a point is its coordinates, while the value of a function is its equation.}} | ||
==Caption== | ==Caption== | ||
− | However, sometimes you might want to give several objects the same label, for example, to label the four edges of a square | + | However, sometimes you might want to give several objects the same label, for example, to label the four edges of a square ''a''. In this case, GeoGebra offers captions for all objects, in addition to the three labeling options mentioned above. You can set the caption of an object on tab ''Basic'' of the [[File:Menu-options.svg|link=|16px]] ''Properties Dialog'' by entering the desired caption into the text field called "Caption". Afterwards, you can select the labeling option "Caption" from the drop down menu next to the checkbox "Show Label". |
You can use following placeholders in captions: | You can use following placeholders in captions: | ||
Line 23: | Line 22: | ||
!Placeholder | !Placeholder | ||
!Meaning | !Meaning | ||
+ | |- | ||
+ | |%c | ||
+ | |The value of the adjacent spreadsheet cell (to the right), which should be an independent text<br>Not dynamic: i.e. the caption won't be updated unless you press {{KeyCode|F9}} or {{KeyCode|Ctrl+R}} | ||
|- | |- | ||
|%v | |%v | ||
Line 29: | Line 31: | ||
|%n | |%n | ||
|Name | |Name | ||
+ | |- | ||
+ | |%d | ||
+ | |Description | ||
+ | |- | ||
+ | |%f | ||
+ | |Definition | ||
|- | |- | ||
|%x | |%x | ||
Line 34: | Line 42: | ||
|- | |- | ||
|%y | |%y | ||
− | |y coordinate (or | + | |y coordinate (or y coefficient for the line a x + b y + c = 0) |
|- | |- | ||
|%z | |%z | ||
− | | | + | |z coordinate (or constant ''c' term for the line a x + b y + c = 0) |
|} | |} | ||
Line 43: | Line 51: | ||
{{example|Let A be a point and (1,2) be its coordinates. Setting the caption to "Point %n has coordinates %v" results in caption "Point A has coordinates (1,2)"}} | {{example|Let A be a point and (1,2) be its coordinates. Setting the caption to "Point %n has coordinates %v" results in caption "Point A has coordinates (1,2)"}} | ||
===LaTeX in Captions=== | ===LaTeX in Captions=== | ||
− | You can also use [[LaTeX]] in your labels, enclosing the desired LaTeX command in dollar characters ( | + | You can also use [[LaTeX]] in your labels, enclosing the desired LaTeX command in dollar characters (e.g. <code>'''$ x^{2} $'''</code>), and choose from a list of most commonly used Greek letters and operators, just clicking on the little box displayed at the end of the ''Caption'' field. |
− | |||
− | |||
− | {{ | + | {{example|1=If you want to display a nicely formatted math text, use LaTeX in captions, e.g. to display a fraction like <math> \frac{a}{b} </math>, in the caption field type: '''<code>$\frac{a}{b}$</code>'''.}} |
__NOTOC__ | __NOTOC__ |
Latest revision as of 19:00, 9 June 2017
In GeoGebra, each object has its unique label. For labeling you can choose one or more letters, possibly with subscript. For details see Naming Objects.
Show and Hide Labels
You can show or hide the objects labels in the Graphics View in different ways:
- Select the Show / Hide Label Tool and select the object whose label you would like to show or hide.
- Open the Context Menu for the desired object and select Show Label.
- Open the Properties Dialog for the desired object and check or un-check the checkbox Show Label on tab Basic.
Name and Value
In GeoGebra, every object has a unique name that can be used to label the object in the Graphics View. In addition, an object can also be labeled using its value or its name and value. You can change this label setting in the Properties Dialog on tab Basic by selecting the corresponding option Name, Value, or Name & Value from the drop down menu next to the checkbox Show Label.
Caption
However, sometimes you might want to give several objects the same label, for example, to label the four edges of a square a. In this case, GeoGebra offers captions for all objects, in addition to the three labeling options mentioned above. You can set the caption of an object on tab Basic of the Properties Dialog by entering the desired caption into the text field called "Caption". Afterwards, you can select the labeling option "Caption" from the drop down menu next to the checkbox "Show Label".
You can use following placeholders in captions:
Placeholder | Meaning |
---|---|
%c | The value of the adjacent spreadsheet cell (to the right), which should be an independent text Not dynamic: i.e. the caption won't be updated unless you press F9 or Ctrl + R |
%v | Value |
%n | Name |
%d | Description |
%f | Definition |
%x | x coordinate (or x coefficient for the line a x + b y + c = 0) |
%y | y coordinate (or y coefficient for the line a x + b y + c = 0) |
%z | z coordinate (or constant c' term for the line a x + b y + c = 0) |
LaTeX in Captions
You can also use LaTeX in your labels, enclosing the desired LaTeX command in dollar characters (e.g. $ x^{2} $
), and choose from a list of most commonly used Greek letters and operators, just clicking on the little box displayed at the end of the Caption field.
$\frac{a}{b}$
.