\AA cannot be uesed in math mode?
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.
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
2007/4/26, 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
participants (3)
-
Aditya Mahajan
-
fdu.xiaojf@gmail.com
-
Wolfgang Schuster