Re: [Matplotlib-users] Switching between different font settings

2009-02-27 Thread mochuk
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 Best regards, Tobias -- View this message in

Re: [Matplotlib-users] Switching between different font settings

2009-02-27 Thread mochuk
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

Re: [Matplotlib-users] Switching between different font settings

2009-01-08 Thread Johan Ekh
OK, Thanks for your help. // Johan On Wed, Jan 7, 2009 at 7:36 PM, Jouni K. Seppänen j...@iki.fi wrote: Johan Ekh ekh.jo...@gmail.com writes: I am trying to use helvetica and yes, text(r'$1+2+3={}$1+2+3') gives me helvetica for the non math mode case. But how do I get math mode to use

Re: [Matplotlib-users] Switching between different font settings

2009-01-07 Thread Jouni K . Seppänen
Johan Ekh ekh.jo...@gmail.com writes: I am trying to use helvetica and yes, text(r'$1+2+3={}$1+2+3') gives me helvetica for the non math mode case. But how do I get math mode to use the same font? You can't. The problem is that while Helvetica contains all the usual letters and numbers, TeX

Re: [Matplotlib-users] Switching between different font settings

2009-01-05 Thread Jouni K . Seppänen
Johan Ekh ekh.jo...@gmail.com writes: So far I've tried reading a file with settings specific to the current document and using rcParams.update(params) to dynamically change the settings. This seems to me to be a good way of switching between settings. This way I can get the right font for

[Matplotlib-users] Switching between different font settings

2009-01-04 Thread Johan Ekh
Hi all, I use Matplotlib and LaTeX to produce essentially two types of documents; technical reports for a large corporation and scientific papers. Thus, I use several LaTeX cls-files which uses different fonts. What is the most convenient way to get Matplotlib to use the same fonts as my main