2023年9月18日 星期一

LaTeX 中表示角度的幾種方法

\documentclass{ctexart}

\usepackage{gensymb}

\usepackage{textcomp}


\begin{document}


The cosine of 90 degrees is $\cos(90\degree) = 0$.


The cosine of 90 degrees is $\cos(90\textdegree) = 0$.


The cosine of 90 degrees is cos(90\textdegree) = 0.


The cosine of 90 degrees is $\cos(90^{\circ}) = 0$.


\end{document}