Degrees Celsius in LaTeX (^{\circ}\text{C})
- LaTeX command
^{\circ}\text{C}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Math mode only
Where it is used
Degree Celsius unit, formed from a raised circle and an upright C; water freezes at 0 °C.
The degree mark is \circ in a superscript; an o or 0 is wrong. SI style puts a space between number and unit, so write 25\,^{\circ}\text{C} with a thin space, and never place a space between the degree sign and the C. Temperature differences in Celsius equal differences in kelvin, a fact that matters in heat-capacity work. \text turns italic inside theorems; \mathrm{C} avoids that. Unit packages provide semantic commands, but this construction is the common manual approach and works everywhere, including KaTeX.
Also listed under: Units at Measurements
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Degrees Celsius: $^{\circ}\text{C}$
\[ T = 100\,^{\circ}\text{C} = 373.15\,\text{K} \]
\end{document}Related symbols
- Bond
\text{C}-\text{C} - Degree symbol
^{\circ} - Double Bond
\text{C}=\text{C} - Delta (Upper)
\Delta - Triple Bond
\text{C}\equiv\text{C} - Subscript Count
\text{H}_2\text{O}
Frequently asked questions
- How do I write Degrees Celsius in LaTeX?
- Type ^{\circ}\text{C} in math mode, for example $T = 100\,^{\circ}\text{C} = 373.15\,\text{K}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for ^{\circ}\text{C}?
- ^{\circ}\text{C} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use ^{\circ}\text{C} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $^{\circ}\text{C}$ in running text.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers