[edit] Overleaf guides

[edit] LaTeX Basics

[edit] Mathematics

[edit] Figures and tables

[edit] References and Citations

[edit] Languages

[edit] Document structure

[edit] Formatting

[edit] Fonts

[edit] Presentations

[edit] Commands

[edit] Field specific

[edit] Class files

The \degree command is provided by the gensymb package, so if you add:


to your preamble, that should enable the command.

Another alternative is the \textdegree command, which is provided by the textcomp package. And, finally, $^{\circ}$ is another way of obtaining roughly the right symbol.