\text{\textdegree}

The \text{\textdegree} command in LaTeX is used to represent the degree symbol (°), which is commonly used to denote angles, temperature, or geographic coordinates.

Examples

Represents an angle of 90 degrees.

90\text{\textdegree}

Indicates a temperature of 30 degrees Celsius.

The temperature is 30\text{\textdegree}C

Specifies geographic coordinates in degrees.

Coordinates: 45\text{\textdegree}N, 122\text{\textdegree}W