mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 23:05:51 +00:00
edits to reference
This commit is contained in:
parent
508fd7e8a1
commit
44972b3587
3 changed files with 38 additions and 2 deletions
|
|
@ -2,6 +2,23 @@
|
|||
|
||||
To make references to figures, equations et cetera, use the following syntax:
|
||||
|
||||
- For figures, use: ``{numref}`<name of the figure>` ``
|
||||
- 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**
|
||||
|
||||
As can be seen in ``{numref}`Figure {number} <fig-gitpush>` `` (result) {numref}`Figure {number} <fig-gitpush>`, not related to {eq}`<eq:Newton>`
|
||||
|
||||
```{figure} ../images/git-push.png
|
||||
---
|
||||
width: 50%
|
||||
name: fig-gitpush
|
||||
---
|
||||
Some caption here
|
||||
```
|
||||
|
||||
$$ F = m\cdot a $$(eq:Newton)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue