Degrees Fahrenheit in LaTeX (^{\circ}\text{F})
- LaTeX command
^{\circ}\text{F}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Math mode only
Where it is used
Degree Fahrenheit temperature unit; water freezes at 32 °F and boils at 212 °F at standard pressure.
Conversion is T_F = \frac{9}{5} T_C + 32, and a temperature difference of one Fahrenheit degree equals 5/9 of a kelvin. The construction mirrors the Celsius one: a superscripted \circ followed by an upright F, with a thin space between number and degree sign. US weather data, HVAC and some engineering standards still use it, but scientific journals almost always expect SI. Avoid writing the degree with a lowercase o or with \degree unless that command is defined in your setup.
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 Fahrenheit: $^{\circ}\text{F}$
\[ T_F = \tfrac{9}{5} T_C + 32 \implies 37^{\circ}\text{C} = 98.6^{\circ}\text{F} \]
\end{document}Related symbols
- Kelvin
\text{K} - Degrees Celsius
^{\circ}\text{C} - Meter
\text{m} - Reduced Planck constant (h-bar)
\hbar - Kilogram
\text{kg} - Omega (Upper)
\Omega
Frequently asked questions
- How do I write Degrees Fahrenheit in LaTeX?
- Type ^{\circ}\text{F} in math mode, for example $T_F = \tfrac{9}{5} T_C + 32 \implies 37^{\circ}\text{C} = 98.6^{\circ}\text{F}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for ^{\circ}\text{F}?
- ^{\circ}\text{F} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use ^{\circ}\text{F} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $^{\circ}\text{F}$ in running text.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan