summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex140
1 files changed, 28 insertions, 112 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex
index c23d56a460..97bf596219 100644
--- a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex
+++ b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-marking.tex
@@ -126,118 +126,6 @@ More delicate operation because there are many options. The symbols used for mar
|, ||,|||, z, s, x, o, oo
\end{tkzltxexample}
-% Their definitions are as follows
-%
-% \begin{tkzltxexample}[]
-% \pgfdeclareplotmark{||}
-% %double bar
-% {%
-% \pgfpathmoveto{\pgfqpoint{2\pgflinewidth}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{2\pgflinewidth}{-\pgfplotmarksize}}
-% \pgfpathmoveto{\pgfqpoint{-2\pgflinewidth}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{-2\pgflinewidth}{-\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-% \begin{tkzltxexample}[]
-% %triple bar
-% \pgfdeclareplotmark{|||}
-% {%
-% \pgfpathmoveto{\pgfqpoint{0 pt}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{0 pt}{-\pgfplotmarksize}}
-% \pgfpathmoveto{\pgfqpoint{-3\pgflinewidth}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{-3\pgflinewidth}{-\pgfplotmarksize}}
-% \pgfpathmoveto{\pgfqpoint{3\pgflinewidth}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{3\pgflinewidth}{-\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-% \begin{tkzltxexample}[]
-% % An bar slant
-% \pgfdeclareplotmark{s|}
-% {%
-% \pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}%
-% {-.70710678\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}%
-% {.70710678\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-%
-% \begin{tkzltxexample}[]
-% % An double bar slant
-% \pgfdeclareplotmark{s||}
-% {%
-% \pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}}
-% \pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-%
-% \begin{tkzltxexample}[]
-% % z
-% \pgfdeclareplotmark{z}
-% {%
-% \pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{0.75\pgfplotmarksize}{\pgfplotmarksize}}
-% \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-% \begin{tkzltxexample}[]
-% % s
-% \pgfdeclareplotmark{s}
-% {%
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{-\pgfplotmarksize}{\pgfplotmarksize}}
-% {\pgfpoint{\pgfplotmarksize}{\pgfplotmarksize}}
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{\pgfplotmarksize}{-\pgfplotmarksize}}
-% {\pgfpoint{-\pgfplotmarksize}{-\pgfplotmarksize}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
-% \begin{tkzltxexample}[]
-% % infinity
-% \pgfdeclareplotmark{oo}
-% {%
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{.5\pgfplotmarksize}{1\pgfplotmarksize}}
-% {\pgfpoint{\pgfplotmarksize}{0pt}}
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{-.5\pgfplotmarksize}{1\pgfplotmarksize}}
-% {\pgfpoint{-\pgfplotmarksize}{0pt}}
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{.5\pgfplotmarksize}{-1\pgfplotmarksize}}
-% {\pgfpoint{\pgfplotmarksize}{0pt}}
-% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
-% \pgfpathcurveto
-% {\pgfpoint{0pt}{0pt}}
-% {\pgfpoint{-.5\pgfplotmarksize}{-1\pgfplotmarksize}}
-% {\pgfpoint{-\pgfplotmarksize}{0pt}}
-% \pgfusepathqstroke
-% }
-% \end{tkzltxexample}
-%
% \tkzMarkAngle(B, A, C)
@@ -300,6 +188,34 @@ options & default & definition \\
With common options, there is a macro for multiple angles.
\end{NewMacroBox}
+\subsection{Problem to mark a small angle: {\tkzname{Option veclen}}}\label{opt-veclen}
+ The problem comes from the "decorate" action and from the value used in size in
+ \tkzcname{tkzMarkAngle}. The solution is to enclose the macro \tkzcname{tkzMarkAngle}.
+ In the next example without the "scope" the result is : Latex Error: Dimension too large.
+
+ \begin{tkzexample}[latex=6cm,small]
+ \begin{tikzpicture}[scale=1]
+ \tkzDefPoint(0,0){O}
+ \tkzDefPoint(2.5,0){N}
+ \tkzDefPoint(-4.2,0.5){M}
+ \tkzDefPointBy[rotation=center O angle 30](N)
+ \tkzGetPoint{B}
+ \tkzDefPointBy[rotation=center O angle -50](N)
+ \tkzGetPoint{A}
+ \tkzInterLC[common=B](M,B)(O,B) \tkzGetFirstPoint{C}
+ \tkzInterLC[common=A](M,A)(O,A) \tkzGetFirstPoint{A'}
+ \tkzDrawSegments(A,C M,A M,B A,B)
+ \tkzDrawCircle(O,N)
+ \begin{scope}[veclen]
+ \tkzMarkAngle[mkpos=.2, size=1.2](C,A,M)
+ \end{scope}
+ \tkzDrawPoints(O, A, B, M, B, C, A')
+ \tkzLabelPoints[right](O,A,B)
+ \tkzLabelPoints[above left](M,C)
+ \tkzLabelPoint[below left](A'){$A'$}
+ \end{tikzpicture}
+ \end{tkzexample}
+
\subsection{Marking a right angle: {\tkzcname{tkzMarkRightAngle}}}