summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex')
-rw-r--r--Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex224
1 files changed, 120 insertions, 104 deletions
diff --git a/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex b/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex
index 49044f6f3b2..dc21b6ef913 100644
--- a/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex
+++ b/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex
@@ -39,7 +39,7 @@
\subsubsection{ \og straight zigzag \fg}
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=straight zigzag}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{straight zigzag}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -100,7 +100,7 @@
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=}\\
-\multicolumn{3}{|c|}{\AC{straight zigzag,\RDD{meta-segment length=0.5cm}}] (1,1) circle (1); }
+\multicolumn{3}{|c|}{\AC{straight zigzag,\RDD{meta-segment length}=0.5cm}] (1,1) circle (1); }
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw [dotted,red](1,1) circle (1);
@@ -130,7 +130,7 @@
\label{alea}
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=random steps}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{random steps}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -201,7 +201,7 @@
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= %
%decorate,decoration= }\\
%\multicolumn{3}{|c|}{
-\AC{random steps,\RDD{segment length=2cm}}] (1,1) circle (1); }
+\AC{random steps,\RDD{segment length}=2cm}] (1,1) circle (1); }
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -229,7 +229,7 @@
\subsubsection{\og saw \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=saw}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{saw}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -285,7 +285,7 @@
\bigskip
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=\AC{saw,\RDD{segment length=20pt}}] (1,1) circle (1); }
+\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=\AC{saw,\RDD{segment length}=20pt}] (1,1) circle (1); }
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -312,7 +312,7 @@
\subsubsection{\og zigzag \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=zigzag}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{zigzag}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -373,7 +373,7 @@
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=
- \AC{saw,\RDD{segment length=20pt}}] (1,1) circle (1);}
+ \AC{saw,\RDD{segment length}=20pt }] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -490,7 +490,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\subsubsection{\og bumps \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=bumps}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{bumps}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -543,7 +543,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= %\{decorate,decoration= }\\
%\multicolumn{3}{|c|}{
-\AC{bumps,\RDD{amplitude=10pt}}] (1,1) circle (1);}
+\AC{bumps,\RDD{amplitude}=10pt}] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -571,7 +571,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\subsubsection{\og coil \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=coil}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{coil}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -654,7 +654,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\bigskip
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= \AC{coil,\RDD{amplitude=0.5cm}}] (1,1) circle (1);}
+\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= \AC{coil,\RDD{amplitude}=0.5cm}] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -674,7 +674,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
(1,1) circle (1);
\end{tikzpicture}
\\ \hline
-\RDD{amplitude}=0.5 cm & \RDD{segment lenght}=1cm & \RDD{aspect}=0.25 \\
+\RDD{amplitude}=0.5 cm & \RDD{segment length}=1cm & \RDD{aspect}=0.25 \\
& amplitude=0.5cm & amplitude=0.5cm
\\ \hline
\end{tabular}
@@ -738,7 +738,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\subsubsection{\og snake \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=snake}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{snake}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -792,7 +792,7 @@ amplitude=1cm & amplitude=0.5cm & aspect=0.25
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=
snake,
-\RDD{amplitude=5pt}] (1,1) circle (1);}
+\RDD{amplitude}=5pt] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](1,1) circle (1);
@@ -833,7 +833,7 @@ snake,
\subsubsection{\og border \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=border}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{border}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -898,7 +898,7 @@ amplitude=0.5cm
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=
-\AC{border,\RDD{amplitude=0.5cm}}] (1,1) circle (1);}
+\AC{border,\RDD{amplitude}=0.5cm}] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [decorate,decoration={border,amplitude=0.5cm}]
@@ -931,7 +931,7 @@ amplitude=0.5cm
\draw [decorate,decoration=brace] (0,0) -- (3,0);
\end{tikzpicture}
&
- \BS{draw} [decorate,\RDD{decoration=brace}] (0,0) - - (3,1);
+ \BS{draw} [decorate,\RDD{decoration}=\RDDX{brace}{decoration}] (0,0) - - (3,1);
\\ \hline
\end{tabular}
@@ -939,7 +939,7 @@ amplitude=0.5cm
\begin{tabular}{|c|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=
-\AC{brace,\RDD{amplitude=0.5cm}}] (1,1) circle (1); ;}
+\AC{brace,\RDD{amplitude}=0.5cm}] (1,1) circle (1); ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -994,7 +994,7 @@ amplitude=0.5cm
\begin{tabular}{|c|c|} \hline
\multicolumn{2}{|c|}{ \BSS{draw}[decorate,decoration=
-\AC{expanding waves,\RDD{segment length=0.5cm}}] (1,1) circle (1);}
+\AC{expanding waves,\RDD{segment length}=0.5cm}] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -1021,7 +1021,7 @@ amplitude=0.5cm
\subsubsection{\og ticks \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=ticks}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{ticks}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -1072,7 +1072,7 @@ amplitude=0.5cm
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=
-\AC{ticks,\RDD{segment length=1cm}}] (1,1) circle (1); }
+\AC{ticks,\RDD{segment length}=1cm}] (1,1) circle (1); }
\\ \hline
\begin{tikzpicture}
\draw [dotted,red] (1,1) circle (1);
@@ -1098,7 +1098,7 @@ amplitude=0.5cm
\subsubsection{\fg waves \fg }
\begin{tabular}{|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=waves}] (0,0) - - (2,2) ;}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{waves}{decoration}] (0,0) - - (2,2) ;}
\\ \hline
\begin{tikzpicture}
\draw [dotted,red](0,0) -- (2,2) ;
@@ -1185,126 +1185,139 @@ amplitude=0.5cm
\end{tabular}
%\newpage
-\subsubsection{\fg show path construction \fg }
+\subsubsection{\og show path construction \fg }
-\emph{\TFRGB{Chemin à décorer}{path to decorate}}
+%\emph{\TFRGB{Chemin à décorer}{path to decorate}}
-\begin{tabular}{|l|} \hline
+\begin{tabular}{|l|} \hline
+\multicolumn{1}{|c|}{ \emph{\TFRGB{Chemin à décorer}{path to decorate}} }
+\\ \hline
\BS{draw} [blue,dashed] (0,0) - - (2,1) arc (-20:135:1) - - cycle \\
-(3,2) .. controls (7,0) and (2,0) .. (5,2) - - (6,2) sin (7.57,0) - - (8,3) - - cycle;
+(3,2) .. controls (7,0) and (2,0) .. (5,2) - - (6,2) sin (7.57,0) - - (8,3) ;
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
\end{tabular}
-\newpage
+\bigskip
-\Par{composants linéaires \og lineto \fg }{ Linear components : \og lineto \fg } :
-\begin{tabular}{|l|} \hline
+\begin{tabular}{|l|} \hline
+\multicolumn{1}{|c|}{ \textbf{\TFRGB{composantes linéaires }{ Linear components} : \og lineto \fg } }
+\\ \hline
+
decoration=\{ \RDD{show path construction},\\
\RDD{lineto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,lineto code={
\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;;
\end{tikzpicture}
\\ \hline
\end{tabular}
\bigskip
-\Par{Fermetures de chemin \og closepath \fg }{ Path terminations : \og closepath \fg } :
+%\Par{Fermetures de chemin \og closepath \fg }{ Path terminations : \og closepath \fg } :
-\begin{tabular}{|l|} \hline
+\begin{tabular}{|l|} \hline
+\multicolumn{1}{|c|}{ \textbf{\TFRGB{Fermetures de chemin }{ Path terminations} : \og closepath \fg } }
+\\ \hline
decoration=\{ \RDD{show path construction},\\
\RDD{closepath code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,closepath code={
\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
\end{tabular}
\bigskip
-\Par{coupure de chemin \og moveto code \fg }{Broken paths : \og moveto code \fg } :
+%\Par{coupure de chemin \og moveto code \fg }{Broken paths : \og moveto code \fg } :
-\begin{tabular}{|l|} \hline
+\begin{tabular}{|l|} \hline
+\multicolumn{1}{|c|}{ \textbf{\TFRGB{coupure de chemin }{ Broken paths} : \og moveto \fg } }
+\\ \hline
decoration=\{ \RDD{show path construction},\\
\RDD{moveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,moveto code={
\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
\end{tabular}
\newpage
-\Par{composants courbes \og curveto \fg }{ Curved segments : \og curveto \fg }:
+%\Par{composants courbes \og curveto \fg }{ Curved segments : \og curveto \fg }:
-\begin{tabular}{|l|} \hline
+\begin{tabular}{|l|} \hline
+\multicolumn{1}{|c|}{ \textbf{\TFRGB{composants courbes }{ Curved segments} : \og curveto \fg } }
+\\ \hline
decoration=\{ \RDD{show path construction},\\
\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,curveto code={
\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
-\end{tabular}
-
-\bigskip
-
-\begin{tabular}{|l|} \hline
+%\end{tabular}
+%
+%\bigskip
+%
+%\begin{tabular}{|l|}
+\hline
decoration=\{ \RDD{show path construction},\\
\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentsupporta});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,curveto code={
\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentsupporta);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
-\end{tabular}
-
-\bigskip
-
-\begin{tabular}{|l|} \hline
+%\end{tabular}
+%
+%\bigskip
+%
+%\begin{tabular}{|l|}
+\hline
decoration=\{ \RDD{show path construction},\\
\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentlast}) - - (\BSS{tikzinputsegmentsupportb});
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,curveto code={
\draw [red,ultra thick,->] (\tikzinputsegmentlast) -- (\tikzinputsegmentsupportb);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
-\end{tabular}
-
-\bigskip
-
-\begin{tabular}{|l|} \hline
+%\end{tabular}
+%
+%\bigskip
+%
+%\begin{tabular}{|l|}
+\hline
decoration=\{ \RDD{show path construction},\\
\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) .. controls (\BSS{tikzinputsegmentsupporta}) \\
and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast})
@@ -1312,12 +1325,15 @@ and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast})
},\}
\\ \hline
\begin{tikzpicture}
-\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\path [decorate,decoration={show path construction,curveto code={
-\draw [red,ultra thick,->] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast);
-},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) -- cycle;
+\draw [red,ultra thick,->] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast);} } ]
+(0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) -- (6,2) sin (7.57,0) -- (8,3) ;
+%(0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;
\end{tikzpicture}
\\ \hline
+.. controls (7,0) and (2,0) .. (5,2) \DW{}
+\\ \hline
\end{tabular}
%- (\tikzinputsegmentlast)
@@ -1341,7 +1357,7 @@ and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast})
\SbSbSSCT{Sa marque à une position}{Personal mark at one position}
\begin{tabular}{|c|} \hline
-\BS{draw} [decorate,decoration=\{markings,\RDD{mark=at position} 1cm \\ \RDD{ with} \{
+\BS{draw} [decorate,decoration=\{markings,\RDD{mark}=\RDDX{at position}{mark} 1cm \\ \RDD{ with} \{
\textbf{\BS{draw}[red] (-2pt,-2pt) - - (2pt,2pt);}
\textbf{\BS{draw}[red](2pt,-2pt) - - (-2pt,2pt);}\\
\textbf{\BS{draw}[red] (-2pt,-2pt) rectangle (2pt,2pt); }
@@ -1700,7 +1716,7 @@ mark=at position 0.4 with
\bigskip
\begin{tabular}{|c|} \hline
-\BS{tikz} \BS{draw}[decorate,\RDD{decoration=footprints}] (0,0) -- (10,0);
+\BS{tikz} \BS{draw}[decorate,\RDD{decoration}=\RDDX{footprints}{decoration}] (0,0) -- (10,0);
\\ \hline
\tikz \draw[decorate,decoration=footprints] (0,0) -- (10,0);
@@ -1711,7 +1727,7 @@ mark=at position 0.4 with
\bigskip
\begin{tabular}{|c|c|c|c|} \hline
-\multicolumn{4}{|c|}{\BSS{draw}[decorate,decoration=\AC{footprints,\RDD{foot of = gnome}}] (0,2.5) - - (3,2.5);}
+\multicolumn{4}{|c|}{\BSS{draw}[decorate,decoration=\AC{footprints,\RDD{foot of} = \RDDX{gnome}{foot of}}] (0,2.5) - - (3,2.5);}
\\ \hline
\tikz \draw[decorate,decoration={footprints,foot of = gnome}] (0,2.5) -- (3,2.5);
&
@@ -1722,7 +1738,7 @@ mark=at position 0.4 with
\tikz \draw[decorate,decoration={footprints,foot of = felis silvestris}] (0,2.5) -- (3,2.5);
\\ \hline
-foot of = \RDD{gnome} & foot of = \RDD{human} & foot of = \RDD{bird} & foot of = \RDD{felis silvestris} \\
+foot of = \RDDX{gnome}{foot of} & foot of = \RDDX{human}{foot of} & foot of = \RDDX{bird}{foot of} & foot of = \RDDX{felis silvestris}{foot of} \\
& (\dft) & & \\
\hline
\end{tabular}
@@ -1849,7 +1865,7 @@ foot of = gnome & foot of = human & foot of = bird & foot of = felis silvestris
\begin{center}
\begin{tabular}{|c|c|c|c|} \hline
-\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration=crosses}] (0,0) - - (3,0);}
+\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{crosses}{decoration}] (0,0) - - (3,0);}
\\ \hline
\tikz \draw[decorate,decoration=crosses] (0,0) -- (3,0);
&
@@ -1900,7 +1916,7 @@ decorate with/.style=
{decorate,decoration={shape backgrounds,shape=#1,shape size=2mm}}}
\begin{tabular}{|c|c|c|c|} \hline
- \multicolumn{4}{|c|}{\BS{draw}[\RDD{decorate with=dart}] (0,2.5) - - (3,2.5); }
+ \multicolumn{4}{|c|}{\BS{draw}[\RDD{decorate with}=dart] (0,2.5) - - (3,2.5); }
\\ \hline
\tikz \draw[decorate with=dart] (0,2.5) -- (3,2.5);
&
@@ -1934,7 +1950,7 @@ star & regular polygon & signal & kite
\begin{tabular}{|l|c|}\hline
\multicolumn{2}{|c|}{ \TFRGB{Formes disponibles}{Shapes available} }
\\ \hline
-\emph{\TFRGB{Syntaxe}{Syntax}} &\BSS{draw}[decorate,decoration=\{ \RDD{shape backgrounds},\RDD{shape=dart},\\
+\emph{\TFRGB{Syntaxe}{Syntax}} &\BSS{draw}[decorate,decoration=\{ \RDD{shape backgrounds},\RDD{shape}=dart,\\
& shape size=.5cm,shape sep=1cm\}] (0,0) - - (10,0);
\\ \hline
\emph{\TFRGB{Autre syntaxe}{Other syntax}}
@@ -2137,7 +2153,7 @@ shape border rotate=180
\multicolumn{2}{|c|}{ \og shape sloped \fg }
\\ \hline
\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape width=.5cm,shape sep=1cm, }\\
- \multicolumn{2}{|c|}{ \RDD{shape sloped=true}\}] (0,0) - - (3,3);}
+ \multicolumn{2}{|c|}{ \RDD{shape sloped}=true \}] (0,0) - - (3,3);}
\\ \hline
\begin{tikzpicture}
\draw[dotted,red] (0,0) -- (3,3);
@@ -2160,7 +2176,7 @@ shape sloped=false
\begin{tabular}{|c|c|} \hline
\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape width=.5cm,shape sep=1cm, }\\
- \multicolumn{2}{|c|}{ \RDD{shape sloped=true}\}] (0,0) arc (0:180:3 and 2);}
+ \multicolumn{2}{|c|}{ \RDD{shape sloped}=true\}] (0,0) arc (0:180:3 and 2);}
\\ \hline
\begin{tikzpicture}
\draw[dotted,red] (0,0) arc (0:180:3 and 2);
@@ -2493,7 +2509,7 @@ text color=blue, \RDD{reverse path} }] (1,1) circle (1);
\end{tikzpicture}
\\ \hline
-align=\AC{\RDD{align=left}} & align=\AC{\RDD{align=center}} & align=\AC{\RDD{align=right}} \\
+align=\AC{\RDD{align}=\RDDX{left}{align}} & align=\AC{\RDD{align}=\RDDX{center}{align}} & align=\AC{\RDD{align}=\RDDX{right}{align}} \\
\hline
\end{tabular}
@@ -2501,7 +2517,7 @@ align=\AC{\RDD{align=left}} & align=\AC{\RDD{align=center}} & align=\AC{\RDD{ali
\begin{tabular}{|c|c|} \hline
\multicolumn{2}{|c|}{ \BS{draw}[ decorate,decoration=\{text along path,text=\AC{texte},} \\
- \multicolumn{2}{|c|}{ text align=\AC{align=left,\RDD{left indent=1cm}} \} ] (1,1) circle (1);}
+ \multicolumn{2}{|c|}{ text align=\AC{align=left,\RDD{left indent}=1cm} \} ] (1,1) circle (1);}
\\ \hline
\begin{tikzpicture}
\draw[dotted] (1,1) circle (1);
@@ -2787,14 +2803,14 @@ decoration=coil & decoration=zigzag & decoration=ticks \\
\SbSbSSCT{Décoration d'un graphe}{Graph decoration}
\begin{tabular}{|c|c|}\hline
-\multicolumn{2}{|c|}{\BSS{draw}[decorate,
-\RDD{ecorate,decoration=footprints}] plot coordinates {(0,0) (2,1) (4,-2) (6,2) };}
+\multicolumn{2}{|c|}{\BSS{draw}[
+\RDD{decorate},decoration=footprints] plot coordinates {(0,0) (2,1) (4,-2) (6,1) };}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[->,blue] (-.1,0) -- (6,0);
\draw[->,blue] (0,-2.5) -- (0,2.5);
- \draw[red,dashed] plot coordinates {(0,0) (2,1) (4,-2) (6,2) };
- \draw[decorate,decoration=footprints] plot coordinates {(0,0) (2,1) (4,-2) (6,2) };
+ \draw[red,dashed] plot coordinates {(0,0) (2,1) (4,-2) (6,1) };
+ \draw[decorate,decoration=footprints] plot coordinates {(0,0) (2,1) (4,-2) (6,1) };
\end{tikzpicture}
&
\begin{tikzpicture}[domain=0:6.28,x=0.7cm,baseline=0pt]
@@ -2804,7 +2820,7 @@ decoration=coil & decoration=zigzag & decoration=ticks \\
\draw[decorate,decoration=footprints] plot (\x,{sin(\x r)});
\end{tikzpicture}
\\ \hline
-plot coordinates {(0,0) (2,1) (4,-2) (6,2) }
+plot coordinates {(0,0) (2,1) (4,-2) (6,1) }
&
plot (\BS{x},\AC{sin(\BS{x} r)})
\\ \hline
@@ -2819,7 +2835,7 @@ plot coordinates {(0,0) (2,1) (4,-2) (6,2) }
\begin{tabular}{|c|} \hline
\BS{draw} [decorate,
-decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}5cm}](0,0) -- (10,0);
+decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=5cm}](0,0) -- (10,0);
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2827,7 +2843,7 @@ decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}5cm}](0,0) -- (10,0)
\draw [decorate,decoration={zigzag,pre=footprints,pre length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}5cm}
+decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2835,7 +2851,7 @@ decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}5cm}
\draw [decorate,decoration={zigzag,post=footprints,post length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{post=}footprints,\RDD{post length=}5cm}
+decoration=\AC{zigzag,\RDD{post}=footprints,\RDD{post length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2843,8 +2859,8 @@ decoration=\AC{zigzag,\RDD{post=}footprints,\RDD{post length=}5cm}
\draw [decorate,decoration={zigzag,pre=footprints,pre length=3cm,post=expanding waves,post length=3cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}3cm,
-,\RDD{post=}expanding waves,\RDD{post length=}3cm}
+decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=3cm,
+,\RDD{post}=expanding waves,\RDD{post length}=3cm}
\\ \hline
\end{tabular}
@@ -2899,15 +2915,15 @@ decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}3cm,
\og lineto \fg
\textbf{}
\BS{draw} [decorate,
-decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}5cm}](0,0) -- (10,0);
+decoration=\AC{zigzag,lineto,\RDD{pre length}=5cm}](0,0) -- (10,0);
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
\draw[dotted,red] (0,0) -- (10,0);]
-\draw [decorate,decoration={zigzag,pre=lineto,pre length=5cm}] (0,0) -- (10,0);
+\draw [decorate,decoration={zigzag,pre=lineto,pre length}=5cm] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}5cm}
+decoration=\AC{ zigzag,\RDD{pre}=lineto,\RDD{pre length}=5cm }
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2915,7 +2931,7 @@ decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}5cm}
\draw [decorate,decoration={zigzag,post=lineto,post length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{post=}lineto,\RDD{post length=}5cm}
+decoration=\AC{zigzag,\RDD{post}=lineto,\RDD{post length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2923,8 +2939,8 @@ decoration=\AC{zigzag,\RDD{post=}lineto,\RDD{post length=}5cm}
\draw [decorate,decoration={zigzag,pre=lineto,pre length=3cm,post=lineto,post length=3cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}3cm,
-,\RDD{post=}curveto,\RDD{post length=}3cm}
+decoration=\AC{zigzag,\RDD{pre}=lineto,\RDD{pre length}=3cm,
+,\RDD{post}=curveto,\RDD{post length}=3cm}
\\ \hline
\end{tabular}
@@ -2937,7 +2953,7 @@ decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}3cm,
\og curveto \fg
\\ \hline
\BS{draw} [decorate,
-decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}5cm}](0,0) -- (10,0);
+decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=5cm}](0,0) -- (10,0);
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2945,7 +2961,7 @@ decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}5cm}](0,0) -- (10,0);
\draw [decorate,decoration={zigzag,pre=curveto,pre length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}5cm}
+decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2953,7 +2969,7 @@ decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}5cm}
\draw [decorate,decoration={zigzag,post=curveto,post length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{post=}curveto,\RDD{post length=}5cm}
+decoration=\AC{zigzag,\RDD{post}=curveto,\RDD{post length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2961,8 +2977,8 @@ decoration=\AC{zigzag,\RDD{post=}curveto,\RDD{post length=}5cm}
\draw [decorate,decoration={zigzag,pre=curveto,pre length=3cm,post=curveto,post length=3cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}3cm,
-,\RDD{post=}curveto,\RDD{post length=}3cm}
+decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=3cm,
+,\RDD{post}=curveto,\RDD{post length}=3cm}
\\ \hline
\end{tabular}
@@ -2975,7 +2991,7 @@ decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}3cm,
\og moveto \fg
\\ \hline
\BS{draw} [decorate,
-decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}5cm}](0,0) -- (10,0);
+decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=5cm}](0,0) -- (10,0);
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2983,7 +2999,7 @@ decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}5cm}](0,0) -- (10,0);
\draw [decorate,decoration={zigzag,pre=moveto,pre length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}5cm}
+decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2991,7 +3007,7 @@ decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}5cm}
\draw [decorate,decoration={zigzag,post=moveto,post length=5cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{post=}moveto,\RDD{post length=}5cm}
+decoration=\AC{zigzag,\RDD{post}=moveto,\RDD{post length}=5cm}
\\ \hline
\begin{tikzpicture}[baseline=0pt]
\draw[red!20] (0,-0.5) grid (10,0.5);
@@ -2999,8 +3015,8 @@ decoration=\AC{zigzag,\RDD{post=}moveto,\RDD{post length=}5cm}
\draw [decorate,decoration={zigzag,pre=moveto,pre length=3cm,post=moveto,post length=3cm}] (0,0) -- (10,0);
\end{tikzpicture}
\\ \hline
-decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}3cm,
-,\RDD{post=}moveto,\RDD{post length=}3cm}
+decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=3cm,
+,\RDD{post}=moveto,\RDD{post length}=3cm}
\\ \hline
\end{tabular}