triangle-5.tex 932 B

123456789101112131415161718192021222324252627
  1. \begin{tikzpicture}
  2. \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
  3. \tkzSetUpLine[line width=1]
  4. \tkzDefPoints{0/0/A, 4/0/B, -2/3/C}
  5. \tkzDefLine[orthogonal=through C,/tikz/overlay](A,B) \tkzGetPoint{helper}
  6. \tkzInterLL(A,B)(C,helper) \tkzGetPoint{Lc}
  7. %\tkzMarkAngle[arc=l,size=0.4cm,color=red,fill=red!20](A,La,B)
  8. %\tkzLabelAngle[pos=0.25](A,La,B){$\cdot$}
  9. \tkzDrawPolygon(A,B,C)
  10. \node at ($(A)+(-0.47,-0.2)$){$A$};
  11. \node at ($(B)+(0.35,-0.2)$) {$B$}; % \tkzLabelPoint[below](B){$B$} is not accurate enough
  12. \node at ($(C)+(0.05,0.3)$) {$C$};
  13. \node[green] at ($(Lc)+(-0.4,-0.1)$) {$L_C$};
  14. \tkzDrawSegments[red](C,Lc)
  15. \tkzDrawSegments[blue](A,B)
  16. \tkzDrawSegments[dashed](Lc,A)
  17. \tkzLabelSegment[right,red](C,Lc){$h_c$}
  18. \tkzLabelSegment[above,blue](A,B){$c$}
  19. \tkzDrawPoints(A,B,C)
  20. \tkzDrawPoints[color=green,fill=green](Lc)
  21. \end{tikzpicture}