I'd like to draw a Spring-Mass-Damping system by TikZ. I found the example in Drawing Mechanical Systems in LaTeX
But I have problems compiling it. If I delete the damper code
\draw [dampener] (ground2.north) -- ($(M.south east)!(ground2.north)!(M.south west)$)
it works well
The error message as below:
! Package pgfkeys Error: I do not know the key '/pgf/decoration/mark connection node' and I am going to ignore it. Perhaps you misspelled it.
See the pgfkeys package documentation for explanation.
Type H <return> for immediate help.
...
l.30 \draw [dampener]
(ground2.north) -- ($(M.south east)!(ground2.north)!(M...
?
[1
As I can't reply to the original question, I have to posted a new question about this issue.
pgfdo you have installed? – Joseph Wright Dec 23 '11 at 15:07
– laplace Dec 23 '11 at 15:19(d:\CTEX\MiKTeX\tex\generic\pgf\frontendlayer\tikz\libraries\tikzlibrarytopaths .code.tex File: tikzlibrarytopaths.code.tex 2008/06/17 v2.00-cvs (rcs-revision 1.2) ))) PGFVersion=2.00-cvs )tikzpicture, and post the code in the question please? – qubyte Dec 23 '11 at 15:35