Re: [Matplotlib-users] How to use different fonts in mathtext

2007-11-13 Thread Michael Droettboom
Rob Hetland wrote: > I would like to use sans-serif math fonts in mathtext (inspired by > Tufte -- most of his examples use sans fonts). Thought you might want to know that matplotlib now supports the sans-serif glyphs in the STIX fonts. Just set the rcParam "mathtext.fontset" to "stixsans".

Re: [Matplotlib-users] How to use different fonts in mathtext

2007-08-06 Thread Michael Droettboom
There is now experimental support for custom fonts in math mode. You'll need to set "mathtext.use_cm" to False, and then set up a mapping from each of the TeX font names to the name of your desired font. It is assumed that the fonts are Unicode fonts -- it will use the same font for both Latin

Re: [Matplotlib-users] How to use different fonts in mathtext

2007-08-06 Thread Rob Hetland
> For example, the freefonts don't have a very complete math symbol > set at all. Falling back on the Computer Modern fonts for just > those symbols would work, but won't look very nice. That said, a > lot of users can probably do without those extended symbols > altogether. You say tha

Re: [Matplotlib-users] How to use different fonts in mathtext

2007-08-06 Thread Michael Droettboom
I believe the rcParams you're referring to actually affect the (now deprecated) mathtext2, which explains why they're having no effect ;) Sorry about that. These will soon be replaced with a new way to handle custom Unicode fonts, that is mostly working, but may not produce the best results. W

[Matplotlib-users] How to use different fonts in mathtext

2007-08-06 Thread Rob Hetland
I would like to use sans-serif math fonts in mathtext (inspired by Tufte -- most of his examples use sans fonts). Apparently there are rcParams options to be set, however, I keep getting computer modern math fonts. I would like to use the FreeSansOblique for the math italic font. How do I