I want to write the degree symbol (e.g., 45o) in a latex document. What is the command to write it?
You can use one of the following to write the degree symbol in latex:
\textdegree
or
$^{\circ}$
Here is an example to write 45o:
45$^{\circ}$
45\textdegree