Closed rithwikjc closed 3 years ago
After posting this I went through all the closed issues and found #4. So I tried something similar.
In science.mplstyle
I replaced the existing text.latex.preamble: \usepackage{amsmath, amssymb}
with
text.latex.preamble : \usepackage{amsmath} \usepackage{amssymb}
This solved the issue for me.
Thanks for pointing that out! I fixed this issue in 65a1cf5fb31f39ca702a0e77200ea79a1e01d729.
For all styles, there is now one "usepackage
" per LaTeX package
Thanks
Hi, I tried to run the code with both MikTex and TexLive. I got the same error. I am unable to trace the origin of the issue and fix it, but it looks like its coming because of a line somewhere like
\usepackage{amsmathamssymb.sty}
instead of\usepackage{amssymb, amsmath}
. How can I fix this please?I am using SciencePlots 1.08
,
matplotlib 3.0.3and
python 3.6` on Windows 10.Part of the error traceback