mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
indent retry 3
This commit is contained in:
parent
537a579417
commit
42f6aeebef
1 changed files with 4 additions and 4 deletions
|
|
@ -87,14 +87,14 @@ Refer to Equation {eq}`eq:Newton`
|
|||
|
||||
10. Similar methods can also be used to refer to a table. Start by creating a table by copying the code below. The identifier is defined using `:name:`.
|
||||
|
||||
```md
|
||||
````md
|
||||
```{table} Example Table
|
||||
:name: tab-example
|
||||
| Column 1 | Column 2 |
|
||||
|----------|----------|
|
||||
| A | B |
|
||||
```
|
||||
```
|
||||
````
|
||||
|
||||
|
||||
```{table} Example Table
|
||||
|
|
@ -117,7 +117,7 @@ Refer to Equation {eq}`eq:Newton`
|
|||
|
||||
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
|
||||
````md
|
||||
```{figure} figures/example.png
|
||||
---
|
||||
width: 80%
|
||||
|
|
@ -126,7 +126,7 @@ Refer to Equation {eq}`eq:Newton`
|
|||
---
|
||||
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