summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.11.3.tex
blob: c72d5db012d7971d55ed5590f0574aa848e24be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 76 (Section  8.11.3 : Using \tkzcname{tkzSetUpPoint} in a group)

\begin{tikzpicture}
  \tkzInit[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]
  \tkzDefPoint(0,0){A}
  \tkzDefPoint(02.25,04.25){B}
  \tkzDefPoint(4,0){C}
  \tkzDefPoint(3,2){D}
  \tkzDrawSegments(A,B A,C A,D)
{\tkzSetUpPoint[shape=cross out,
            fill= blue!70!black!!50,
            size=4,color=blue!70!black!30]
  \tkzDrawPoints(A,B)}
  \tkzSetUpPoint[fill= blue!70!black!!50,size=4,
               color=blue!70!black!30]
   \tkzDrawPoints(C,D)
  \tkzLabelPoints(A,B,C,D)
\end{tikzpicture}

\end{document}