mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
updated indent
This commit is contained in:
parent
3a2db9bc6f
commit
278ac39643
1 changed files with 8 additions and 16 deletions
|
|
@ -97,14 +97,6 @@ Refer to Equation {eq}`eq:Newton`
|
|||
```
|
||||
|
||||
|
||||
|
||||
```{table} Example Table
|
||||
name: tab-example
|
||||
| Column 1 | Column 2 |
|
||||
|----------|----------|
|
||||
| A | B |
|
||||
```
|
||||
|
||||
11. Refer to the table like {numref}`Table {number} <tab-example>` using `{numref}` and `{number}` as follows:
|
||||
|
||||
|
||||
|
|
@ -118,14 +110,14 @@ name: tab-example
|
|||
12. This can also be done for a figure. Let's add a figure as we learnt to do in [Exercise 8](008.md), but this time adding an identifier using `name:`.
|
||||
|
||||
```md
|
||||
```{figure} figures/example.png
|
||||
---
|
||||
width: 80%
|
||||
align: center
|
||||
name: fig-example
|
||||
---
|
||||
Example figure.
|
||||
```
|
||||
```{figure} figures/example.png
|
||||
---
|
||||
width: 80%
|
||||
align: center
|
||||
name: fig-example
|
||||
---
|
||||
Example figure.
|
||||
```
|
||||
```
|
||||
|
||||
13. Refer to the figure in the format {numref}`Figure {number} <fig-example>` using `{numref}` as follows:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue