doc/api/signaltypes: use ^{\circ} instead of ° in :math:

This works for both sphinx.ext.mathjax and sphinx.ext.imgmath.
This commit is contained in:
David Lechner
2021-01-25 20:36:22 -06:00
parent 232f507954
commit 9ae1a991f0
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -248,9 +248,9 @@ temperature: °C
Temperature is measured in degrees Celcius (°C). To convert to degrees
Fahrenheit (°F) or Kelvin (K), you can use the following conversion formulas:
:math:`°\kern1pt\!F = °\kern2pt\!C \cdot \frac{9}{5} + 32`.
:math:`^{\circ}\kern1pt\!F =\kern1pt^{\circ}\kern1pt\!C \cdot \frac{9}{5} + 32`.
:math:`K = °\kern2pt\!C + 273.15`.
:math:`K =\kern1pt^{\circ}\kern1pt\!C + 273.15`.
.. _hue: