|
From: Paul H. <pmh...@gm...> - 2013-07-25 21:01:42
|
On Thu, Jul 25, 2013 at 12:16 PM, Jeffrey Spencer <jef...@gm...>wrote:
> I want to use IPA vowel labels in my figures and to do that I need to load
> the package in latex \usepackage{tipa}. Is this possible as searching
> online besides using the new backend "pgf" I haven't seen how to manually
> select latex packages to load when using tex. Is this possible?
>
You can set the tex preample without using the "pgf" backend. Here's how
I'm setup:
impot matplotlib
matplotlib.rcParams['text.usetex']
Out[12]: True
matplotlib.rcParams['text.latex.preamble']
Out[13]:
['\\usepackage{siunitx}',
'\\sisetup{detect-all}',
'\\usepackage{helvet}',
'\\usepackage{sansmath}',
'\\sansmath']
|