From f165cc72a5a39e8a3dba9557570c052c7aedd3a4 Mon Sep 17 00:00:00 2001 From: echedey-ls <80125792+echedey-ls@users.noreply.github.com> Date: Sat, 25 Nov 2023 19:39:44 +0100 Subject: [PATCH] Even a better fix to #30 Co-Authored-By: Josh Borrow --- scienceplots/styles/misc/no-latex.mplstyle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scienceplots/styles/misc/no-latex.mplstyle b/scienceplots/styles/misc/no-latex.mplstyle index df7172e..56571ed 100644 --- a/scienceplots/styles/misc/no-latex.mplstyle +++ b/scienceplots/styles/misc/no-latex.mplstyle @@ -3,6 +3,8 @@ text.usetex : False -# Stix is designed to look similar to Times. -font.family: STIXGeneral -mathtext.fontset: stix +# Set fonts to be LaTeX defaults +font.serif : cmr10, Computer Modern Serif, DejaVu Serif +font.family : serif +axes.formatter.use_mathtext : True +mathtext.fontset : cm