Hi all,

Johan Ekh-2 wrote:
> 
> 
> What is the most convenient way to get Matplotlib to use the same fonts as
> my main document and also to quickly switch between the
> different document types?
> 
> 

Take a look at: http://dtrx.de/od/tex/sfmath.html
You have to load the package in the preambel of LaTeX.
For matplotlib this can be done by adding "text.latex.preamble :
\usepackage{sfmath}" to your matplotlibrc.

Best regards,
Tobias
-- 
View this message in context: 
http://www.nabble.com/Switching-between-different-font-settings-tp21279388p22245329.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to