summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex
new file mode 100644
index 0000000000..f65c476c83
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-21-1-1.tex
@@ -0,0 +1,18 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 139 (Section 21.1.1 : Example of intersection between two straight lines)
+
+\begin{tikzpicture}[rotate=-45,scale=.75]
+ \tkzDefPoint(2,1){A}
+ \tkzDefPoint(6,5){B}
+ \tkzDefPoint(3,6){C}
+ \tkzDefPoint(5,2){D}
+ \tkzDrawLines(A,B C,D)
+ \tkzInterLL(A,B)(C,D)
+ \tkzGetPoint{I}
+ \tkzDrawPoints[color=blue](A,B,C,D)
+ \tkzDrawPoint[color=red](I)
+\end{tikzpicture}
+
+\end{document}