diff options
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-2-0.tex')
-rw-r--r-- | macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-2-0.tex | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-2-0.tex b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-2-0.tex deleted file mode 100644 index 50621b6fa7..0000000000 --- a/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-2-0.tex +++ /dev/null @@ -1,24 +0,0 @@ -\input{preamble-standalone.ltx} -\begin{document} - -% Ex. No. 87 (Section 11.2 : Déterminer une pente) - -\begin{tikzpicture}[scale=1.5] - \tkzInit[xmax=4,ymax=5]\tkzGrid[sub] - \tkzDefPoint(1,2){A} \tkzDefPoint(3,4){B} - \tkzDefPoint(3,2){C} \tkzDefPoint(3,1){D} - \tkzDrawSegments(A,B A,C A,D) - \tkzDrawPoints[color=red](A,B,C,D) - \tkzLabelPoints(A,B,C,D) - \tkzFindSlope(A,B){SAB} \tkzFindSlope(A,C){SAC} - \tkzFindSlope(A,D){SAD} - \pgfkeys{/pgf/number format/.cd,fixed,precision=2} - \tkzText[fill=Gold!50,draw=brown](1,4)% - {La pente de (AB) est : $\pgfmathprintnumber{\SAB}$} - \tkzText[fill=Gold!50,draw=brown](1,3.5)% - {La pente de (AC) est : $\pgfmathprintnumber{\SAC}$} - \tkzText[fill=Gold!50,draw=brown](1,3)% - {La pente de (AD) est : $\pgfmathprintnumber{\SAD}$} -\end{tikzpicture} - -\end{document} |