astropy/astropy — pull request #2286 by mdboom (2014-04-10 13:16:46+00:00)
Title: Angstrom does not render correctly in latex

When I do something like this in the ipython notebook:
```
from astropy import units as u
(4000 * u.AA)
```
instead of seeing the angstrom symbol, I see ``4000\AA`` in the output.

I think I understand the source of the problem: ``\AA``, which generally maps to ``\r{A}``, is not supported by mathjax, the latex library used by ipython (see ipython/ipython#5533 ). What I'm not sure of is the solution... Two possible options come to mind: ``$\mathring A$`` sort of works, but it leaves space between the ring and the top of the "A". An alternative is the actual unicode symbol:``\unicode{xC5}``. That worked for me, but I'm not sure how font-dependent it is...