Re: [Matplotlib-users] computer modern

2009-06-01 Thread Michael Droettboom
There's no easy way to do what you ask. You can, however, use math mode to get to those characters in STIX. For example, set mathtext.fontset to "stix" and then: r'$\mathcal{Caligraphic} \mathtt{Monospace}$' Mike Nicolas Pourcelot wrote: > Thanks, it works well. > > However, I forgot that

Re: [Matplotlib-users] computer modern

2009-05-29 Thread Nicolas Pourcelot
Thanks, it works well. However, I forgot that computer modern does not include accented characters (unlike latin modern), so I eventually used Stix : mpl.rc('font', family = 'serif', serif = 'STIXGeneral') By the way, is there any way to use Stix for sans-serif as well, or even cursive and mon

Re: [Matplotlib-users] computer modern

2009-05-28 Thread Michael Droettboom
The name of the Computer Modern Roman font that ships with matplotlib is "cmr10", so mpl.rc('font', family = 'serif', serif = 'cmr10') should work. Mike Nicolas Pourcelot wrote: > Hi, > > is there any way to use Computer Modern in any text in matplotlib ? > > In http://matplotlib.sourceforg

[Matplotlib-users] computer modern

2009-05-28 Thread Nicolas Pourcelot
Hi, is there any way to use Computer Modern in any text in matplotlib ? In http://matplotlib.sourceforge.net/users/customizing.html, I read the following : #font.serif : Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No