three-angles.tex 1.1 KB

12345678910111213141516171819202122232425262728
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{tkz-euclide}
  3. \begin{document}
  4. \usetkzobj{all}
  5. \begin{tikzpicture}
  6. \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
  7. \tkzSetUpLine[line width=1]
  8. \tkzDefPoints{0/0/P, 1/0/helperRight, 1/1/helperTopRight, -1/1/helperTopLeft, -1/0/helperLeft, -1/-0.3/helperBottomLeft}
  9. \tkzMarkAngle[arc=l,size=0.8cm,color=green,fill=green!20](helperRight,P,helperTopRight)
  10. \tkzMarkAngle[arc=ll,size=0.8cm,color=blue,fill=blue!20](helperTopRight,P,helperTopLeft)
  11. \tkzMarkAngle[arc=lll,size=0.8cm,color=red,fill=red!20](helperTopLeft,P,helperBottomLeft)
  12. \path[draw] ++(25:.4) node[rotate=0] {$\alpha$};
  13. \path[draw] ++(90:.4) node[rotate=0] {$\beta$};
  14. \path[draw] ++(160:.4) node[rotate=0] {$\gamma$};
  15. \tkzDrawLine[add=0 and 1.0](P, helperRight)
  16. \tkzDrawLine[add=0 and 0.3](P, helperTopRight)
  17. \tkzDrawLine[add=0 and 0.3](P, helperTopLeft)
  18. \tkzDrawLine[add=0 and 1.0](P, helperLeft)
  19. \tkzDrawLine[add=0 and 0.8](P, helperBottomLeft)
  20. \tkzDrawPoints(P)
  21. \tkzLabelPoint[below](P){$P$}
  22. \end{tikzpicture}
  23. \end{document}