Source

sphinx / tests / root / math.txt

Full commit
Test math extensions
====================

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

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

.. math::

   a^2 + b^2 = c^2

.. math::
   :label: foo

   e^{i\pi} = 1

.. math::
   :label:

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

Referencing equation :eq:`foo`.