spacetelescope / pysynphot

Synthetic Photometry.
http://pysynphot.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
23 stars 21 forks source link

Angstrom symbol does not render in Sphinx docs #116

Open sean-lockwood opened 5 years ago

sean-lockwood commented 5 years ago

Getting "\AA" instead of "Å".

For instance: https://pysynphot.readthedocs.io/en/latest/units.html#constants

pllim commented 5 years ago

Probably related: mathjax/MathJax#795

pkienzle commented 4 years ago

My solution to this was to add the following rst_prolog in conf.py:

rst_prolog = u"""\

.. only:: html

  :math:`\renewcommand\AA{\text{Å}}`

"""