summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-math/math.rst
blob: c05c3a053679a4d7ceb9d242afe5d6f5ee961525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Test math extensions :math:`E = m c^2`
======================================

This is inline math: :math:`a^2 + b^2 = c^2`.

.. math:: a^2 + b^2 = c^2

.. math::

   a + 1 < b

.. math::
   :label: foo

   e^{i\pi} = 1

.. math::
   :label:

   e^{ix} = \cos x + i\sin x

.. math::

   n \in \mathbb N

.. math::
   :nowrap:

   a + 1 < b

Referencing equation :eq:`foo` and :math:numref:`foo`.