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

* Re: \AA (m-units and \Angstrom)
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2001-09-06 13:01 UTC (permalink / raw)
  Cc: ConTeXt mailing list

Eckhart Guthöhrlein wrote:
> 
> \def\AA{\text{\AA}}

This is probably the best solution. \text should go into the
core anyway (or an equiv. command)
-- 
groeten,

Taco


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

* Re: \AA (m-units and \Angstrom)
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-09-10 18:48 UTC (permalink / raw)
  Cc: ConTeXt mailing list

At 02:24 PM 9/6/2001 +0200, Eckhart Guthöhrlein wrote:
>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 | pragma@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
-------------------------------------------------------------------------


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

* Re: \AA (m-units and \Angstrom)
  2001-09-10 18:48 ` Hans Hagen
@ 2001-09-11 13:53   ` Eckhart Guthöhrlein
  0 siblings, 0 replies; 4+ messages in thread
From: Eckhart Guthöhrlein @ 2001-09-11 13:53 UTC (permalink / raw)
  Cc: ConTeXt mailing list

At 20:48 10.09.2001 +0200, Hans Hagen wrote:
>At 02:24 PM 9/6/2001 +0200, Eckhart Guthöhrlein wrote:
>>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


^ 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).