반응형
LaTeX에서 degree 기호를 입력하려면 siunitx 패키지를 사용하거나 수학 모드에서 $^\circ$를 사용할 수 있습니다.
다음은 두 가지 방법으로 degree 기호를 입력하는 예제입니다.
degree 명령은 gensymb 패키지에서 제공하므로 추가하면 됩니다:
siunitx 패키지를 사용하는 방법:
\documentclass{article}
\usepackage{siunitx}
\usepackage{gensymb}
\begin{document}
각도는 \SI{90}{\degree}입니다.
\end{document}
수학 모드에서 $^\circ$를 사용하는 방법:
\documentclass{article}
\begin{document}
각도는 $90^\circ$입니다.
\end{document}
두 방법 모두 결과적으로 "각도는 90°입니다."와 같은 출력을 생성합니다.
반응형
최근댓글