| 1 |
.. highlight:: rst |
| 2 |
|
| 3 |
====================== |
| 4 |
The Mathematics Domain |
| 5 |
====================== |
| 6 |
|
| 7 |
.. versionadded:: 1.8 |
| 8 |
|
| 9 |
The math domain (name **math**) provides the following roles: |
| 10 |
|
| 11 |
.. rst:role:: math:numref |
| 12 |
|
| 13 |
Role for cross-referencing equations defined by :rst:dir:`math` directive |
| 14 |
via their label. Example:: |
| 15 |
|
| 16 |
.. math:: e^{i\pi} + 1 = 0 |
| 17 |
:label: euler |
| 18 |
|
| 19 |
Euler's identity, equation :math:numref:`euler`, was elected one of the |
| 20 |
most beautiful mathematical formulas. |
| 21 |
|
| 22 |
.. versionadded:: 1.8 |