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 preambe
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
OK,
Thanks for your help.
// Johan
On Wed, Jan 7, 2009 at 7:36 PM, Jouni K. Seppänen wrote:
> "Johan Ekh" 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
"Johan Ekh" 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 math fonts must
Thank you for your answer!
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? I've tried to set
'mathtext.rm': 'sans-serif' in my params dict
and then run "rcParams.update(params)" but that d
"Johan Ekh" 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 legends and
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 docu