summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-09 03:01:39 +0000
committerNorbert Preining <norbert@preining.info>2020-03-09 03:01:39 +0000
commit0561778af6f8fde0a3a1c334e2aab9a4f1142d6e (patch)
treec19fe45e4101aed56e7fb3602174c6a5e335d7d1 /macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex
parenta8880a5ee484845d9a526c5ca8d21d31214af22b (diff)
CTAN sync 202003090301
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex
new file mode 100644
index 0000000000..942deb276d
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.1.tex
@@ -0,0 +1,25 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 140 (Section 18.1.1 : Example with a random point and option \tkzname{through})
+
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoint(0,4){A}
+ \tkzDefPoint(2,2){B}
+ \tkzDefMidPoint(A,B) \tkzGetPoint{I}
+ \tkzDefRandPointOn[segment = I--B]
+ \tkzGetPoint{C}
+ \tkzDefCircle[through](A,C)
+ \tkzGetLength{rACpt}
+ \tkzpttocm(\rACpt){rACcm}
+ \tkzDrawCircle(A,C)
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints(A,B,C)
+ \tkzLabelCircle[draw,fill=orange,
+ text width=3cm,text centered,
+ font=\scriptsize](A,C)(-90)%
+ {The radius measurement is:
+ \rACpt pt i.e. \rACcm cm}
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file