8000 Reorder mathtext rcparams in matplotlibrc template. · matplotlib/matplotlib@3b9fe28 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b9fe28

Browse files
committed
Reorder mathtext rcparams in matplotlibrc template.
- mathtext.cal/rm/... are *only* used for mathtext.fontset = "custom", so define mathtext.fontset first. - Reorder mathtext.cal/rm/... alphabetically (the previous order was kind of arbitrary anyways).
1 parent 555e1c3 commit 3b9fe28

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

matplotlibrc.template

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -316,18 +316,19 @@
316316
# This only affects the Agg backend.
317317

318318
## The following settings allow you to select the fonts in math mode.
319-
## They map from a TeX font name to a fontconfig font pattern.
320-
## These settings are only used if mathtext.fontset is 'custom'.
321-
## Note that this "custom" mode is unsupported and may go away in the future.
319+
#mathtext.fontset: dejavusans # Should be 'dejavusans' (default),
320+
# 'dejavuserif', 'cm' (Computer Modern), 'stix',
321+
# 'stixsans' or 'custom' (unsupported, may go
322+
# away in the future)
323+
## "mathtext.fontset: custom" is defined by the mathtext.bf, .cal, .it, ...
324+
## settings which map a TeX font name to a fontconfig font pattern. (These
325+
## settings are not used for other font sets.)
326+
#mathtext.bf: sans:bold
322327
#mathtext.cal: cursive
323-
#mathtext.rm: sans
324-
#mathtext.tt: monospace
325328
#mathtext.it: sans:italic
326-
#mathtext.bf: sans:bold
329+
#mathtext.rm: sans
327330
#mathtext.sf: sans
328-
#mathtext.fontset: dejavusans # Should be 'dejavusans' (default),
329-
# 'dejavuserif', 'cm' (Computer Modern), 'stix',
330-
# 'stixsans' or 'custom'
331+
#mathtext.tt: monospace
331332
#mathtext.fallback_to_cm: True # When True, use symbols from the Computer Modern
332333
# fonts when a symbol can not be found in one of
333334
# the custom math fonts.

0 commit comments

Comments
 (0)
0