答案1
也有专门的软件包,如 tkz-euclide,但这很简单,不需要 Ti 中的任何附加软件包或库即可完成钾Z。
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\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);
\end{tikzpicture}
\end{document}