Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions doc/users/next_whats_new/mathtext_features.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
``mathtext`` now supports ``\substack``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``\substack`` can be used to create multi-line subscripts or superscripts within an equation.

To use it to enclose the math in a substack command as shown:

.. code-block::

r'$\sum_{\substack{1\leq i\leq 3\\ 1\leq j\leq 5}}$'

.. mathmpl::

\sum_{\substack{1\leq i\leq 3\\ 1\leq j\leq 5}}


``mathtext`` now supports ``\middle`` delimiter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``\middle`` delimiter has been added, and can now be used with the
``\left`` and ``\right`` delimiters:

To use the middle command enclose it in between the ``\left`` and
``\right`` delimiter command as shown:

.. code-block::

r'$\left( \frac{a}{b} \middle| q \right)$'

.. mathmpl::

\left( \frac{a}{b} \middle| q \right)