summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex
new file mode 100644
index 0000000000..902c9febe2
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18.1.2.tex
@@ -0,0 +1,17 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 141 (Section 18.1.2 : Example with option \tkzname{diameter})
+
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(2,2){B}
+ \tkzDefCircle[diameter](A,B)
+ \tkzGetPoint{O}
+ \tkzDrawCircle[blue,fill=blue!20](O,B)
+ \tkzDrawSegment(A,B)
+ \tkzDrawPoints(A,B,O)
+ \tkzLabelPoints(A,B,O)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file