When trying to compile the examples from the manual like
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\tikz \fill [decorate,decoration={crosses}] [fill=blue!20,draw=blue,thick] (0,0) -- (2,1) arc (90:-90:.5) -- cycle;
\end{document}
all I receive is
! Package pgfkeys Error: I do not know the key '/pgf/decoration/\pgfkeyscurrent
name ' and I am going to ignore it. Perhaps you misspelled it.
Is my tikz installation missing something or what do I do to make this work? The library is there (else I suppose the would be an error) and zigzag
for instance is working.
\usetikzlibrary{decorations.shapes}
andcycle;
– Old Nick Dec 12 '14 at 15:58shapes
sublibrary does the trick. I wonder why is this not documented. You might want to make this an answer, so I can accept it. – oarfish Dec 12 '14 at 16:23