Tweak mathtext/tex docs. · oscargus/matplotlib@74f68dc · GitHub
Skip to content

Commit 74f68dc

Browse files
committed
Tweak mathtext/tex docs.
- Fix typos/mismatched parentheses/markup in mathtext.py. - Make the title of pgf.py consistent with the title of usetex.py. - Prefer "modern" approach for setting fonts in usetex.py, but keep the old approach around (as the new API is only on Matplotlib 3.5). - Clarify non-standard tex settings.
1 parent 04051bd commit 74f68dc

3 files changed

Lines changed: 67 additions & 61 deletions

File tree

tutorials/text/mathtext.py

Lines changed: 3 additions & 3 deletions

tutorials/text/pgf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r"""
2-
*********************************************************
3-
Typesetting with XeLaTeX/LuaLaTeX via the ``pgf`` backend
4-
*********************************************************
2+
************************************************************
3+
Text rendering with XeLaTeX/LuaLaTeX via the ``pgf`` backend
4+
************************************************************
55
66
Using the ``pgf`` backend, Matplotlib can export figures as pgf drawing
77
commands that can be processed with pdflatex, xelatex or lualatex. XeLaTeX and

tutorials/text/usetex.py

Lines changed: 61 additions & 55 deletions

0 commit comments

Comments
 (0)