hyperbolic-triangle-exterior-angles.tex 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{tkz-euclide}
  3. \usetkzobj{all}
  4. % Thanks to Jan Hlavacek for giving an example
  5. % (http://tex.stackexchange.com/a/16749/5645)
  6. \begin{document}
  7. \begin{tikzpicture}[scale=3]
  8. \tkzDefPoint(0,0){O}
  9. \tkzDefPoint(1,0){Z}
  10. % Define points
  11. \tkzDefPoint(-0.7,-0.1){A}
  12. \tkzDefPoint(0.4,-0.3){B}
  13. \tkzDefPoint(0.1,0.4){C}
  14. % Draw big circle
  15. \tkzDrawCircle[fill=white](O,Z)
  16. % I have no idea what this does,
  17. % but when I remove it the rest of the image (the big circles)
  18. % get visible. So it seems to crop the image to the size of the circle
  19. \tkzClipCircle(O,Z)
  20. % Draw angles
  21. \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](B,A,C)
  22. \tkzLabelAngle[pos=0.2](B,A,C){$\alpha$}
  23. \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](C,B,A)
  24. \tkzLabelAngle[pos=0.2](C,B,A){$\beta$}
  25. \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](A,C,B)
  26. \tkzLabelAngle[pos=0.2](A,C,B){$\gamma$}
  27. % "Clip" angles
  28. \tkzDrawCircle[fill,orthogonal through=A and B,color=white](O,Z)
  29. \tkzDrawCircle[fill,orthogonal through=A and C,color=white](O,Z)
  30. \tkzDrawCircle[fill,orthogonal through=B and C,color=white](O,Z)
  31. % Draw big circle
  32. \tkzDrawCircle(O,Z)
  33. % Draw lines
  34. \tkzDrawCircle[orthogonal through=A and B,color=green](O,Z)
  35. \tkzDrawCircle[orthogonal through=A and C,color=blue](O,Z)
  36. \tkzDrawCircle[orthogonal through=B and C,color=red](O,Z)
  37. % Draw points and label them
  38. \tkzDrawPoints[color=black,fill=red,size=5](A,B,C)
  39. \tkzLabelPoints(A,B,C)
  40. \end{tikzpicture}
  41. \end{document}