Skip to content

Commit

Permalink
Enable LaTeX text rendering in setup_latex function
Browse files Browse the repository at this point in the history
  • Loading branch information
jgieseler committed Dec 16, 2024
1 parent 80a5161 commit a578d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bowtie/plotutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setup_latex(rcParams, no_fourier=False):
:param rcParams: rcParams imported locally from matplotlib
:param no_fourier: True if there is no fourier package in your LaTeX distribution and it is impossible to install it (e.g. on Dione)
"""
rcParams['text.usetex'] = False
rcParams['text.usetex'] = True
if no_fourier:
rcParams['text.latex.preamble'] = r'\usepackage{amsmath}' + '\n' + r'\usepackage{amssymb}' + '\n' + r'\usepackage{graphicx}'
else:
Expand Down

0 comments on commit a578d45

Please sign in to comment.