On Thu, Jul 25, 2013 at 12:16 PM, Jeffrey Spencer <jeffspenc...@gmail.com>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']
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to