mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
24 lines
699 B
Markdown
24 lines
699 B
Markdown
# References
|
|
|
|
To make references to figures, equations et cetera, use the following syntax:
|
|
|
|
- For figures, use: ``{numref}`Figure {number} <name of the figure>` ``
|
|
- For equations, use: ``{eq}`<equation label>` ``
|
|
- For citations, use: ``{cite:p}`<bibtex_entry>` `` for a citation between parenthesis, or ``{cite:t}`<bibtex_entry>` `` for an inline citation.
|
|
|
|
**Examples**
|
|
|
|
- Using ``{numref}`Figure {number} <fig-gitpush>` `` produces the output: {numref}`Figure {number} <fig-gitpush>`.
|
|
|
|
```{figure} ../images/git-push.png
|
|
---
|
|
width: 50%
|
|
name: fig-gitpush
|
|
---
|
|
Some caption here
|
|
```
|
|
|
|
- Using ``{eq}`<eq:Newton>` `` to refer to Newton's second law {eq}`eq:Newton`.
|
|
|
|
$$ F = m\cdot a $$(eq:Newton)
|
|
|