3

How may I show the equality of the two sides AC and A'C' by drawing two red-coloured line segments perpendicular to AC and A'C'?

enter image description here

     \documentclass[11pt,a4paper]{article}
     \usepackage{blindtext}
     \usepackage{tikz}
     \usepackage{tkz-euclide}
     \usetkzobj{all}
      \usepackage{color}
 \begin{document}
 \begin{tikzpicture}
 \tkzDefPoint(0,0){A}
 \tkzDefPoint(5,0){B}
\tkzDrawSegment(A,B)
\tkzDefPoint(3,6){C}
\tkzDrawSegment(A,C)
\tkzDrawSegment(B,C)
\tkzLabelPoints[xshift=-10pt](A)
\tkzLabelPoints[xshift=-10pt](B)
\tkzLabelPoints[above](C)
\tkzDefPoint(2.5,0.5){M}
\tkzDefPoint(2.5,-0.5){L}
\tkzDrawSegment[red](M,L)
\tkzMarkAngle[size=1 cm, draw=blue, fill=blue!40](B,A,C)
\end{tikzpicture}
 \begin{tikzpicture}
 \tkzDefPoint(0,0){A^{'}}
\tkzDefPoint(5,0){B^{'}}
\tkzDrawSegment(A^{'},B^{'})
\tkzDefPoint(3,6){C^{'}}
\tkzDrawSegment(A^{'},C^{'})
\tkzDrawSegment(B,C)
\tkzLabelPoints[xshift=-10pt](A^{'})
\tkzLabelPoints[xshift=-10pt](B^{'})
\tkzLabelPoints[above](C^{'})
\tkzDefPoint(2.5,0.5){M}
\tkzDefPoint(2.5,-0.5){L}
\tkzDrawSegment[red](M,L)
\tkzMarkAngle[size=1 cm, draw=blue, fill=blue!40](B,A,C)
\end{tikzpicture}
\end{document}
3

You can use

\tkzMarkSegment[color=green,pos=0.5,mark=|||](B,C)

Code:

     \documentclass[11pt,a4paper]{article}
     \usepackage{blindtext}
     \usepackage{tikz}
     \usepackage{tkz-euclide}
     \usetkzobj{all}
      \usepackage{color}
 \begin{document}
 \begin{tikzpicture}
 \tkzDefPoint(0,0){A}
 \tkzDefPoint(5,0){B}
\tkzDrawSegment(A,B)
\tkzMarkSegment[color=red,pos=0.5,mark=|](A,B)
\tkzDefPoint(3,6){C}
\tkzDrawSegment(A,C)
\tkzMarkSegment[color=blue,pos=0.5,mark=||](A,C)
\tkzDrawSegment(B,C)
\tkzMarkSegment[color=green,pos=0.5,mark=|||](B,C)
\tkzLabelPoints[xshift=-10pt](A)
\tkzLabelPoints[xshift=-10pt](B)
\tkzLabelPoints[above](C)
%\tkzDefPoint(2.5,0.5){M}
%\tkzDefPoint(2.5,-0.5){L}
%\tkzDrawSegment[red](M,L)
\tkzMarkAngle[size=1 cm, draw=blue, fill=blue!40](B,A,C)
\end{tikzpicture}
 \begin{tikzpicture}
 \tkzDefPoint(0,0){A'}
\tkzDefPoint(5,0){B'}
\tkzDrawSegment(A',B')
\tkzMarkSegment[color=red,pos=0.5,mark=|](A',B')
\tkzDefPoint(3,6){C'}
\tkzDrawSegment(A',C')
\tkzMarkSegment[color=blue,pos=0.5,mark=||](A',C')
\tkzDrawSegment(B,C)
\tkzMarkSegment[color=green,pos=0.5,mark=|||](B,C)
\tkzLabelPoints[xshift=-10pt](A')
\tkzLabelPoints[xshift=-10pt](B')
\tkzLabelPoints[above](C')
%\tkzDefPoint(2.5,0.5){M}
%\tkzDefPoint(2.5,-0.5){L}
%\tkzDrawSegment[red](M,L)
\tkzMarkAngle[size=1 cm, draw=blue, fill=blue!40](B,A,C)
\end{tikzpicture}
\end{document}

enter image description here

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.