Files
sphinx/tests/roots/test-ext-math/index.rst
Hong Xu 76e29ca5b3 Use "align" environment to wrap math equations instead of "gather"
Using align brings the benefit when multiple math equations are in one
math directive, alignment is provided. We also use "aligned" to wrap the
equations since in this way all the equations will be given only one
label/tag, while previously only the first equation is labeled.
2016-01-20 23:25:58 -08:00

19 lines
182 B
ReStructuredText

Test Math
=========
.. math:: a^2+b^2=c^2
Inline :math:`E=mc^2`
Second math
.. math:: e^{i\pi}+1=0
Multi math equations
.. math::
S &= \pi r^2
V &= \frac{4}{3} \pi r^3