* \AA cannot be uesed in math mode?
@ 2007-04-26 2:51 fdu.xiaojf
2007-04-26 4:22 ` Aditya Mahajan
0 siblings, 1 reply; 4+ messages in thread
From: fdu.xiaojf @ 2007-04-26 2:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I want to get a sign of angstrom in an math formula, here is my example:
%--------------------
\starttext
$\AA$
\stoptext
%--------------------
and the error message:
%--------------------
systems : begin file d at line 1
! Please use \mathaccent for accents in math mode.
\dochar #1->\char
#1\relax
\dobuildtextaccent ...{\let \char \normalaccent #1
\let \char \normalchar #2}
l.2 $\AA
$
%--------------------
I can use \AA successfully in text mode.
Is there anything wrong with my tex file?
Thanks.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \AA cannot be uesed in math mode?
2007-04-26 2:51 \AA cannot be uesed in math mode? fdu.xiaojf
@ 2007-04-26 4:22 ` Aditya Mahajan
2007-04-26 6:20 ` fdu.xiaojf
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2007-04-26 4:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Thu, 26 Apr 2007, fdu.xiaojf@gmail.com wrote:
> Hi,
>
> I want to get a sign of angstrom in an math formula, here is my example:
> %--------------------
> \starttext
> $\AA$
> \stoptext
$\Angstrom$
Also see the units modules for proper typesetting of units.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \AA cannot be uesed in math mode?
2007-04-26 4:22 ` Aditya Mahajan
@ 2007-04-26 6:20 ` fdu.xiaojf
2007-04-26 7:12 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: fdu.xiaojf @ 2007-04-26 6:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> On Thu, 26 Apr 2007, fdu.xiaojf@gmail.com wrote:
>
>
>> Hi,
>>
>> I want to get a sign of angstrom in an math formula, here is my example:
>> %--------------------
>> \starttext
>> $\AA$
>> \stoptext
>>
>
> $\Angstrom$
>
> Also see the units modules for proper typesetting of units.
>
> Aditya
>
Thanks.
Since I use ConTeXt to typeset math formulas frequently, I want to
know more about this. Why \AA doesn't work?
\AA is defined in plain TeX, and I think all plain TeX macros should
work in ConTeX. Am I right ?
Regrads,
xiaojf
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \AA cannot be uesed in math mode?
2007-04-26 6:20 ` fdu.xiaojf
@ 2007-04-26 7:12 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2007-04-26 7:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]
2007/4/26, fdu.xiaojf@gmail.com <fdu.xiaojf@gmail.com>:
>
> Aditya Mahajan wrote:
> > On Thu, 26 Apr 2007, fdu.xiaojf@gmail.com wrote:
> >
> >
> >> Hi,
> >>
> >> I want to get a sign of angstrom in an math formula, here is my
> example:
> >> %--------------------
> >> \starttext
> >> $\AA$
> >> \stoptext
> >>
> >
> > $\Angstrom$
> >
> > Also see the units modules for proper typesetting of units.
> >
> > Aditya
> >
> Thanks.
>
> Since I use ConTeXt to typeset math formulas frequently, I want to
> know more about this. Why \AA doesn't work?
>
> \AA is defined in plain TeX, and I think all plain TeX macros should
> work in ConTeX. Am I right ?
>
> Regrads,
>
> xiaojf
Hi,
you should also use the \text macro to write normal text in math mode.
\starttext
$$\text{\AA}^{\text{\AA}}$$
$$\Angstrom^{\Angstrom}$$
$$\text{\Angstrom}^{\text{\Angstrom}}$$
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1369 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-26 7:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 2:51 \AA cannot be uesed in math mode? fdu.xiaojf
2007-04-26 4:22 ` Aditya Mahajan
2007-04-26 6:20 ` fdu.xiaojf
2007-04-26 7:12 ` Wolfgang Schuster
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).