summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex24
1 files changed, 10 insertions, 14 deletions
diff --git a/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex
index 68ea16a048..10b89682fa 100644
--- a/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex
+++ b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex
@@ -1,19 +1,15 @@
-%
-% tkz-euclide (14/01/2011)
-%
-% Coding (utf8) Creator (TeX) Producer (pdfeTeX)
-% Author Alain Matthes
-\input{tkzfctpreamble.ltx}
-
+\input{preamble-standalone.ltx}
\begin{document}
+% Ex. No. 55 (Section 12.3 : Équation polaire Heart)
+
\begin{tikzpicture}[scale=3]
- \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
- \tkzFctPolar[domain = -pi:pi,
- samples = 800,
- ball color = red,
- shading = ball]%
- {2-2*sin(t)+sin(t)*sqrt(abs(cos(t)))/(sin(t)+1.4)}
+ \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
+ \tkzFctPolar[domain = -pi:pi,
+ samples = 800,
+ ball color = red,
+ shading = ball]%
+ {2-2*sin(t)+sin(t)*sqrt(abs(cos(t)))/(sin(t)+1.4)}
\end{tikzpicture}
-\end{document}
+\end{document}