ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart_guthoehrlein@public.uni-hamburg.de>
Subject: \AA (m-units and \Angstrom)
Date: Thu, 06 Sep 2001 14:24:26 +0200	[thread overview]
Message-ID: <5.1.0.14.0.20010906140630.00a81580@public.uni-hamburg.de> (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


             reply	other threads:[~2001-09-06 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 12:24 Eckhart Guthöhrlein [this message]
2001-09-06 13:01 ` Taco Hoekwater
2001-09-10 18:48 ` Hans Hagen
2001-09-11 13:53   ` Eckhart Guthöhrlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.0.20010906140630.00a81580@public.uni-hamburg.de \
    --to=eckhart_guthoehrlein@public.uni-hamburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).