LaTeX Degree (°) - 完整指南

The degree symbol (°) is used for angles and temperatures.

Symbol Preview

°

Degree

LaTeX Code

No package required

Recommended
^\circ

Degree in math mode

Requires: \usepackage{cmd.package}

Recommended
\degree

Degree symbol

LaTeX Degree 是什么?

Represents 1/360 of a full rotation for angles, or temperature measurements.

如何在 LaTeX 中使用 Degree

方法 1:使用 ^\circ

无需额外包

Degree in math mode

示例:使用 ^\circ

latex
\documentclass{article}

\begin{document}

% Using the Degree
Text with ^\circ

\end{document}

方法 2:使用 \degree

⚠️所需包:

\usepackage{cmd.package}

Degree symbol

示例:使用 \degree

latex
\documentclass{article}
\usepackage{gensymb}
\begin{document}

% Using the Degree
Text with \degree

\end{document}

常见用途

Degree 符号通常用于以下情况:

Temperature

Temperature measurements.

Code

$25^\circ C$

Output

25° C

Angle

Angle measurements.

Code

$90^\circ$

Output

90°

完整示例

Using Caret Notation

Degree symbol using caret notation (no packages needed)

latex
\documentclass{article}
\begin{document}

Water boils at $100^\circ C$ or $212^\circ F$.

Right angle: $90^\circ$

\end{document}

Using gensymb Package

Degree symbol using \degree command (requires gensymb package)

latex
\documentclass{article}
\usepackage{gensymb}
\begin{document}

Water boils at 100\degree C or 212\degree F.

Right angle: $90\degree$

\end{document}

常见问题

我应该使用哪种方法?

我们建议使用上面标记为"推荐"的方法。但是,最佳方法取决于您的具体需求:

  • ^\circ: Degree in math mode
  • \degree: Degree symbol

我在哪里使用这个符号?

该符号可以用于:

  • 在数学方程式中(数学模式)
  • 在常规文本中(如果使用文本模式)
  • 在各种文档环境中

我可以在显示模式中使用这个吗?

是的,在数学模式($ $)中工作的符号也适用于显示模式($$ $$)。这允许您在自己的行上显示符号,具有更大的格式。

🔗 Related Symbols You May Need

View all symbols →

🎯 Need to Convert PDF to LaTeX?

Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.

Fast & accurate

Preserves symbols

Free online

No registration

Try Converter Now →