From b2b5a1a20a89647e9fccb1beeff2e9d96dad15eb Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Thu, 27 Mar 2025 08:50:32 +0100 Subject: [PATCH] Additions --- book/syntax_exercises/009.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index d46c66e..a80e705 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -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 `[]()`: [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} ` using `{numref}` and `{number}` as follows: +11. Refer to the table like {numref}`Table {number} ` using `{numref}` and `{number}` as follows. You can add text as you did in exercise 6. ```md {numref}`Table {number} ` ``` - +Or use the default `[]()`: [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} ` using `{numref}` as follows: +13. Refer to the figure in the format {numref}`Figure {number} ` using `{numref}` as follows. You can add text as you did in exercise 6. ```md {numref}`Figure {number} ` ``` +Alternatively use `{ref}` to use the figure name instead of number, or use the default `[](
)`. + + ## Referencing a Link 14. Finally, let's reference a link, using the following syntax: