Examples for Various \tikzstyle keys
Sample usage and result of basic TikZ styles as specified in tikzstyledefs.tex.
Source Code
\begin{tikzpicture}
\draw(0,0)node[vertex]{}node[leftlabel]{$L$}node[rightlabel]{$R$}node[bottomlabel]{$B$}node[toplabel]{$T$};
\end{tikzpicture}
\begin{tikzpicture}
\draw(0,0)node[vertex]{};
\draw(0,-.5)node[ciliation]{};
\draw(0,-1)node[ciliatednode=150]{};
\draw(0,-1.5)node[vector]{$u$};
\draw(0,-2)node[small vector]{$u$};
\draw(0,-2.5)node[plain vector]{$u$};
\draw(0,-3)node[matrix]{$A$};
\draw(0,-3.5)node[reverse matrix]{$A$};
\draw(0,-4)node[small matrix]{$A$};
\draw(0,-4.5)node[reverse small matrix]{$A$};
\end{tikzpicture}
\begin{tikzpicture}
\draw(0,0)to node[matrix on edge]{$A$}(0,1);
\draw(.5,0)to node[reverse matrix on edge]{$A$}(.5,1);
\draw[wavyup](0,-1.1)to node[matrix on edge]{$A$}(.5,-.1);
\draw[wavyup](.5,-1.1)to node[reverse matrix on edge]{$A$}(1,-.1);
\end{tikzpicture}
\begin{tikzpicture}
\draw[trivalent,wavyup](0,0)to(.5,1);
\draw[trivalent,wavyup](.5,0)to node[matrix on edge]{$A$}(1,1);
\draw[trivalent,wavyup](1,0)to node[rightlabel,pos=.9]{$i$}(1.5,1);
\draw(1.7,1)node[rightlabel]{\verb"\draw[trivalent,wavyup](0,0)to(.5,1);"};
\draw[dotdotdot,wavyup](0,-1.1)to(.5,-.1);
\draw(.5,-1.1)node[small vector]{$u$}to[wavyup]node[matrix on edge]{$B_1$}(1,-.1);
\end{tikzpicture}
\begin{tikzpicture}
\draw[symmetrizer](0,.8)rectangle node[symlabel]{$n$}(1,1.1);
\draw[permutation](0,.35)rectangle node[symlabel]{$\sigma$}(1,.65);
\draw[antisymmetrizer](0,-.1)rectangle node[asymlabel]{$n$}(1,.2);
\end{tikzpicture}
Note that TikZ libraries needed to be loaded before using these commands:
\usetikzlibrary{shapes}
\usetikzlibrary{decorations.markings}
page revision: 3, last edited: 15 Feb 2010 15:01