Additions

This commit is contained in:
Tom van Woudenberg 2025-03-27 08:50:32 +01:00
parent 13009b648c
commit b2b5a1a20a

View file

@ -85,7 +85,7 @@ $$ F = m \cdot a$$ (eq:Newton)
$$ F = m \cdot a$$ (eq:Newton) $$ F = m \cdot a$$ (eq:Newton)
9. Refer to this equation by using `{eq}` and calling the identifier within the `` to achieve: Refer to Equation {eq}`eq:Newton`. 9. Refer to this equation by using `{eq}` and calling the identifier within the `` to achieve: Refer to Equation {eq}`eq:Newton`. This will automatically insert the number of the equation. You can add text as you did in exercise 6. Alternatively, you can use the default `[<text to display>](<identifier>)`: [Newton Equation](eq:Newton).
```md ```md
Refer to Equation {eq}`eq:Newton` Refer to Equation {eq}`eq:Newton`
@ -113,14 +113,14 @@ Refer to Equation {eq}`eq:Newton`
| A | B | | A | B |
``` ```
11. Refer to the table like {numref}`Table {number} <tab-example>` using `{numref}` and `{number}` as follows: 11. Refer to the table like {numref}`Table {number} <tab-example>` using `{numref}` and `{number}` as follows. You can add text as you did in exercise 6.
```md ```md
{numref}`Table {number} <tab-example>` {numref}`Table {number} <tab-example>`
``` ```
Or use the default `[<text to display>](<table name>)`: [Reference to Example Table](tab-example)
## Referencing a Figure ## Referencing a Figure
@ -138,12 +138,15 @@ Example figure.
```` ````
13. Refer to the figure in the format {numref}`Figure {number} <fig-example>` using `{numref}` as follows: 13. Refer to the figure in the format {numref}`Figure {number} <fig-example>` using `{numref}` as follows. You can add text as you did in exercise 6.
```md ```md
{numref}`Figure {number} <fig-example>` {numref}`Figure {number} <fig-example>`
``` ```
Alternatively use `{ref}` to use the figure name instead of number, or use the default `[<Eventually text to display, otherwise use title>](<figure name>)`.
## Referencing a Link ## Referencing a Link
14. Finally, let's reference a link, using the following syntax: 14. Finally, let's reference a link, using the following syntax: