From: Dominique O. <Dom...@po...> - 2005-01-19 16:38:24
|
> To: Matt Newville <new...@ca...> > Cc: Mayer Gerhard <ger...@co...>, > <mat...@li...> > Subject: Re: AW: [Matplotlib-users] French characters > From: John Hunter <jdh...@ac...> > Date: Tue, 18 Jan 2005 15:49:57 -0600 > > >>>>>>"Matt" == Matt Newville <new...@ca...> writes: > > > Matt> Sorry for the confusion, that's not what I meant. I think > Matt> that the acute sign would have to be added to the list of > Matt> symbols that mathtext can handle. That would probably mean > Matt> both special code in mathtext.py and an entry in > Matt> _mathtext_data.py. I'm not sure what the right entry in the > Matt> font table would be, as I don't understand the entries in > Matt> the latex_to_bakoma dictionary in _mathtext_data.py at all. > > I just added support for accents in general to mathtext. The > following accents are provided: \hat, \breve, \grave, \bar, \acute, > \tilde, \vec, \dot, \ddot. All of them have the same syntax, eg to > make an overbar you do \bar{o} or to make an o umlaut you do \ddot{o}. Is there any reason why we can't use the usual TeX symbols for the accents, e.g.: \'{e} for acute accent, \`{e} for grave, \"{a} for umlaut, etc.? There has been an attempt to introduce LaTeX commands into Powerpoint at some point (some package from Stanford I believe, called TeXPoint). It produces nice equations but very few use it simply because the commands aren't standard TeX. Dominique |