how to write degrees in latex code example
Example 1: degrees latex
\documentclass{report}
\usepackage{siunitx}
\begin{document}
The angle is \ang{30}.
\end{document}
Example 2: degree symbol latex
$90^{\circ}$
\documentclass{report}
\usepackage{siunitx}
\begin{document}
The angle is \ang{30}.
\end{document}
$90^{\circ}$