French characters

French characters
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

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