File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
galleries/users_explain/text Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,10 @@ This allows users to set the location of the legend in a more flexible and consi
327327Mathtext improvements
328328=====================
329329
330+ Improvements are to Mathtext, Matplotlib's native TeX-like mathematics parser
331+ (see :ref: `mathtext `, not to be confused with Matplotlib using LaTeX directly:
332+ :ref: `usetex `).
333+
330334Boldsymbol mathtext command ``\boldsymbol ``
331335-------------------------------------------
332336
Original file line number Diff line number Diff line change 88================================
99
1010Matplotlib implements a lightweight TeX expression parser and layout engine and
11- *Mathtext* is the subset of Tex markup that this engine supports. Any string can
12- be processed as Mathtext by placing the string inside a pair of dollar signs
13- ``'$'``. Mathtext often contains many backslashes ``'\'``; so that the backslashes
14- do not need to be escaped, Mathtext is often written using raw strings. For
15- example:
11+ *Mathtext* is the subset of Tex markup that this engine supports. Note that
12+ Matplotlib can also render all text directly using TeX if :rc:`text.usetex` is
13+ *True*; see :ref:`usetex` for more details. Mathtext support is available
14+ if :rc:`text.usetex` is *False*.
15+
16+ Any string can be processed as Mathtext by placing the string inside a pair of
17+ dollar signs ``'$'``. Mathtext often contains many backslashes ``'\'``; so that
18+ the backslashes do not need to be escaped, Mathtext is often written using raw
19+ strings. For example:
1620"""
1721
1822import matplotlib .pyplot as plt
You can’t perform that action at this time.
0 commit comments