final changes 09

This commit is contained in:
Katia Gatt 2025-03-22 17:59:12 +01:00
parent 2d74872a6e
commit cfdcfe8482

View file

@ -1,4 +1,6 @@
In this exercise, you will learn how to create references to other parts of your book, such as chapters, sections, equations, tables, figures, and links.
# Exercise 9: Cross-referencing content
In this exercise, you will learn how to create references to other parts of your book, such as chapters, sections, equations, tables and figures, as well as links.
::::::{topic} Exercise objective
Can you create internal references to other sections, equations, tables, figures, and links?
@ -57,14 +59,14 @@ These three referencing methods can also be used for referencing equations, tabl
## 2. Referencing an Equation
To reference an equation, you need to define a label using `{eq}` and refer to it elsewhere in your text:
To reference an equation, you need to define a label when creating the equation and refer to it elsewhere in your text using `{eq}`:
```md
```{math}
:label: eq-example
E = mc^2
```
```{math}
:label: eq-example
E = mc^2
```
```
@ -89,7 +91,7 @@ To reference a table, assign a label when defining it:
```
```
And refer to it using:
And refer to it using `{numref}`:
```md
Table {numref}`tab-example`
@ -111,7 +113,7 @@ To reference a figure, label it when inserting it:
```
```
And refer to it using:
And refer to it using `{numref}`:
```md
Figure {numref}`fig-example`