Matplotlib + LaTeX + Hrvatski znakovi

Issue #26 new
Stefan Ivić created an issue
from matplotlib import rc
rc('font',**{'family':'serif','serif':['Palatino']})
rc('text', usetex=True)
rc('text.latex', preamble = ','.join('''
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[croatian]{babel}
 '''.split()))

Comments (0)

  1. Log in to comment