[Tex/LaTex] How to create a triangle with labeled sides, angles, and corners


I'm on overleaf doing some homework with latex and part of it includes adding a picture of this triangle on the right side of the paper. I know I have to use tikz but when I try and research it myself, I get bombarded with different answers that are not exactly what I'm looking for. Please help!

I need to recreate this image on overleaf.

Best Answer

For fun, here is a short code with pst-eucl, which works well with xelatex:



$ \begin{pspicture}
{\psset{dimen=middle, unit=2, labelsep=0.8ex, linejoin = 1}
\pstTriangle[PointSymbol = none, PosAngle = {90,180,0}, PointNameSep = 0.8em](1.2;75){A}(0,0){B}(1.6, 0){C}}
\psset{linewidth = 0.5pt,MarkAngleRadius =5mm}
{\psset{unit = 7.5mm}
\pstMarkAngle{B}{A}{C}{$ \alpha $}
\pstMarkAngle{C}{B}{A}{$ \beta $}
\pstMarkAngle{A}{C}{B}{$ \gamma $}}
\psset{linestyle = none, labelsep =3pt , shortput = nab}
\ncline{A}{B}_{$ c $}%
\ncline{B}{C}_{$ a $}
\ncline{C}{A}_{$ b $}
\end{pspicture} $


enter image description here

Related Question