summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex26
1 files changed, 14 insertions, 12 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex
index 0017d4390e..d511637968 100644
--- a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex
+++ b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-drawing.tex
@@ -85,7 +85,7 @@ options & default & definition \\
\end{tabular}
\medskip
-\tkzHandBomb\ Beware of the final "s", an oversight leads to cascading errors if you try to draw multiple points. The options are the same as for the previous macro.
+\tkzHandBomb\ Beware of the final \code{s}, an oversight leads to cascading errors if you try to draw multiple points. The options are the same as for the previous macro.
\end{NewMacroBox}
\subsubsection{Example}
@@ -283,18 +283,20 @@ I'll let you look at the examples to see what you can do with these styles.
\tkzCalcLength(B,C)\tkzGetLength{BCl}
\tkzCalcLength(A,C)\tkzGetLength{ACl}
\begin{scope}[dim style/.style={dashed,sloped,teal}]
- \tkzDrawSegment[dim={\pgfmathprintnumber\BCl,6pt,
- text=red}](C,B)
- \tkzDrawSegment[dim={\pgfmathprintnumber\ACl,6pt,}](A,C)
- \tkzDrawSegment[dim={\pgfmathprintnumber\ABl,-6pt,}](A,B)
+ \tkzDrawSegment[dim={\pgfmathprintnumber\BCl,6pt,%
+ text=red}](C,B)
+ \tkzDrawSegment[dim={\pgfmathprintnumber\ACl,%
+ 6pt,}](A,C)
+ \tkzDrawSegment[dim={\pgfmathprintnumber\ABl,%
+ -6pt,}](A,B)
\end{scope}
\tkzLabelPoints(A,B) \tkzLabelPoints[above](C)
\end{tikzpicture}
\end{tkzexample}
\subsubsection{Adding dimensions with option \tkzname{dim} part II}
-\begin{tkzexample}[latex=7cm,small]
-\begin{tikzpicture}[scale=.75]
+\begin{tkzexample}[latex=6cm,small]
+\begin{tikzpicture}[scale=.5]
\tkzDefPoints{0/0/O,-2/0/A,2/0/B,
-2/4/C,2/4/D,2/-4/E,-2/-4/F}
\tkzDrawPolygon(C,...,F)
@@ -699,7 +701,7 @@ arguments & example & explanation \\
\toprule
arguments & example & explanation \\
\midrule
-\TAline{\parg{C,a,b,An}}{\parg{C,4,2,45}} {C center 4 and 2 lengths of long axis and small axis} \\
+\TAline{\parg{C,a,b,An}}{\parg{C,4,2,45}} {C center; 4 and 2 lengths of half-axis} \\
& & 45 slope of main axis \\
\bottomrule
\end{tabular}
@@ -708,9 +710,9 @@ arguments & example & explanation \\
Of course, you have to add all the styles of \TIKZ\ for the tracings...
\end{NewMacroBox}
-\subsubsection{Option \tkzname{towards}}
-\begin{tkzexample}[latex=7cm,small]
- \begin{tikzpicture}
+\subsubsection{Example of drawing an ellipse }
+\begin{tkzexample}[latex=6cm,small]
+ \begin{tikzpicture}[scale=.75]
\tkzDefPoint(0,4){C}
\tkzDrawEllipse[blue](C,4,2,45)
\tkzLabelPoints(C)
@@ -879,7 +881,7 @@ This option allows a bit like \tkzcname{tkzCompass} to place an arc and overflow
\subsubsection{Option \tkzname{angles}: example 2}
-\begin{tkzexample}[latex=6cm,small]
+\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}
\tkzDefPoint(0,0){O}
\tkzDefPoint(5,0){I}