2023-10-01 13:12:34 -05:00
|
|
|
.. highlight:: rst
|
|
|
|
|
2023-10-01 14:03:34 -05:00
|
|
|
======================
|
2023-10-01 13:12:34 -05:00
|
|
|
The Mathematics Domain
|
2023-10-01 14:03:34 -05:00
|
|
|
======================
|
2023-10-01 13:12:34 -05:00
|
|
|
|
2023-10-01 14:04:02 -05:00
|
|
|
.. versionadded:: 1.8
|
|
|
|
|
2023-10-01 13:12:34 -05:00
|
|
|
The math domain (name **math**) provides the following roles:
|
|
|
|
|
|
|
|
.. rst:role:: math:numref
|
|
|
|
|
|
|
|
Role for cross-referencing equations defined by :rst:dir:`math` directive
|
|
|
|
via their label. Example::
|
|
|
|
|
|
|
|
.. math:: e^{i\pi} + 1 = 0
|
|
|
|
:label: euler
|
|
|
|
|
|
|
|
Euler's identity, equation :math:numref:`euler`, was elected one of the
|
|
|
|
most beautiful mathematical formulas.
|
|
|
|
|
|
|
|
.. versionadded:: 1.8
|