物件名稱與標籤

来自GeoGebra Manual
跳转至: 导航搜索
Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


在 GeoGebra 中,每個物件都有專屬的標籤(label)。標籤可以是單個或多個文字,甚至是下標。更多細節請參閱「物件的命名方式」。

顯示或隱藏標籤

您可用不同的方式顯示或隱藏 Menu view graphics.svg 繪圖區中物件的標籤:

  • 點選 Mode showhidelabel.svg 顯示/隱藏標籤工具並點按您想要顯示或隱藏標籤的物件。
  • 在物件上開啟快顯功能表並點選 Mode showhidelabel.svg 顯示標籤
  • 開啟物件的 Menu-options.svg 屬性對話窗,並在一般分頁勾選或取消勾選「顯示標籤」。

名稱與數值

In GeoGebra, every object has a unique name that can be used to label the object in the Menu view graphics.svg 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 Menu-options.svg 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.

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

標籤文字

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 Menu-options.svg 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)


範例: 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

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.

範例: If you want to display a nicely formatted math text, use LaTeX in captions, e.g. to display a fraction like \frac{a}{b} , in the caption field type: $\frac{a}{b}$.



© 2021 International GeoGebra Institute