28.11.2014 Views

tkz-euclid e 1.16 c AlterMundus

tkz-euclid e 1.16 c AlterMundus

tkz-euclid e 1.16 c AlterMundus

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

23.9 Example 2 from John Kitzmiller 151<br />

23.9 Example 2 from John Kitzmiller<br />

Prove AC<br />

CE = BD<br />

DF<br />

Another interesting example from John, you can see how to use some extra options like decoration and<br />

postaction from TikZ with <strong>tkz</strong>-<strong>euclid</strong>e.<br />

A<br />

B<br />

C<br />

G<br />

D<br />

E<br />

F<br />

\begin{tikzpicture}[scale=1.5,decoration={markings,<br />

mark=at position 3cm with {\arrow[scale=2]{>}};}]<br />

\<strong>tkz</strong>Init[xmin=-0.25,xmax=6.25, ymin=-0.5,ymax=4]<br />

\<strong>tkz</strong>Clip<br />

\<strong>tkz</strong>DefPoints{0/0/E, 6/0/F, 0/1.8/P, 6/1.8/Q, 0/3/R, 6/3/S}<br />

\<strong>tkz</strong>DrawLines[postaction={decorate}](E,F P,Q R,S)<br />

\<strong>tkz</strong>DefPoints{3.5/3/A, 5/3/B}<br />

\<strong>tkz</strong>DrawSegments(E,A F,B)<br />

\<strong>tkz</strong>InterLL(E,A)(P,Q) \<strong>tkz</strong>GetPoint{C}<br />

\<strong>tkz</strong>InterLL(B,F)(P,Q) \<strong>tkz</strong>GetPoint{D}<br />

\<strong>tkz</strong>LabelPoints[above right](A,B)<br />

\<strong>tkz</strong>LabelPoints[below](E,F)<br />

\<strong>tkz</strong>LabelPoints[above left](C)<br />

\<strong>tkz</strong>DrawSegments[style=dashed](A,F)<br />

\<strong>tkz</strong>InterLL(A,F)(P,Q) \<strong>tkz</strong>GetPoint{G}<br />

\<strong>tkz</strong>LabelPoints[above right](D,G)<br />

\<strong>tkz</strong>DrawSegments[color=teal, line width=3pt, opacity=0.4](A,C A,G)<br />

\<strong>tkz</strong>DrawSegments[color=magenta, line width=3pt, opacity=0.4](C,E G,F)<br />

\<strong>tkz</strong>DrawSegments[color=teal, line width=3pt, opacity=0.4](B,D)<br />

\<strong>tkz</strong>DrawSegments[color=magenta, line width=3pt, opacity=0.4](D,F)<br />

\end{tikzpicture}<br />

<strong>tkz</strong>-<strong>euclid</strong>e<br />

<strong>AlterMundus</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!