On Thursday 23 November 2006 1:21 am, Christian Kristukat wrote: > I found one more solution which makes use of the sansmath.py style, > available at > http://www.tug.org/tex-archive/macros/latex/contrib/misc/sansmath.sty. > > To use it with matplotlib I updated the 'sans-serif' member of the > font_info dict: > > 'sans-serif': ('cmss', '\usepackage{sansmath}'), > > and to the end of sansmath.py
What is sansmath.py? > I added > > \sansmath > > to activate sans math mode upon loading. Then, choosing 'sans-serif' as > first sansserif font in .matplotlibrc you get nice serif free math text. > > It should be easy to add this to the matplotlib distro. sansmath.sty is not distributed with tetex, and it doesnt look like it is included in the mac tex distributions. I'm sorry, but I don't think this is a viable solution. Darren ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users