|
From: Cory D. <cd...@st...> - 2005-11-09 11:00:40
|
Thanks Robert,
>
> The relevant changes are in texmanager.py (and I don't recall if they
> are in 0.84).
>
> def get_tex_command(self, tex, fname):
>
> fontcmd = {'sans-serif' : r'{\sffamily %s}',
> 'monospace' : r'{\ttfamily %s}'}.get(
> rcParams['font.family'], r'{\rmfamily %s}')
> tex = fontcmd % tex
>
> Add that snippet to the method and you should be good to go.
>
This is not in 0.84, so I guess I will wait for the next release.
Cheers,
Cory.
--
---------------------------------------------------
Cory Davis
Institute for Atmospheric and Environmental Science
Room 307, Crew Building, Kings Buildings,
University of Edinburgh. Edinburgh EH9 3JN
phone: +44 131 6505092
www: http://www.geos.ed.ac.uk/contacts/homes/cdavis
|