I am trying to label the two angles in a right triangle and got the following code from this post link. In this code, only the right angle is indicated. Looking at several posts on the subject, I am not able to label the other two angles.
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=1.25]
\coordinate [label=left:$C$] (A) at (-1.5cm,-1.cm);
\coordinate [label=right:$A$] (C) at (1.5cm,-1.0cm);
\coordinate [label=above:$B$] (B) at (1.5cm,1.0cm);
\draw
(A) --
node[above] {$a$} (B) --
node[right] {$c$} (C) --
node[below] {$b$} (A);
\draw
(1.25cm,-1.0cm) rectangle (1.5cm,-0.75cm);
\tkzMarkAngle[size=1cm,color=cyan,mark=|](C,A,B);% gives error :undefined control sequence
\end{tikzpicture}
\end{document}
Learning from the manual is difficult, unless one already knows quite a lot. I would appreciate if someone can add for me the lines that would label the two sides of this triangle. This will serve me a lot of learning. Greetings of the season.
Thank you all who spent precious time and effort to look at my problem. Having failed to avoid tikz-euclid, I have gone through geogebra and got what I wanted, attached here
and the code (in case it may be useful to someone esle)
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{pgf,tikz}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
\definecolor{qqwuqq}{rgb}{0.,0.39215686274509803,0.}
\definecolor{uuuuuu}
{rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666}
\definecolor{qqqqff}{rgb}{0.,0.,1.}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle
45,x=1.0cm,y=1.0cm]
\draw[color=black] (-4.,0.) -- (0.,0.);
draw[color=black] (0.,0.) -- (0.,3.);
\clip(-4.,-0.4) rectangle (0.4,3.4);
\draw [shift={(-4.,0.)},color=qqwuqq,fill=qqwuqq,fill opacity=0.1] (0,0) -- (0.:0.6) arc (0.:36.86989764584402:0.6) -- cycle;
\draw[color=qqwuqq,fill=qqwuqq,fill opacity=0.1] (0.,0.4242640687119284) -- (-0.4242640687119284,0.42426406871192845) -- (-0.4242640687119284,0.) -- (0.,0.) -- cycle;
\draw (0.,3.)-- (-4.,0.);
\draw (-4.,0.)-- (0.,0.);
\draw (0.,0.)-- (0.,3.);
\draw[color=qqwuqq] (-3.58,0.16) node {$\theta$};
\draw[color=qqwuqq] (0.34,0.33);
\end{tikzpicture}
\end{document}
Thank you very much




