How to Write the Degree Fahrenheit Symbol (℉) in LaTeX

In LaTeX, you can write the degree Fahrenheit symbol (℉) using the ^\circ command combined with F, or using the \textdegree command from the textcomp package.

The following examples show how to write the degree Fahrenheit symbol in LaTeX.

How to Write the Degree Fahrenheit Symbol in Text

We can use the ^\circ command combined with F, or the \textdegree command to write the degree Fahrenheit symbol in LaTeX document for text.

Suppose we want to write the degree Fahrenheit symbol in the text.

We can use the following LaTeX code to do so:

\documentclass{article}
\usepackage{textcomp}
\begin{document}

This is an example of using the degree Fahrenheit symbol \( 77^\circ\mathrm{F} \) in a sentence.

This is another example using the \textdegree command: 77\textdegree{}F.

\end{document}

Output: 👇️

This is an example of using the degree Fahrenheit symbol 77°F in a sentence.

This is another example using the \textdegree command: 77°F.

In this example, both the ^\circ\mathrm{F} and \textdegree commands to display the degree Fahrenheit symbol in the text.

How to Write the Degree Fahrenheit Symbol in Mathematical Expressions

For mathematical expressions, We can use the ^\circ\mathrm{F} or \textdegree commands to ensure proper formatting.

Suppose we would like to write mathematical expressions that contain the degree Fahrenheit symbol.

We can use the following LaTeX code to do so:

\documentclass{article}
\usepackage{textcomp}
\begin{document}

An inline mathematical expression: \( 77^\circ\mathrm{F} \).

A displayed mathematical expression:
\[
77^\circ\mathrm{F}
\]

\end{document}

Output: 👇️

Degree Fahrenheit Symbol

In this example, both the ^\circ\mathrm{F} and \textdegree commands to denote the degree Fahrenheit symbol in both inline and displayed mathematical expressions.

Conclusion

Using the degree Fahrenheit symbol (℉) in LaTeX is straightforward. We can use the ^\circ\mathrm{F} command or the \textdegree command from the textcomp package for both text and mathematical expressions. This ensures that the degree Fahrenheit symbol is properly formatted and displayed in LaTeX document.