.. _sphx_glr_tutorials_text:
.. _tutorials-text:
Text
----
matplotlib has extensive text support, including support for
mathematical expressions, truetype support for raster and
vector outputs, newline separated text with arbitrary
rotations, and Unicode support. These tutorials cover
the basics of working with text in Matplotlib.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_text_intro_thumb.png
:alt: Text in Matplotlib Plots
:ref:`sphx_glr_tutorials_text_text_intro.py`
.. raw:: html
Text in Matplotlib Plots
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_text_props_thumb.png
:alt: Text properties and layout
:ref:`sphx_glr_tutorials_text_text_props.py`
.. raw:: html
Text properties and layout
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_annotations_thumb.png
:alt: Annotations
:ref:`sphx_glr_tutorials_text_annotations.py`
.. raw:: html
Annotations
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_mathtext_thumb.png
:alt: Writing mathematical expressions
:ref:`sphx_glr_tutorials_text_mathtext.py`
.. raw:: html
Writing mathematical expressions
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_pgf_thumb.png
:alt: Text rendering with XeLaTeX/LuaLaTeX via the ``pgf`` backend
:ref:`sphx_glr_tutorials_text_pgf.py`
.. raw:: html
Text rendering with XeLaTeX/LuaLaTeX via the ``pgf`` backend
.. raw:: html
.. only:: html
.. image:: /tutorials/text/images/thumb/sphx_glr_usetex_thumb.png
:alt: Text rendering with LaTeX
:ref:`sphx_glr_tutorials_text_usetex.py`
.. raw:: html
Text rendering with LaTeX
.. raw:: html
.. toctree::
:hidden:
/tutorials/text/text_intro
/tutorials/text/text_props
/tutorials/text/annotations
/tutorials/text/mathtext
/tutorials/text/pgf
/tutorials/text/usetex