Closed drtobybrown closed 3 years ago
Thanks @drtobybrown for pointing that out to me. I will make a PR that enables text.usetex
across rsmf. I actually was under the wrong impression that I would have to set it to False
because usetex
essentially is superfluous in the pgf backend because tex is used anyways.
@drtobybrown could you try to install rsmf again from the branch add_usetex
and re-run the code?
pip install git+https://www.github.com/johannesjmeyer/rsmf@add_usetex --upgrade
That works, thanks!
MWE:
throws the following error.
I think this is because
mathregular
is a matplotlib command rather than a LaTeX command.Setting
plt.rcParams['text.usetex']=True
fixes the issue for me but shouldn't rsmf do this by default?