diff --git a/tutorials/text/mathtext.py b/tutorials/text/mathtext.py index 3663d27f5f8b..97bba56ec426 100644 --- a/tutorials/text/mathtext.py +++ b/tutorials/text/mathtext.py @@ -1,15 +1,14 @@ r""" Writing mathematical expressions ================================ -An introduction to writing mathematical expressions in Matplotlib. -You can use a subset TeX markup in any matplotlib text string by placing it +You can use a subset of TeX markup in any Matplotlib text string by placing it inside a pair of dollar signs ($). Note that you do not need to have TeX installed, since Matplotlib ships its own TeX expression parser, layout engine, and fonts. The layout engine is a fairly direct adaptation of the layout algorithms in Donald Knuth's -TeX, so the quality is quite good (matplotlib also provides a ``usetex`` +TeX, so the quality is quite good (Matplotlib also provides a ``usetex`` option for those who do want to call out to TeX to generate their text (see :doc:`/tutorials/text/usetex`). @@ -357,6 +356,4 @@ :target: ../../gallery/pyplots/pyplot_mathtext.html :align: center :scale: 50 - - Pyplot Mathtext """ diff --git a/tutorials/text/pgf.py b/tutorials/text/pgf.py index 43e7a9628973..64353d6c3cdd 100644 --- a/tutorials/text/pgf.py +++ b/tutorials/text/pgf.py @@ -1,6 +1,6 @@ r""" ********************************* -Typesetting With XeLaTeX/LuaLaTeX +Typesetting with XeLaTeX/LuaLaTeX ********************************* How to typeset text with the ``pgf`` backend in Matplotlib. diff --git a/tutorials/text/usetex.py b/tutorials/text/usetex.py index 40e51d9317c1..29c292d92c2d 100644 --- a/tutorials/text/usetex.py +++ b/tutorials/text/usetex.py @@ -1,6 +1,6 @@ r""" ************************* -Text rendering With LaTeX +Text rendering with LaTeX ************************* Matplotlib can use LaTeX to render text. This is activated by setting @@ -50,7 +50,7 @@ }) Here is the standard example, -:file:`/gallery/text_labels_and_annotations/tex_demo`: +:doc:`/gallery/text_labels_and_annotations/tex_demo`: .. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_tex_demo_001.png :target: ../../gallery/text_labels_and_annotations/tex_demo.html @@ -131,7 +131,7 @@ problems. Please disable this option before reporting problems to the mailing list. -* If you still need help, please see :ref:`reporting-problems` +* If you still need help, please see :ref:`reporting-problems`. .. _dvipng: http://www.nongnu.org/dvipng/ .. _dvips: https://tug.org/texinfohtml/dvips.html