Commit 8bf18f2
committed
PGF: Set up font sizes to match font.size setting
This allows the output .pgf file to be used in external documents
with arbitrary font size settings (which should match the rc setting
font.size). This avoids mismatches between matplotlib and external
LaTeX documents for things that depend on the font size setting (e.g.
unicode-math).
If the LaTeX package scrextend is present, this also adjusts the
standard LaTeX font commands (\tiny, ..., \normalsize, ..., \Huge)
relative to font.size.1 parent 14a5900 commit 8bf18f2
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
| |||
0 commit comments