Skip to content

Commit

Permalink
Re-fix #30 (#106)
Browse files Browse the repository at this point in the history
* Revert "Change font styles to work well without LaTeX  (#94)"

This reverts commit 337e87a.

* Re-refix #30 in accordance to #93

Still need to ensure desired behaviour.

Co-Authored-By: Josh Borrow <josh@joshborrow.com>

---------

Co-authored-by: Josh Borrow <josh@joshborrow.com>
  • Loading branch information
echedey-ls and JBorrow committed Nov 25, 2023
1 parent 5a38dd1 commit 26eb00a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 1 addition & 4 deletions scienceplots/styles/journals/ieee.mplstyle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ figure.dpi : 600

# Font sizes
font.size : 8

# Stix is designed to look similar to Times.
font.family : serif
font.serif : STIXGeneral
mathtext.fontset : stix
font.serif : Times
5 changes: 5 additions & 0 deletions scienceplots/styles/misc/no-latex.mplstyle
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Deactivate LaTeX
# and use mathtext

text.usetex : False

# Stix is designed to look similar to Times.
font.family: STIXGeneral
mathtext.fontset: stix
5 changes: 2 additions & 3 deletions scienceplots/styles/science.mplstyle
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ savefig.bbox : tight
savefig.pad_inches : 0.05

# Use serif fonts
font.serif : cmr10, Computer Modern Serif, DejaVu Serif
# font.serif : Times
font.family : serif
axes.formatter.use_mathtext : True
mathtext.fontset : cm
mathtext.fontset : dejavuserif

# Use LaTeX for math formatting
text.usetex : True
Expand Down

0 comments on commit 26eb00a

Please sign in to comment.