ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \AA (m-units and \Angstrom)
@ 2001-09-06 12:24 Eckhart Guthöhrlein
  2001-09-06 13:01 ` Taco Hoekwater
  2001-09-10 18:48 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Eckhart Guthöhrlein @ 2001-09-06 12:24 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-11 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-06 12:24 \AA (m-units and \Angstrom) Eckhart Guthöhrlein
2001-09-06 13:01 ` Taco Hoekwater
2001-09-10 18:48 ` Hans Hagen
2001-09-11 13:53   ` Eckhart Guthöhrlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).