Discussion:
\AA (m-units and \Angstrom)
Eckhart Guthöhrlein
2001-09-06 12:24:26 UTC
Permalink
The use of \AA is problematic, in my case concerning the use of \Angstrom
with m-units. Here come the problems I noticed, and my workaround for those
who are interested.

Since \Angstrom is defined to give \AA, it can't be used in math mode
('Please use \mathaccent in math mode'). Furthermore, there is a problem
with \setupbodyfont[aer]: \AA produces nothing in the output. This is a
more general problem, not restricted to m-units.

Probably, \AA should be redefined. \def\AA{\Aring} is a possibility,
\def\AA{\hbox{\Aring}} works in math mode too. But superscripts get placed
too high, touching the characters of the above line in inline formulas. I'm
currently using
\def\AA{\text{\AA}}
with the definition of \text copied from the latest publically available
m-math.tex, enclosed by \unprotect..\protect to make private command
sequence names accessible.

In principle, I would agree that not using the unit Angstrom would be the
best solution, but since it is not up to me... And a working \AA is of
course needed for some languages.

Eckhart
Taco Hoekwater
2001-09-06 13:01:50 UTC
Permalink
Post by Eckhart Guthöhrlein
\def\AA{\text{\AA}}
This is probably the best solution. \text should go into the
core anyway (or an equiv. command)
--
groeten,

Taco
Hans Hagen
2001-09-10 18:48:25 UTC
Permalink
Post by Eckhart Guthöhrlein
The use of \AA is problematic, in my case concerning the use of \Angstrom
with m-units. Here come the problems I noticed, and my workaround for
those who are interested.
I've now replaced the \AA def by \def\AA{\Aring}

Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | ***@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
Eckhart Guthöhrlein
2001-09-11 13:53:34 UTC
Permalink
Post by Hans Hagen
Post by Eckhart Guthöhrlein
The use of \AA is problematic, in my case concerning the use of \Angstrom
with m-units. Here come the problems I noticed, and my workaround for
those who are interested.
I've now replaced the \AA def by \def\AA{\Aring}
All right, but when the math integration will include the \text command
some day, I think you should change it to \def\AA{\text{\Aring}}. Nasty
letter...

Eckhart

Continue reading on narkive:
Loading...