You can use \AA for angstrom (to conform to the (La)TeX standard). Cheers, Mike
Maxim Fedorovsky wrote: > Thanks a lot for the help) I have noticed that \angstrom is not > anymore supported in 0.91. > > > With best regards, > Maxim Fedorovsky. >> Forgot to mention -- you could also apply this patch to your local >> copy of mathtext.py >> >> http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_91_maint/lib/matplotlib/mathtext.py?r1=4816&r2=4854 >> >> >> >> Michael Droettboom wrote: >>> It's a bug in 0.91.2. This has been fixed on the maintenance branch >>> (if you're comfortable using SVN), or we do plan to release a bugfix >>> 0.91.3 release soon. >>> >>> Cheers, >>> Mike >>> >>> Maxim Fedorovsky wrote: >>> >>>> Dear all, >>>> >>>> The following TeX expression did not produce any error message >>>> with matplotlib versions 0.87.3 - 0.90.2 : >>>> >>>> r'$Wavenumber,\ [\ cm^{-1}\ ]$' >>>> >>>> The following error is produced with version 0.91.2 : >>>> >>>> <class 'matplotlib.pyparsing.ParseFatalException'>: Expected >>>> end of math '$' >>>> $Wavenumber,\ [\ cm^{-1}\ ]$ (at char 0), (line:1, col:1) >>>> >>>> The problem comes about because of the square brackets. Could >>>> everyone please explain me how to handle this situation (without >>>> placing the brackets outside of '$$') ? >>>> >>>> >>>> Thanks in advance, >>>> Dr. Maxim Fedorovsky. >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>> Don't miss this year's exciting event. There's still time to save >>>> $100. Use priority code J8TL2D2. >>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>> >>>> >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Matplotlib-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> >>> >> > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users