diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-24 22:26:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-24 22:26:04 +0000 |
commit | c521530a9383f032e818b4c99060ab66ce0aa69c (patch) | |
tree | fb13701167db3d22c2eac1ba67595093d683e95a /Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex | |
parent | e44d0af1e3804f153bbdb1961159f8a88004b3f9 (diff) |
visualtikz (22mar16)
git-svn-id: svn://tug.org/texlive/trunk@40120 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex | 185 |
1 files changed, 125 insertions, 60 deletions
diff --git a/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex b/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex index 85493018b85..2ed2248a1f6 100644 --- a/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex +++ b/Master/texmf-dist/doc/latex/visualtikz/Source/tkzdeco.tex @@ -4,7 +4,9 @@ %Insérer dans le préambule : \maboite{\BS{usetikzlibrary}\AC{decorations.pathmorphing}} \label{lib-morph} +\begin{center} \RRR{48-2} +\end{center} %\subsection{Decorations Producing Straight Line Paths} @@ -823,7 +825,11 @@ snake, \maboite{\BS{usetikzlibrary}\AC{decorations.pathreplacing}} \label{lib-replac} + +\begin{center} \RRR{48-3} +\end{center} + \subsubsection{'' border ``} \begin{tabular}{|c|c|c|} \hline @@ -1010,7 +1016,7 @@ amplitude=0.5cm \subsubsection{'' moveto ``} - voir page \pageref{moveto} + \TFRGB{voir}{see} page \pageref{moveto} \subsubsection{'' ticks ``} @@ -1195,7 +1201,7 @@ amplitude=0.5cm \newpage -\Par{composants linéaires `` lineto `` }{'' lineto `` } : +\Par{composants linéaires `` lineto `` }{ Linear components : '' lineto `` } : \begin{tabular}{|l|} \hline decoration=\{ \RDD{show path construction},\\ @@ -1212,7 +1218,7 @@ decoration=\{ \RDD{show path construction},\\ \end{tabular} \bigskip -\Par{Fermetures de chemin `` closepath `` }{'' closepath `` } : +\Par{Fermetures de chemin `` closepath `` }{ Path terminations : '' closepath `` } : \begin{tabular}{|l|} \hline decoration=\{ \RDD{show path construction},\\ @@ -1230,7 +1236,7 @@ decoration=\{ \RDD{show path construction},\\ \bigskip -\Par{coupure de chemin `` moveto code `` }{'' moveto code `` } : +\Par{coupure de chemin `` moveto code `` }{Broken paths : '' moveto code `` } : \begin{tabular}{|l|} \hline decoration=\{ \RDD{show path construction},\\ @@ -1248,7 +1254,7 @@ decoration=\{ \RDD{show path construction},\\ \newpage -\Par{composants courbes `` curveto `` }{ `` curveto `` }: +\Par{composants courbes `` curveto `` }{ Curved segments : `` curveto `` }: \begin{tabular}{|l|} \hline decoration=\{ \RDD{show path construction},\\ @@ -1326,9 +1332,13 @@ and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast}) \maboite{\BS{usetikzlibrary}\AC{decorations.markings}} \label{lib-mark} + +\begin{center} \RRR{48-4} +\end{center} + %\subsubsection{Sa marque à une position} -\SbSbSSCT{Sa marque à une position}{own mark at one position} +\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} \{ @@ -1350,7 +1360,7 @@ and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast}) \end{tabular} %\subsubsection{Ses marques : origine, fin et pas } -\SbSbSSCT{Ses marques : origine, fin et pas }{marks between positions and step} +\SbSbSSCT{Ses marques : origine, fin et pas }{Marks between positions with step size} \begin{tabular}{|c|c|} \hline @@ -1408,7 +1418,7 @@ mark= \RDD{between positions} 0 \RDD{and} 1 \RDD{step} 1/10 & \bigskip %\subsubsection{Marque avec un n\oe ud contenant du texte} -\SbSbSSCT{Marque avec un n\oe ud contenant du texte}{mark with a text node} +\SbSbSSCT{Marque avec un n\oe ud contenant du texte}{Marks with a text node} \begin{tabular}{|c|c|c|} \hline \multicolumn{3}{|c|}{ @@ -1518,7 +1528,7 @@ at position 1cm/2 & at position 0.5/2 & at position -0.5/2 \bigskip %\subsubsection{Numérotation des marques et affectation d'un nom } -\SbSbSSCT{Numérotation des marques et affectation d'un nom }{mark numbered} +\SbSbSSCT{Numérotation des marques et affectation d'un nom }{ Numbered marks} \begin{tabular}{|c|c|}\hline \begin{tikzpicture}[baseline=0pt,decoration={markings, @@ -1556,7 +1566,7 @@ transform shape] \end{tabular} %\subsubsection{Distance des n\oe uds } -\SbSbSSCT{Distance des n\oe uds }{Mark info} +\SbSbSSCT{Distance des n\oe uds }{Marks info} \begin{tabular}{|c|} \hline \begin{tikzpicture}[baseline=0pt,decoration={markings, @@ -1582,8 +1592,8 @@ mark=between positions 0 and 1 step 40pt with \\ /pgf/decoration/mark connection node=node name (no default, initially empty) -\subsubsection{N\oe ud sur une liaison} -\SbSbSSCT{N\oe ud sur une liaison}{mark connection node} +%\subsubsection{N\oe ud sur une liaison} +\SbSbSSCT{N\oe ud sur une liaison}{Mark with a connection node} \begin{tabular}{|c|c|} \hline \begin{tikzpicture}[baseline=0pt] @@ -1636,7 +1646,7 @@ mark=at position 0.4 with \\ \hline {\color{red}\AC{>}} & {\color{red}\AC{stealth }} &{\color{red}\AC{|}} &{\color{red}\AC{diamond}} \\ \hline -\multicolumn{4}{|c|}{Autres possibilités et paramètres voir page \pageref{fleches} et suivantes} +\multicolumn{4}{|c|}{ \TFRGB{Autres possibilités et paramètres voir page \pageref{fleches} et suivantes}{Other possibilities see page \pageref{fleches} } } \\ \hline \end{tabular} @@ -1683,7 +1693,10 @@ mark=at position 0.4 with \maboite{\BS{usetikzlibrary}\AC{decorations.footprints}} \label{lib-footprints} + +\begin{center} \RRR{48-5-2} +\end{center} \bigskip \begin{tabular}{|c|} \hline @@ -1811,7 +1824,7 @@ foot of = gnome & foot of = human & foot of = bird & foot of = felis silvestris \RDD{foot sep}=10pt & \RDD{foot sep}=1cm & \RDD{foot angle} = -45 & \RDD{foot angle} = 45 \\ \hline \multicolumn{2}{|c|}{\dft{} : foot sep=4pt} & -\multicolumn{2}{|c|}{\dft{} : doot angle=10} +\multicolumn{2}{|c|}{\dft{} : foot angle=10} \\ \hline \end{tabular} @@ -1822,13 +1835,16 @@ foot of = gnome & foot of = human & foot of = bird & foot of = felis silvestris ------------------------------ \newpage \subsection{Library `` decorations.shapes `` } -\subsubsection{introduction} +\subsubsection{Introduction} %Insérer dans le préambule : \maboite{\BS{usetikzlibrary}\AC{decorations.shapes}} \label{lib-shapes} + +\begin{center} \RRR{48-5-3} +\end{center} \bigskip \begin{center} @@ -1906,20 +1922,22 @@ dart & diamond & rectangle & circle\\ \\ \hline star & regular polygon & signal & kite \\ \hline -\multicolumn{4}{|c|}{Autres possibilités et paramètres voir page \pageref{formes} et suivantes} +\multicolumn{4}{|c|}{\TFRGB{Autres possibilités et paramètres voir page \pageref{formes} et suivantes}{Other possibilities or parameters see from page \pageref{formes} }} \\ \hline \end{tabular} %\paragraph{Formes} : -\Par{Formes}{Shapes} : +\bigskip -\begin{tabular}{|l|c|}\hline -\emph{syntaxe} &\BSS{draw}[decorate,decoration=\{ \RDD{shape backgrounds},\RDD{shape=dart},\\ +\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},\\ & shape size=.5cm,shape sep=1cm\}] (0,0) - - (10,0); \\ \hline -\emph{Autre syntaxe} +\emph{\TFRGB{Autre syntaxe}{Other syntax}} & \BS{draw}[\RDD{decorate with}=dart,decoration=\AC{shape size=.5cm,shape sep=1cm}] \\ & (0,0) -- (10,0); @@ -1959,14 +1977,16 @@ star & regular polygon & signal & kite \\ \hline \multicolumn{2}{|c|}{\dft : shape= circle } \\ \hline - \multicolumn{2}{|c|}{Autres possibilités voir page \pageref{formes} et suivantes} + \multicolumn{2}{|c|}{ \TFRGB{Autres possibilités voir page \pageref{formes} et suivantes} {Other possibilities see page \pageref{formes} }} \\ \hline \end{tabular} %\paragraph{Paramètres} : -\Par{Paramètres}{Parameters} : +\bigskip -\begin{tabular}{|c|c|c|c|} \hline +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Paramètres}{Parameters} } +\\ \hline \multicolumn{4}{|l|}{\BS{draw}[decorate with=star,\RDD{star points}=3,decoration=\AC{shape size=.5cm,shape sep=1cm}] }\\ \multicolumn{4}{|l|}{ (0,2.5) - - (3,2.5); } \\ \hline @@ -1979,10 +1999,11 @@ star & regular polygon & signal & kite \tikz \draw[decorate with=star,star points=8,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); \\ \hline star points=3 & star points=4 & star points=5 & star points=8\\ \hline -\end{tabular} - - \bigskip -\begin{tabular}{|c|c|c|c|} \hline +%\end{tabular} +% +% \bigskip +%\begin{tabular}{|c|c|c|c|} + \hline \multicolumn{4}{|c|}{\BS{draw}[decorate with=star,\RDD{paint}=green,decoration=\AC{shape size=.5cm,shape sep=1cm}] } \\ \\ \multicolumn{4}{|l|}{ (0,2.5) - - (3,2.5); } @@ -2005,11 +2026,14 @@ star points=3 & star points=4 & star points=5 & star points=8\\ \hline \\ \hline \end{tabular} - +\bigskip %\paragraph{Espacement}: -\Par{Espacement}{Spacing}: +%\Par{Espacement}{Spacing}: -\begin{tabular}{|c|c|} \hline +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Espacement}{Spacing} } +\\ \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ \multicolumn{2}{|c|}{\RDD{shape sep}=1cm\}] (0,2.5) - - (10,2.5);} \\ \hline @@ -2026,11 +2050,14 @@ shape sep=\AC{2cm} \\ \hline \end{tabular} - +\bigskip %\paragraph{Type d'espacement}: -\Par{Type d'espacement}{Type of spacing} : +%\Par{Type d'espacement}{Type of spacing} : \begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Type d'espacement}{Type of spacing} } +\\ \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ \multicolumn{2}{|c|}{ shape sep=\AC{1cm,\RDD{between centers}}\}] (0,2.5) - - (10,2.5);} @@ -2053,10 +2080,14 @@ shape sep=\AC{1cm,\RDD{between centers}}\}] (0,2.5) - - (10,2.5);} \\ \hline \end{tabular} +\bigskip %\paragraph{Espacement automatique}: -\Par{Espacement automatique}{Automatic spacing }: +%\Par{Espacement automatique}{Automatic spacing }: -\begin{tabular}{|l|c|} \hline +\begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Espacement automatique}{Automatic spacing } } +\\ \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ \multicolumn{2}{|c|}{\RDD{shape evenly spread}=5\}] (0,0) - - (10,0);} \\ \hline @@ -2079,9 +2110,11 @@ shape evenly spread=10 \paragraph{Orientation}: -\subparagraph{'' shape border rotate ``} : +%\subparagraph{'' shape border rotate ``} : \begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ '' shape border rotate `` } +\\ \hline shape border rotate=90 & \tikz \draw[decorate with=dart,shape border rotate=90,decoration={shape sep=1cm,shape width=.5cm}] (0,0) -- (10,0); @@ -2098,9 +2131,11 @@ shape border rotate=180 \bigskip -\subparagraph{'' shape sloped ``}: +%\subparagraph{'' shape sloped ``}: \begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ '' shape sloped `` } +\\ \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);} \\ \hline @@ -2172,10 +2207,12 @@ shape sloped=false -\subparagraph{'' shift only ``}: +%\subparagraph{'' shift only ``}: \begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{ '' shift only `` } +\\ \hline \multicolumn{2}{|c|}{ decoration={ {\color{red}transform=\AC{shift only}},shape width=5mm,segment length=.5cm,shape sep=1cm}} \\ \hline @@ -2198,10 +2235,12 @@ avec & sans\\ \end{tabular} -\paragraph{Dimensions}: - +%\paragraph{Dimensions}: +\bigskip -\begin{tabular}{|c|c|} \hline +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ Dimensions } +\\ \hline \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ \multicolumn{2}{|c|}{\RDD{shape height}= 1cm \}] (0,0) - - (10,0);} \\ \hline @@ -2272,7 +2311,10 @@ avec & sans\\ \maboite{\BS{usetikzlibrary}\AC{decorations.text}} \label{lib-text} + +\begin{center} \RRR{48-6} +\end{center} \begin{tabular}{|c|} \hline @@ -2286,9 +2328,12 @@ avec & sans\\ \end{tabular} %\paragraph{Texte trop long}: -\Par{Texte trop long}{text too long}: +%\Par{Texte trop long}{Text too long}: -\begin{tabular}{|c|} \hline +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Texte trop long}{Text too long} } +\\ \hline + \BS{draw}[decorate,decoration=\AC{text along path,\\ text=\AC{Un Deux Trois Quatre Cinq Six sept Huit Neuf Dix}}] (1,1) circle (1); \\ \hline @@ -2300,9 +2345,11 @@ avec & sans\\ \end{tabular} %\paragraph{Format du texte}: -\Par{Format du texte}{Text format}: +%\Par{Format du texte}{Text format}: \begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \TFRGB{Format du texte}{Text format}} +\\ \hline \multicolumn{3}{|c|}{\BS{draw} [decorate,decoration=\AC{text along path, text={avant {\color{red}|\BS{red} | texte | |} après }}]} \\ \hline @@ -2403,10 +2450,12 @@ text={ [ \color{red} ] texte [] }}] \end{tabular} %\paragraph{Sens du texte}: -\Par{Sens du texte}{text orientation}: - +%\Par{Sens du texte}{Text orientation}: +\bigskip \begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Sens du texte}{Text orientation} } +\\ \hline \BS{draw}[decorate,decoration=\AC{text along path,text=\AC{texte},\\ text color=blue, \RDD{reverse path} }] (1,1) circle (1); \\ \hline @@ -2419,10 +2468,12 @@ text color=blue, \RDD{reverse path} }] (1,1) circle (1); \end{tabular} %\paragraph{Position du texte}: -\Par{Position du texte}{text position}: - +%\Par{Position du texte}{Text position}: +\bigskip -\begin{tabular}{|c|c|c|} \hline +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \TFRGB{Position du texte}{Text position} } +\\ \hline \multicolumn{3}{|c|}{ \BS{draw}[decorate,decoration=\{ text along path,text=\AC{texte},}\\ \multicolumn{3}{|c|}{ {\color{red}text align=\AC{align=left}}\}] (1,1) circle (1);} \\ \hline @@ -2469,9 +2520,12 @@ align=\AC{align=right,\RDD{right indent}=1cm} \end{tabular} %\paragraph{Justification du texte}: -\Par{Justification du texte}{fit to path}: +%\Par{Justification du texte}{Fit to path}: -\begin{tabular}{|c|} \hline +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Justification du texte}{Fit to path} } +\\ \hline + \BS{draw} [decoration=\AC{text along path, text=\AC{Un deux trois quatre },\\ text align=\AC{\RDD{fit to path}}}, decorate] (1,1) circle (1); @@ -2485,10 +2539,12 @@ text align=\AC{\RDD{fit to path}}}, decorate] \end{tabular} %\paragraph{Justification des espaces}: -\Par{Justification des espaces}{fit to path stretching spaces}: +%\Par{Justification des espaces}{Fit to path stretching spaces}: -\begin{tabular}{|c|} \hline +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Justification des espaces}{Fit to path stretching spaces} } +\\ \hline \BS{draw} [decoration=\AC{text along path, text=\AC{Un deux trois quatre },\\ text align=\AC{\RDD{fit to path stretching spaces}}}, decorate] (1,1) circle (1); @@ -2509,7 +2565,10 @@ text align=\AC{\RDD{fit to path stretching spaces}}}, decorate] \maboite{\BS{usetikzlibrary}\AC{decorations.fractals}} \label{lib-fractals} + +\begin{center} \RRR{48-7} +\end{center} \bigskip \begin{tabular}{|c|c|c|c|} \hline @@ -2617,7 +2676,7 @@ sans & 1 decorate \subsection{Applications} %\subsubsection{Décoration d'un n\oe ud} -\SbSbSSCT{Décoration d'un n\oe ud}{Decoration of a node} +\SbSbSSCT{Décoration d'un n\oe ud}{Node decoration} \begin{tabular}{|c|c|} \hline \multicolumn{2}{|c|}{ \BS{node} [draw,decorate,decoration=\{bumps, @@ -2672,7 +2731,7 @@ decoration=\RDD{bumps}& decoration=\RDD{footprints} \\ \hline %\subsubsection{Décoration de liaisons de noeuds} -\SbSbSSCT{Décoration de liaisons de noeuds}{Decoration of node link} +\SbSbSSCT{Décoration de liaisons de noeuds}{Node link decoration} \begin{tabular}{|c|c|c|} \hline \multicolumn{3}{|c|}{\BS{draw} [decorate,decoration=snake](A) -- (B);} @@ -2725,7 +2784,7 @@ decoration=coil & decoration=zigzag & decoration=ticks \\ \bigskip %\subsubsection{Décoration d'un graphe} -\SbSbSSCT{Décoration d'un graphe}{Decoration of a graph} +\SbSbSSCT{Décoration d'un graphe}{Graph decoration} \begin{tabular}{|c|c|}\hline \multicolumn{2}{|c|}{\BSS{draw}[decorate, @@ -2833,10 +2892,12 @@ decoration=\AC{zigzag,\RDD{pre=}footprints,\RDD{pre length=}3cm, \end{tabular} \newpage -\paragraph{'' lineto ``} : +%\paragraph{'' lineto ``} : \begin{tabular}{|c|} \hline +'' lineto `` +\textbf{} \BS{draw} [decorate, decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}5cm}](0,0) -- (10,0); \\ \hline @@ -2869,10 +2930,12 @@ decoration=\AC{zigzag,\RDD{pre=}lineto,\RDD{pre length=}3cm, \bigskip -\paragraph{ `` curveto ``} : +%\paragraph{ `` curveto ``} : \begin{tabular}{|c|} \hline +`` curveto `` +\\ \hline \BS{draw} [decorate, decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}5cm}](0,0) -- (10,0); \\ \hline @@ -2904,11 +2967,13 @@ decoration=\AC{zigzag,\RDD{pre=}curveto,\RDD{pre length=}3cm, \end{tabular} \bigskip -\paragraph{'' moveto ``} : +%\paragraph{'' moveto ``} : \label{moveto} -\begin{tabular}{|c|} \hline +\begin{tabular}{|c|} \hline +'' moveto `` +\\ \hline \BS{draw} [decorate, decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}5cm}](0,0) -- (10,0); \\ \hline @@ -2940,7 +3005,7 @@ decoration=\AC{zigzag,\RDD{pre=}moveto,\RDD{pre length=}3cm, \end{tabular} %\subsubsection{Paramètres globaux ou particuliers} -\SbSbSSCT{Paramètres globaux ou particuliers}{Global parameter, partialparameter } +\SbSbSSCT{Paramètres globaux ou particuliers}{Global and partial parameters } \begin{tabular}{|l|} \hline \begin{tikzpicture}[baseline=0pt,ultra thick,decoration={straight zigzag,amplitude=0.5cm,segment length=1cm}] |