跳到内容

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

\usepackage{gensymb}

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.

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX