garrettj403 / SciencePlots

Matplotlib styles for scientific plotting
MIT License
7.12k stars 709 forks source link

Change font styles to work well without LaTeX #94

Closed JBorrow closed 1 year ago

JBorrow commented 1 year ago

Fixes #93

JBorrow commented 1 year ago

Ok, that's ready to go now.

I will leave it up to you to decide whether usetex: True should be the default. With these changes, it's actually not really needed, but that would be a breaking change.

JBorrow commented 1 year ago

(Also fixes #25, if you use ieee too).

echedey-ls commented 1 year ago

Thank you very much!

I'd like to make it as easy as possible for users, so I'm all for setting usetex: False in the science style, deleting the no-latex style and creating a latex one. @garrettj403 what do you think about it?

echedey-ls commented 1 year ago

Having a second thought on this, we can leave usetex out of science.mplstyle and turn it on just in the language styles and latex-sans.mplstyle. I will test this PR and merge once I have concluded this is the best approach.

Thanks again @JBorrow !

echedey-ls commented 1 year ago

I will think about the usetex switch for future releases, and leave this as it is for now. Well done JBorrow.