<commit_before>.. math::
    
   (a + b)^2 = a^2 + 2ab + b^2
   
:math:`(a + b)^2 = a^2 + 2ab + b^2` inline<commit_msg>Test more stuff in sphinx mode<commit_after>Bring rst2pdf math support to the level of sphinx's math extension.

Inline Math
~~~~~~~~~~~

Since Pythagoras, we know that :math:`a^2 + b^2 = c^2`.

Math Directive
~~~~~~~~~~~~~~

This below should go in two lines:

.. math::

   (a + b)^2 = a^2 + 2ab + b^2

   (a - b)^2 = a^2 - 2ab + b^2

Aligned equations:
   
.. math::
    
   (a + b)^2  &=  (a + b)(a + b) \\
              &=  a^2 + 2ab + b^2

Simple math can go as argument of the directive              
              
.. math:: (a + b)^2 = a^2 + 2ab + b^2

The :eq:`euler` label should point at this equation:

.. math:: e^{i\pi} + 1 = 0
   :label: euler

.. math::
   :nowrap:

   \begin{eqnarray}
      y    & = & ax^2 + bx + c \\
      f(x) & = & x^2 + 2xy + y^2
   \end{eqnarray}
{'fraction_non_alphanumeric': 0.19514884233737598, 'fraction_numerical': 0.037486218302094816, 'mean_word_length': 2.036789297658863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2419', 'n_tokens_mistral': 385, 'n_tokens_neox': 369, 'n_words': 110}