Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f305f5f

Browse filesBrowse files
committed
PGF: Expand comment on use of scrextend LaTeX package
1 parent 6d49b51 commit f305f5f
Copy full SHA for f305f5f

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎lib/matplotlib/backends/backend_pgf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_pgf.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def _get_preamble():
4848
# Use displaystyle for all math.
4949
r"\everymath=\expandafter{\the\everymath\displaystyle}",
5050
# Set up font sizes to match font.size setting.
51+
# If present, use the KOMA package scrextend to adjust the standard
52+
# LaTeX font commands (\tiny, ..., \normalsize, ..., \Huge) accordingly.
53+
# Otherwise, only set \normalsize, manually.
5154
r"\IfFileExists{scrextend.sty}{",
5255
r" \usepackage[fontsize=%fpt]{scrextend}" % font_size_pt,
5356
r"}{",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.