latex

How to Write and Use Angle Symbol in LaTeX

In mathematics, an angle is formed by the amount of rotation between two lines, denoted by ∠. For example, if there is a triangle ABC, then ∠ABA, ∠BCA, and ∠CAB are the angle:

Angle symbols are essential in mathematics in representing the angle of the shape. That’s why document processors also contain simple-to-use source codes to create an angle symbol. In this tutorial, we will include different source codes to write and use angle symbols in LaTeX.

How to Write and Use Angle Symbols in LaTeX?

In LaTeX, you only need \angle code to create a common angle symbol, and here is the example you can check:

\documentclass{article}
\begin{document}
$$ \angle $$
\end{document}

Output

The \angle code also works well in amssymb so let’s take an example to represent the LMN angle in LaTeX through the following source code:

\documentclass{article}
\usepackage{amssymb}
\begin{document}
 $$ \angle{LMN}$$
\end{document}

Output

The angle between two intersecting arcs of major circles on a sphere is known as the spherical angle. It is also known as a dihedral angle. This angle is measured with the help of the angle between the planes of the arc. You can use the spherical angle in LaTeX through the following package and codes:

Package Name Command Symbol
amssymb \sphericalangle
mathabx \sphericalangle
wasysym \varangle

Using any of the above packages, you can use the spherical angle in LaTeX.

\documentclass{article}
\usepackage{wasysym}
\begin{document}
$\varangle ABC $
\end{document}

Output

A measure angle represents any angle’s size, and you can use the \measuredangle to write it in LaTeX. This code is available in both the mathabx and amssymb packages.

Suppose you have a 60° angle ABC, so you can use the following command to write it in the LaTeX document through the following source code:

\documentclass{article}
\usepackage{mathabx}
\begin{document}
$$ \measuredangle{ABC} = 60^{\circ}$$
\end{document}

Output

Note that here, we use the {\circ} code to use the degree symbol in LaTeX.

Conclusion

This was all about the source codes you can try to write and use angle symbols in LaTeX. We have explained the various codes available to create different types of angle symbols. Please check out the source code. We also recommend you visit our official website for more LaTeX-related stuff.

About the author

Prateek Jangid

A passionate Linux user for personal and professional reasons, always exploring what is new in the world of Linux and sharing with my readers.