[pstricks] Dashpot macro
Herbert Voss
LaTeX at zedat.fu-berlin.de
Sun Jan 22 16:01:34 CET 2006
Patrick Drechsler wrote:
> I started out thinking that it should fit well in the package
> `pst-circ' because the spring was already there. After reading
> the manual on how to integrate new elements I gave it a try:
>
> <URL:http://www.ctan.org/get?fn=/graphics/pstricks/contrib/pst-circ/doc/pst-circ-doc.pdf>
>
> My "no-success" is attached as tar.bz2 file. I have changed all
> "pst-circ" into "my-pst-circ". All my changes to the original
> code are easily found by looking for the terms "dashpot" or "% pd
> start|end|change".
my-pst-circ.tex, line 1222 in macro
\def\pst at draw@dashpot{%
\psline[linewidth=1.5\pslinewidth]%
(-0.5,-0.25)(0.5,0.-25)(0.5,0.25)(-0.5,0.25)%
^^^^^^^
\psline[linewidth=1.5\pslinewidth](-0.5,-0.25)(0.5,-0.25)(0.5,0.25)(-0.5,0.25)
Herbert
More information about the PSTricks
mailing list