degree in latex code example
Example 1: latex degree symbol
% In preamble:
\usepackage{gensymb}
...
Draw a 45 $\degree$ angle.
Example 2: degree symbol latex
$90^{\circ}$
Example 3: degrees latex
\documentclass{report}
\usepackage{siunitx}
\begin{document}
The angle is \ang{30}.
\end{document}