[pstricks] concatenation of \psline

Herbert Voss LaTeX at ZEDAT.FU-Berlin.DE
Tue Mar 13 08:40:08 CET 2007


Goebel, Juergen, OPES26 schrieb:
>> Herbert Voss wrote:
>
>> \psline is _always_ a single line. A missing second argument is
>> always (0,0).
>
> Oh, I thought that LaTeX would use the current pen-position for
> the missing "first" argument.  My mistake.
>
>> Alternatives are
>>
>> \psline(0;0)(5;35)(5;40) % one end arrow
>
> Alas, that's not what I need here.  The final graph shall

then use \pscustom

\documentclass{minimal}

\usepackage{pstricks}
\SpecialCoor
\begin{document}

\begin{pspicture}(5,5)
\pscustom[arrows=->]{%
  \psline(0;0)(5;35)
  \psline(5;40)
}
\end{pspicture}

\end{document}

Herbert




More information about the PSTricks mailing list