1
2
3
4
5
6
7
8
9
10
11
12
13
|
\begin{tikzpicture}
\tkzDefPoint(2,1){A}
\tkzDefPoint(6,4){B}
\tkzDrawSegment(A,B)
\tkzMarkSegment[color=gray,
pos=0.2,mark=s|](A,B)
\tkzMarkSegment[color=gray,
pos=0.4,mark=s||](A,B)
\tkzMarkSegment[color=Maroon,
pos=0.6,mark=||](A,B)
\tkzMarkSegment[color=red,
pos=0.8,mark=|||](A,B)
\end{tikzpicture}
|