sphinx.ext.pngmath¶
Usage¶
.. math:: {mathematical expression}
.. math::
{mathematical expression}
.. math::
{mathematical expression 1}
{mathematical expression 2}
{mathematical expression 3}
...
{mathematical expression N}
Examples¶
.. math:: E = mc^2
E = mc^2
.. math::
(a + b)^2 = a^2 + 2ab + b^2
(a - b)^2 = a^2 - 2ab + b^2
(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
(a + b)^2 &= (a + b)(a + b) \\ &= a^2 + 2ab + b^2
.. math::
:nowrap:
\begin{eqnarray}
y & = & ax^2 + bx + c \\
f(x) & = & x^2 + 2xy + y^2
\end{eqnarray}
\begin{eqnarray} y & = & ax^2 + bx + c \\ f(x) & = & x^2 + 2xy + y^2 \end{eqnarray}
.. math::
\frac{1}{1^0} + \log{\exp{1}} = \sum_{i=0}^{9} 0.1
\frac{1}{1^0} + \log{\exp{1}} = \sum_{i=0}^{9} 0.1