mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Additions
This commit is contained in:
parent
13009b648c
commit
b2b5a1a20a
1 changed files with 7 additions and 4 deletions
|
|
@ -85,7 +85,7 @@ $$ 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
|
||||
Refer to Equation {eq}`eq:Newton`
|
||||
|
|
@ -113,14 +113,14 @@ Refer to Equation {eq}`eq:Newton`
|
|||
| 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
|
||||
{numref}`Table {number} <tab-example>`
|
||||
```
|
||||
|
||||
|
||||
Or use the default `[<text to display>](<table name>)`: [Reference to Example Table](tab-example)
|
||||
|
||||
## 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
|
||||
{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
|
||||
|
||||
14. Finally, let's reference a link, using the following syntax:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue