# Triangle with marked angles

> A triangle with its vertices, sides, and three angles labeled and shaded. A Geometry example with its complete LaTeX source, ready to copy or open in TeXeR.

A Geometry example in the TeXeR TikZ library: https://texer.org/library/geometry/triangle-angles

Package: [Geometry](https://texer.org/library/geometry.md), on CTAN at https://ctan.org/pkg/pgf.

Tags: triangle, angles, geometry

## Source

```latex
\usetikzlibrary{angles, quotes}

\begin{tikzpicture}[thick]
  \coordinate[label=below left:$A$] (A) at (0,0);
  \coordinate[label=below right:$B$] (B) at (5,0);
  \coordinate[label=above:$C$] (C) at (1.6,3);
  \pic[draw, angle radius=7mm, angle eccentricity=1.5, "$\alpha$"] {angle=B--A--C};
  \pic[draw, angle radius=7mm, angle eccentricity=1.5, "$\beta$"] {angle=C--B--A};
  \pic[draw, angle radius=6mm, angle eccentricity=1.6, "$\gamma$"] {angle=A--C--B};
  \draw (A) -- node[below] {$c$} (B) -- node[above right] {$a$} (C) -- node[above left] {$b$} cycle;
\end{tikzpicture}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usetikzlibrary{angles, quotes}

\begin{document}

\begin{tikzpicture}[thick]
  \coordinate[label=below left:$A$] (A) at (0,0);
  \coordinate[label=below right:$B$] (B) at (5,0);
  \coordinate[label=above:$C$] (C) at (1.6,3);
  \pic[draw, angle radius=7mm, angle eccentricity=1.5, "$\alpha$"] {angle=B--A--C};
  \pic[draw, angle radius=7mm, angle eccentricity=1.5, "$\beta$"] {angle=C--B--A};
  \pic[draw, angle radius=6mm, angle eccentricity=1.6, "$\gamma$"] {angle=A--C--B};
  \draw (A) -- node[below] {$c$} (B) -- node[above right] {$a$} (C) -- node[above left] {$b$} cycle;
\end{tikzpicture}
\end{document}
```
