From: Matt N. <new...@ca...> - 2004-10-01 16:16:13
|
On Fri, 1 Oct 2004, Dominique Orban wrote: > I just downloaded the latest matplotlib (0.63.4) for Windows XP. I got > rid of my font cache to make sure they would be re-generated. I have two > questions/issues: > > 1) The font cache was not re-created, for some reason. > > 2) The spacing in math text does not seem to be rendered. I may be doing > something wrong. I have tried this in both the TkAgg and GTKAgg > backends. If i modify the example script mathtext_demo.py so the line > > title(r'$\Delta_i^j \hspace{0.4} \rm{versus} \hspace{0.4} > \Delta_{i+1}^j$', fontsize=20) > > becomes > > title(r'$\Delta_i^j \hspace{0.4} \rm{versus some} \hspace{0.4} > \Delta_{i+1}^j$', fontsize=20) > > the space between 'versus' and 'some' is not rendered on my machine. That's the normal behavior of TeX math-mode. I believe you want: \rm{versus \ some} --Matt |