A Latex+tikz question for you: I can't seem to get snakes to work (scientific linux 6.3). I've been looking at the tikz manual; sure would like to know how to get those snakes!
\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations,backgrounds}
\begin{document}
% p43 : can't get snakes to work
% \usetikzlibrary{arrows,snakes,backgrounds} \draw [->,snakes=snake] (0,0) -- (2,0) : Package pgfkeys Error: I do not know the key '/tikz/snakes' and I am going to...
% \usetikzlibrary{arrows,snakes,backgrounds} \draw [->,snake=snake] (0,0) -- (2,0) : Package tikz Warning: Snakes have been superseded by decorations. Please use th...
% \usetikzlibrary{arrows,decorations,backgrounds} \draw [->,snake=snake] (0,0) -- (2,0) : I can't find file `tikzlibrarydecoration.code.tex'...
% \usetikzlibrary{arrows,decorations,backgrounds} \draw [->,decoration=snake] (0,0) -- (2,0) : Package pgfkeys Error: I do not know the key '/pgf/decoration/snake' and I am...
% \usetikzlibrary{arrows,decorations,backgrounds} \draw [->,decoration=snakes] (0,0) -- (2,0) : Package pgfkeys Error: I do not know the key '/pgf/decoration/snakes' and I a
\begin{tikzpicture}
\draw [->,decoration=snake] (0,0) -- (2,0);
\end{tikzpicture}
\end{document}
decorationslibrary, not just the general one. In this case,\usetikzlibrary{decorations.pathmorphing}will get your example to compile, and addingdecorateto your\drawoption will actually make the snake show up. – Jake Dec 17 '12 at 21:04decoration={snake, post length=1mm}. – Jake Dec 17 '12 at 21:21