TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using \AA for angstrom is not working for me. When I write 1 \AA all I get is 2 (r)A in the output. I have tried putting the curly brackets around it {\AA} but still no success. I do not know why. I have even tried changing the fonts I am using. Any help will be appreciated.

share|improve this question
It may be that you include another package that overwrites the definition of \AA. What does your document preamble look like? – Werner Jul 27 '11 at 18:10
Please add a minimal working example (MWE) that illustrates your problem – Seamus Jul 27 '11 at 18:16
@Godey: did you do by any chance \def\r{(r)} or something similar? This would explain what you get. – Bruno Le Floch Jul 28 '11 at 13:37
Yes I had defined these new commands and I think it was messing with something. Got it working ater commenting it out. Dunno why.%\newcommand{\bea}{\begin{eqnarray}} %\newcommand{\eea}{\end{eqnarray}} %%\newcommand{\bi}{\bibitem} %%\newcommand{\eps}{\epsilon} Thanks for the input. – Godey Jul 29 '11 at 21:03
up vote 25 down vote accepted

\AA is a text command which essentially becomes \r{A}; \r is the command producing the "ring accent" and is invalid in math mode. Here's a way:


If the unit must be used also in subscripts or superscripts,

\usepackage{amsmath} % or simply amstext

Following daleif suggestion, a more compact version would be

\usepackage{amsmath} % or simply amstext

(amsmath is necessary, otherwise \textup doesn't change sizes in subscripts).

However, the best practice when dealing with units is to use siunitx as suggested by quinmars. The macros \si and \SI made available by it provide the correct spacing.

share|improve this answer
For correct operation in all math styles the definition can also be \text{\AA}; requires amsmath. – Andrey Vihrov Jul 28 '11 at 9:05
for a unit \textup{\AA} would be better as \textit{$\text{\AA}$} leave the \AA italic. But is should be treated as a unit and thus siunitx is a better solution. – daleif Jul 28 '11 at 11:11
@daleif That's why I put \normalfont. – egreg Jul 28 '11 at 11:32
Got it working. Thanks for all the input – Godey Jul 29 '11 at 21:00

I'd suggest to use the siunitx package. If you want a quantity, use:

The lattice constant $a = \SI{2.0}{\angstrom}$ is ...

if you only need the unit, use:

Atomic distances are measured in \si{\angstrom}.
share|improve this answer
And you can get the real ångström character with the lmodern package and \sisetup{text-angstrom={Å},math-angstrom={\text{Å}}} with UTF-8 input. – Andrey Vihrov Jul 28 '11 at 9:11

@egreg answer is correct but in the community is hard to convince others (reluctant-TeX) collaborators to use \mbox{\normalfont\AA} or \text{\normalfont\AA} to write Angstrom units. At best one can hope that they use \mathrm{\AA} (so Angstrom doesn't appear as italic in math formulas). They are just to used to write \AA.

What I suggest is this:

share|improve this answer

What caused this problem for me is that I redefined the \r command. That is, I had a


in my preamble. If this is the case, change the name of the command you called \r to something else.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.