diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-18-1-3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-18-1-3.tex | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-18-1-3.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-18-1-3.tex new file mode 100644 index 00000000000..915ff3b88a8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-18-1-3.tex @@ -0,0 +1,27 @@ +\input{preamble-standalone.ltx} +\begin{document} + +% Ex. No. 108 (Section 18.1.3 : Pythagorean Theorem and \tkzcname{tkzDefSquare} ) + +\begin{tikzpicture}[scale=.5] +\tkzInit +\tkzDefPoint(0,0){C} +\tkzDefPoint(4,0){A} +\tkzDefPoint(0,3){B} +\tkzDefSquare(B,A)\tkzGetPoints{E}{F} +\tkzDefSquare(A,C)\tkzGetPoints{G}{H} +\tkzDefSquare(C,B)\tkzGetPoints{I}{J} +\tkzFillPolygon[fill = red!50 ](A,C,G,H) +\tkzFillPolygon[fill = blue!50 ](C,B,I,J) +\tkzFillPolygon[fill = purple!50](B,A,E,F) +\tkzFillPolygon[fill = orange,opacity=.5](A,B,C) +\tkzDrawPolygon[line width = 1pt](A,B,C) +\tkzDrawPolygon[line width = 1pt](A,C,G,H) +\tkzDrawPolygon[line width = 1pt](C,B,I,J) +\tkzDrawPolygon[line width = 1pt](B,A,E,F) +\tkzLabelSegment[](A,C){$a$} +\tkzLabelSegment[](C,B){$b$} +\tkzLabelSegment[swap](A,B){$c$} +\end{tikzpicture} + +\end{document} |