我有matplotlibrc文件,其中包含了下面的乳胶序言
text.latex.preamble : \usepackage{siunitx}, \usepackage{amsmath}, \boldmath这个定义过去用于matplotlib/v-3.03,但当我更新到Version3.4.2时,它就停止工作了。我检查了matplotlib创建的缓存的tex文件,我发现在Version3.4.2中它不能正确地分割序言。我将分别显示tex文件下面的一行。
版本-3.0.3
\usepackage{siunitx}
\usepackage{amsmath}
\boldmath版本-3.4.2
\usepackage{siunitx}, \usepackage{amsmath}, \boldmath有人能帮我,正确的方式来定义新版本的matplotlibrc文件中的序言吗?我知道他们已经改变了序言的处理方法,但却搞不清楚。
谢谢
发布于 2021-07-20 16:32:54
正如@samcarter_is_at_topanswers.xyz所建议的那样,如果我从序言中删除逗号,那么它适用于新旧版本。
https://stackoverflow.com/questions/68445440
复制相似问题