File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
r"""
2
2
Writing mathematical expressions
3
3
================================
4
- An introduction to writing mathematical expressions in Matplotlib.
5
4
6
- You can use a subset TeX markup in any matplotlib text string by placing it
5
+ You can use a subset of TeX markup in any Matplotlib text string by placing it
7
6
inside a pair of dollar signs ($).
8
7
9
8
Note that you do not need to have TeX installed, since Matplotlib ships
10
9
its own TeX expression parser, layout engine, and fonts. The layout engine
11
10
is a fairly direct adaptation of the layout algorithms in Donald Knuth's
12
- TeX, so the quality is quite good (matplotlib also provides a ``usetex``
11
+ TeX, so the quality is quite good (Matplotlib also provides a ``usetex``
13
12
option for those who do want to call out to TeX to generate their text (see
14
13
:doc:`/tutorials/text/usetex`).
15
14
357
356
:target: ../../gallery/pyplots/pyplot_mathtext.html
358
357
:align: center
359
358
:scale: 50
360
-
361
- Pyplot Mathtext
362
359
"""
Original file line number Diff line number Diff line change 1
1
r"""
2
2
*********************************
3
- Typesetting With XeLaTeX/LuaLaTeX
3
+ Typesetting with XeLaTeX/LuaLaTeX
4
4
*********************************
5
5
6
6
How to typeset text with the ``pgf`` backend in Matplotlib.
Original file line number Diff line number Diff line change 1
1
r"""
2
2
*************************
3
- Text rendering With LaTeX
3
+ Text rendering with LaTeX
4
4
*************************
5
5
6
6
Matplotlib can use LaTeX to render text. This is activated by setting
50
50
})
51
51
52
52
Here is the standard example,
53
- :file :`/gallery/text_labels_and_annotations/tex_demo`:
53
+ :doc :`/gallery/text_labels_and_annotations/tex_demo`:
54
54
55
55
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_tex_demo_001.png
56
56
:target: ../../gallery/text_labels_and_annotations/tex_demo.html
131
131
problems. Please disable this option before reporting problems to
132
132
the mailing list.
133
133
134
- * If you still need help, please see :ref:`reporting-problems`
134
+ * If you still need help, please see :ref:`reporting-problems`.
135
135
136
136
.. _dvipng: http://www.nongnu.org/dvipng/
137
137
.. _dvips: https://tug.org/texinfohtml/dvips.html
You can’t perform that action at this time.
0 commit comments