Skip to content

Commit c91eb54

Browse files
committed
Add next_whats_new entries for mathtext features
1 parent d1befa7 commit c91eb54

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
``mathtext`` now supports ``\substack``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
``\substack`` can be used to create multi-line subscripts or superscripts within an equation.
5+
6+
To use it to enclose the math in a substack command as shown:
7+
8+
.. code-block::
9+
10+
r'$\sum_{\substack{1\leq i\leq 3\\ 1\leq j\leq 5}}$'
11+
12+
.. math::
13+
\sum_{\substack{1\leq i\leq 3\\ 1\leq j\leq 5}}
14+
15+
16+
``mathtext`` now supports ``\middle`` delimiter
17+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
19+
The ``\middle`` delimiter has been added, and can now be used with the
20+
``\left`` and ``\right`` delimiters:
21+
22+
To use the middle command enclose it in between the ``\left`` and
23+
``\right`` delimiter command as shown:
24+
25+
.. code-block::
26+
27+
r'$\left( \frac{a}{b} \middle| q \right)$'
28+
29+
.. math::
30+
\left( \frac{a}{b} \middle| q \right)

0 commit comments

Comments
 (0)