Difference between revisions of "Labels and Captions"

From GeoGebra Manual
Jump to: navigation, search
(added v4 - added LaTex in captions - added example)
Line 1: Line 1:
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{objects}}
 
{{objects}}
In GeoGebra, each object has its unique '''label'''. For label 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 labels of objects in the Graphics View in different ways:
+
You can show or hide the objects labels in the Graphics View in different ways:
  
 
* Select the [[Image:Tool Show Hide Label.gif]] [[Show / Hide Label Tool]] and click on the object whose label you would like to show or hide.
 
* Select the [[Image:Tool Show Hide Label.gif]] [[Show / Hide Label Tool]] and click on the object whose label you would like to show or hide.
Line 12: Line 12:
  
 
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 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.
{{note|The value of a point is his 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 a. In this case, GeoGebra offers captions for all objects in addition to the three labelling 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 labelling option Caption from the drop down menu next to the checkbox Show Label.
+
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 also use [[LaTeX]] in your labels, enclosing the desired LaTeX command in $ characters, 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.
 +
 
 
You can also use following placeholders in captions:
 
You can also use following placeholders in captions:
  
Line 37: Line 40:
  
 
{{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)"}}
 +
 +
{{example|If you want to display a nicely formatted math text,  use LaTeX in captions, e.g. to display a fraction, in the caption field type "$\frac{a}{b}$"}}
 +
 +
  
 
__NOTOC__
 
__NOTOC__

Revision as of 13:40, 20 February 2011


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 Tool Show Hide Label.gif Show / Hide Label Tool and click on the object whose label you would like to show or hide.
  • Open the Context Menu for the desired object and select Tool Show Hide Label.gif 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.

Note: The value of a point is its coordinates, while the value of a function is its equation.

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 also use LaTeX in your labels, enclosing the desired LaTeX command in $ characters, 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.

You can also use following placeholders in captions:

Placeholder Meaning
%v Value
%n Name
%x x coordinate
%y y coordinate


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: If you want to display a nicely formatted math text, use LaTeX in captions, e.g. to display a fraction, in the caption field type "$\frac{a}{b}$"



© 2024 International GeoGebra Institute