[pstricks] define linestyles

na199 at gmx.de na199 at gmx.de
Sun May 7 11:43:07 CEST 2006

Try this:

%longdash-dot example
\psline[linewidth=.5pt]{->}(![5 2 .5 2] 2 setdash 0 0)(!3.33 3.1)(!4 2)
% the sequence of numbers within the square brackets means: 
% 5 on, 2 off, .5 on, 2 off; longer patterns are possible
the "2" after the "]" defines any offset (no offset = "0")
% see also definition of setdash in the Red Book
% (Postscript Language Reference Manual from Adobe, Publisher Addison Wesley)

Henning Heinze

Date sent:      	Sun, 07 May 2006 09:36:12 +0200
From:           	Patrick Pucholt <Patrick.Pucholt at mailbox.tu-dresden.de>
To:             	Graphics with PSTricks <pstricks at tug.org>
Subject:        	[pstricks] define linestyles
Send reply to:  	Graphics with PSTricks <pstricks at tug.org>
	<mailto:pstricks-request at tug.org?subject=unsubscribe>
	<mailto:pstricks-request at tug.org?subject=subscribe>

> Hello all,
> I wonder if it is possible to define own linestyles such as a 
> slash-dotted line as it is used in technical drawings as a symmetrical line.
> Perhaps there is already an implementation of that, but as far as I 
> remember I've never seen any PSTricks graphic that contained a 
> slash-dotted line...
> Thank you
> Patrick

More information about the PSTricks mailing list