summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-06 20:50:18 +0000
committerKarl Berry <karl@freefriends.org>2020-02-06 20:50:18 +0000
commitdec495c25120bdd95ed719784bf1afa8a63145fa (patch)
treea769fb046b216e8d9848dabeb52bd5db4964419c /Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex
parentde962227058faeeff3cdfca28647678552dadb42 (diff)
tkz-euclide (6feb20)
git-svn-id: svn://tug.org/texlive/trunk@53697 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex
new file mode 100644
index 00000000000..ce3f561f2ee
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30-1-2.tex
@@ -0,0 +1,27 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 214 (Section 30.1.2 : Example 2 change style of line)
+
+\begin{tikzpicture}[scale=.6]
+ \tkzDefPoint(1,0){A} \tkzDefPoint(4,0){B}
+ \tkzDefPoint(1,1){C} \tkzDefPoint(5,1){D}
+ \tkzDefPoint(1,2){E} \tkzDefPoint(6,2){F}
+ \tkzDefPoint(0,4){A'}\tkzDefPoint(3,4){B'}
+ \tkzDrawSegments(A,B C,D E,F)
+ \tkzDrawLine(A',B')
+ \tkzSetUpLine[style=dashed,color=gray]
+ \tkzCompass(A',B')
+ \tkzCalcLength[cm](C,D) \tkzGetLength{rCD}
+ \tkzDrawCircle[R](A',\rCD cm)
+ \tkzCalcLength[cm](E,F) \tkzGetLength{rEF}
+ \tkzDrawCircle[R](B',\rEF cm)
+ \tkzInterCC[R](A',\rCD cm)(B',\rEF cm)
+ \tkzGetPoints{I}{J}
+ \tkzSetUpLine[color=red] \tkzDrawLine(A',B')
+ \tkzDrawSegments(A',I B',I)
+ \tkzDrawPoints(A,B,C,D,E,F,A',B',I,J)
+ \tkzLabelPoints(A,B,C,D,E,F,A',B',I,J)
+\end{tikzpicture}
+
+\end{document}