Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e439701

Browse files
committed
Add examples of different mathtext font sets.
svn path=/trunk/matplotlib/; revision=5364
1 parent c81cb87 commit e439701

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

doc/_static/cm_fontset.png

3.17 KB
Loading

doc/_static/stix_fontset.png

2.94 KB
Loading

doc/_static/stixsans_fontset.png

2.92 KB
Loading

doc/users/mathtext.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,20 @@ When using the STIX fonts, you also have the choice of:
160160

161161
.. image:: ../_static/stix_fonts.png
162162

163+
There are also three global "font sets" to choose from, which are
164+
selected using the ``mathtext.fontset`` parameter in ``matplotibrc``.
165+
166+
``cm``: **Computer Modern (TeX)**
167+
168+
.. image:: ../_static/cm_fontset.png
169+
170+
``stix``: **STIX** (designed to blend well with Times)
171+
172+
.. image:: ../_static/stix_fontset.png
173+
174+
``stixsans``: **STIX sans-serif**
175+
176+
.. image:: ../_static/stixsans_fontset.png
163177

164178
Accents
165179
-------

0 commit comments

Comments
 (0)