数学公式
:math: #行内公式
Since Pythagoras, we know that :math:`a^2 + b^2 = c^2`.
.. math:: #单行公式
.. math::
(a + b)^2 = a^2 + 2ab + b^2
(a - b)^2 = a^2 - 2ab + b^2
.. math::
(a + b)^2 &= (a + b)(a + b) \\
&= a^2 + 2ab + b^2
.. math:: (a + b)^2 = a^2 + 2ab + b^2
参考文献:
http://www.sphinx-doc.org/en/stable/ext/math.html#module-sphinx.ext.imgmath