[pstricks] pst-bezier and pst-linesty. (Thanks to Herbert Voss.)

naehring at iee.et.tu-dresden.de naehring at iee.et.tu-dresden.de
Mon Sep 6 15:18:34 CEST 2004


Thank you, Herbert, for admitting me to the pstricks-list.

Meanwhile, me and Herbert had a little private conversation about two
projects of mine:

(1) pst-bezier: Adds a new type `\bcurve' of curves.  The difference
    to \pscurve is that one can set freely chosen control points of
    the curve.

(2) pst-linesty: Adds a new line style `fdashed' which is a direct
    wrapper of the postscript command setdash. Therefore one can set
    almost abitraryly dash-gap patterns with the fdash option.

Both projects are available under

http://www.tn-home.de/Tobias/Soft/TeX/index.html#PSTricks

Unfortunately, both projects are far from complete. (That is the
reason why I avoid to call it `package'.)

Project (1) is missing some essential features and there are some
realy bad hacks in the LaTeX-code. So it is not ready yet for a
release at ctan. (But, please feel free to test it.)  At the moment
I've got no spare time. So I can only give some comments on
project (2).

Herbert told me that some kind of (2) would already be implemented in
pstricks.  I tried the minimal example below. But the attached result
doesnot look right to me. I expected a line with dash-gap-dot-gap
pattern but got only a line with dash-gap pattern.

Perhaps that is due to the version of pstricks and pstricks-add I
have:

(/usr/share/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v97 patch 14  <1999/12/23> (tvz)
(/usr/share/texmf/tex/generic/pstricks/pstricks.con)))
(/home/naehring/texmf/tex/latex/contrib/pstricks/pstricks-add.sty
(/home/naehring/texmf/tex/latex/contrib/pstricks/pstricks-add.tex
`pstricks-add' v1.43, 2004/06/07 (Herbert Voss))

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{article}
\usepackage{pstricks,pstricks-add,pst-eps}
\begin{document}
\begin{TeXtoEPS}
\begin{pspicture}(5cm,2cm)
  \psline[dash=1cm 2mm 1pt 2mm,linestyle=dashed,linewidth=2pt](1,1)(4,1)
\end{pspicture}
\end{TeXtoEPS}
\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The resulting image:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.eps
Type: application/postscript
Size: 42339 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20040906/ff8bda35/attachment.eps 
-------------- next part --------------

Best regards,
Tobias N{\"a}hring


More information about the PSTricks mailing list