Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0564459 commit 7cc579aCopy full SHA for 7cc579a
2 files changed
doc/api/next_api_changes/development/20706-AP.rst
@@ -0,0 +1,4 @@
1
+Improve underscore support in LaTeX
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+The `underscore <https://ctan.org/pkg/underscore>`_ package is now a requirement to improve support for underscores in LaTeX.
lib/matplotlib/texmanager.py
@@ -175,6 +175,7 @@ def _get_preamble(self):
175
r"\usepackage[papersize=72in, margin=1in]{geometry}",
176
self.get_custom_preamble(),
177
# Use `underscore` package to take care of underscores in text
178
+ # The [strings] option allows to use underscores in file names
179
r"\makeatletter"
180
r"\@ifpackageloaded{underscore}{}"
181
r"{\usepackage[strings]{underscore}}"
0 commit comments