Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-18 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: >> Well, if ever there was a compelling use-case for an >> undocumented/unsupported feature it would be this one, I think. > > Alright, svn 3277 lets you add additional commands to the preamble: > > text.latex.preamble : \usepackage{bm},\renewcommand{etc...}

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: > On Thursday 17 May 2007 10:08:06 am Alexander Schmolck wrote: >> "George Nurser" <[EMAIL PROTECTED]> writes: >> > I didn't realize that! >> > Apologies for being ignorant here. >> >> No worries, here's a concrete example for selecting Helvetica (and >> com

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread Darren Dale
On Wednesday 16 May 2007 01:29:56 pm Alexander Schmolck wrote: > Darren Dale <[EMAIL PROTECTED]> writes: > > On Monday 14 May 2007 1:29:05 pm Alexander Schmolck wrote: > >> Darren Dale <[EMAIL PROTECTED]> writes: > >> I'd *really* like the ability to ``usepackage`` for various reasons and > >> it w

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread Darren Dale
On Thursday 17 May 2007 10:08:06 am Alexander Schmolck wrote: > "George Nurser" <[EMAIL PROTECTED]> writes: > > I didn't realize that! > > Apologies for being ignorant here. > > No worries, here's a concrete example for selecting Helvetica (and > commented out, Palatino) as default fonts: > > f

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread Alexander Schmolck
"George Nurser" <[EMAIL PROTECTED]> writes: > I didn't realize that! > Apologies for being ignorant here. > No worries, here's a concrete example for selecting Helvetica (and commented out, Palatino) as default fonts: from matplotlib.pylab import * from numpy import * #rc('font',**d

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread George Nurser
I didn't realize that! Apologies for being ignorant here. -- George Nurser. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Jus

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread Alexander Schmolck
"George Nurser" <[EMAIL PROTECTED]> writes: > Published figures will generally be embedded in text that is Times/ > Palatino etc. > Computer Modern doesn't look right inside such text. > > If it were possible to allow use of the other font packages, it would > be very useful. It already is, see e

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread George Nurser
Published figures will generally be embedded in text that is Times/ Palatino etc. Computer Modern doesn't look right inside such text. If it were possible to allow use of the other font packages, it would be very useful. George Nurser.

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-16 Thread Darren Dale
On Wednesday 16 May 2007 01:29:56 pm Alexander Schmolck wrote: > Darren Dale <[EMAIL PROTECTED]> writes: > > On Monday 14 May 2007 1:29:05 pm Alexander Schmolck wrote: > >> Darren Dale <[EMAIL PROTECTED]> writes: > >> I'd *really* like the ability to ``usepackage`` for various reasons and > >> it w

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-16 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: > On Monday 14 May 2007 1:29:05 pm Alexander Schmolck wrote: >> Darren Dale <[EMAIL PROTECTED]> writes: >> I'd *really* like the ability to ``usepackage`` for various reasons and it >> would clearly add useful functionality that is not otherwise obtainable.

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-14 Thread Darren Dale
On Monday 14 May 2007 1:29:05 pm Alexander Schmolck wrote: > Darren Dale <[EMAIL PROTECTED]> writes: > > On Monday 14 May 2007 9:02:08 am Lev Givon wrote: > >> In the matplotlib-users list archive, I noticed that someone once > >> mooted the possibility of patching the matplotlib LaTeX code to > >>

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-14 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: > On Monday 14 May 2007 9:02:08 am Lev Givon wrote: >> In the matplotlib-users list archive, I noticed that someone once >> mooted the possibility of patching the matplotlib LaTeX code to >> provide a user-configurable parameter that would allow one to add >

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-14 Thread Darren Dale
On Monday 14 May 2007 9:02:08 am Lev Givon wrote: > Received from Darren Dale on Sun, May 13, 2007 at 08:13:43PM EDT: > > On Sunday 13 May 2007 6:32:56 pm Lev Givon wrote: > > (snip) > > > > Ah..I see what was going on; the numerical ticks are output in LaTeX > > > math mode (e.g., $123$) and there

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-14 Thread Lev Givon
Received from Darren Dale on Sun, May 13, 2007 at 08:13:43PM EDT: > On Sunday 13 May 2007 6:32:56 pm Lev Givon wrote: (snip) > > Ah..I see what was going on; the numerical ticks are output in LaTeX > > math mode (e.g., $123$) and therefore rendered in CM if the specified > > fonts do not provide

Re: [Matplotlib-users] using different font families with LaTeX-generated text

2007-05-13 Thread Lev Givon
Received from Lev Givon on Sun, May 13, 2007 at 04:46:54PM EDT: > Received from Darren Dale on Fri, May 11, 2007 at 05:29:01PM EDT: > > On Friday 11 May 2007 12:12:37 pm Lev Givon wrote: > > > Setting the font family with matplotlib.rc (or in my > > > .matplotlib/matplotlibrc file) doesn't seem to

Re: [Matplotlib-users] using different font families with LaTeX-generated text

2007-05-13 Thread Lev Givon
Received from Darren Dale on Fri, May 11, 2007 at 05:29:01PM EDT: > On Friday 11 May 2007 12:12:37 pm Lev Givon wrote: > > Setting the font family with matplotlib.rc (or in my > > .matplotlib/matplotlibrc file) doesn't seem to have any effect on the > > font used to generate text when the usetex se

Re: [Matplotlib-users] using different font families with LaTeX-generated text

2007-05-11 Thread Darren Dale
On Friday 11 May 2007 12:12:37 pm Lev Givon wrote: > Setting the font family with matplotlib.rc (or in my > .matplotlib/matplotlibrc file) doesn't seem to have any effect on the > font used to generate text when the usetex setting is enabled. This > seems to imply that the fonts I have listed in th

[Matplotlib-users] using different font families with LaTeX-generated text

2007-05-11 Thread Lev Givon
Setting the font family with matplotlib.rc (or in my .matplotlib/matplotlibrc file) doesn't seem to have any effect on the font used to generate text when the usetex setting is enabled. This seems to imply that the fonts I have listed in the font.serif, font.sans-serif, and font.monospace settings