How can I draw this diagram(labels included) ? Is it also possible to label the right angle please.

Result diagram

Description of the image (please ignore if you can see the image): a right angled triangle with a 60° angle and opposite to it a 30° angle. It has labels for the degree and the length of its sides which are 1, 2 and sqrt(3).


There are also specialized packages like tkz-euclide but this is simple enough to be done without any additional package or library in TikZ.

 \draw[thick] (0,0) coordinate (A) -- ++ (0,-2) coordinate(B)
 node[midway,left]{$1$} -- ++({2*sqrt(3)},0) coordinate (C) 
 node[midway,below]{$\sqrt{3}$}--cycle node[midway,above]{$2$};
 \draw (A) -- ++(0,-0.4) arc(-90:-30:0.4) node[midway,below right] {$60^\circ$};
 \draw (B) -- ++(0.4,0) arc(00:90:0.4) node[midway,above right] {$90^\circ$};
 \draw (C) -- ++(-0.6,0) arc(180:150:0.6) node[pos=0.65,left] {$30^\circ$};
 \fill ([xshift=1.5mm,yshift=1.5mm]B) circle (1pt);

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy