summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex
new file mode 100644
index 0000000000..818896e6e1
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-12.2.1.tex
@@ -0,0 +1,19 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 84 (Section 12.2.1 : Example of a tangent passing through a point on the circle )
+
+\begin{tikzpicture}[scale=.75]
+ \tkzDefPoint(0,0){O}
+ \tkzDefPoint(6,6){E}
+ \tkzDefRandPointOn[circle=center O radius 3cm]
+ \tkzGetPoint{A}
+ \tkzDrawSegment(O,A)
+ \tkzDrawCircle(O,A)
+ \tkzDefTangent[at=A](O)
+ \tkzGetPoint{h}
+ \tkzDrawLine[add = 4 and 3](A,h)
+ \tkzMarkRightAngle[fill=red!30](O,A,h)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file