|
From: Mayer G. <ger...@co...> - 2005-01-11 17:19:46
|
Dear Matt,
thank you for your hints. If I understand you right, Matlibplot should =
be able to display the french characters and there is no need for \acute =
etc. That's interesting and I would appreciate it. However e.g. =
title('Temp=E9rature') does not work properly. Instead of =E9 I see a =
rectangle on the screen. May be something is wrong with my installation?
Regards
Gerhard
-----Urspr=FCngliche Nachricht-----
Von: Matt Newville [mailto:new...@ca...]=20
Gesendet: Dienstag, 11. Januar 2005 18:03
An: mat...@li...; Mayer Gerhard
Betreff: Re: [Matplotlib-users] French characters
I think you'd have to add \acute to the overunder dictionary in =
mathtext.py and then use as '\acute{e}'. That assumes that a "`"
is close enough for the accent mark. If so, it's possible that other =
accent marks as well, though I don't see how to get an umlaut or =
cedilla.
As a general question, can mathtext directly access characters in the =
TeX font tables? Would that simply involve adding more entries to =
latex_to_bakoma in _mathtext_data.py??? If so, that might make it =
easier to reproduce many of the TeX accents (including umlaut), as the =
double-dot and acute marks have actual places in the font tables. It =
migh also make \AA (\Angstrom) less of a corner case.
--Matt
On Tue, 11 Jan 2005, Mayer Gerhard wrote:
> Hi all,
> I cannot figure out howto use french characters using the Agg backend. =
> E.g. title(r'$Temp \acute e rature$') does not work.
> Has anyone an idea howto do it?
> Gerhard
>=20
>=20
|