[pstricks] strange behaviour in using ArrowInside

mokaude mokaude at mageos.com
Mon Nov 13 22:37:57 CET 2006


hello all,

i found a strange behaviour in using ArrowInside. The ticks are not  
also spaced.
So I should put the ticks "at hand" at the good place, and this takes  
a long time to achieve.

Here is an example with differents numbers of ArrowinsideNo.

************************************************************************ 
************
\listfiles
\documentclass[a4paper]{article}
%
\usepackage 
[a4paper,noheadfoot,top=15mm,bottom=15mm,left=15mm,right=15mm]{geometry}
\usepackage[applemac]{inputenc}
% \usepackage[latin1]{inputenc}
%
\usepackage{pstricks-add}


\begin{document}

		\psset{unit=4mm}
		\begin{pspicture}(-.5,-.5)(6,6)
			\psgrid[gridwidth=.1pt,%
			subgridwidth=.1pt,%
			subgriddiv=1,%
			gridlabels=0%
			]%
% 			
	 		\psline[ArrowInside=-|,ArrowInsideNo=5](0,0)(6,0)
			\rput(0,1){
				\psline[ArrowInside=-|,ArrowInsidePos=.134](0,0)(6,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.307](0,0)(6,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.482](0,0)(6,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.656](0,0)(6,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.833](0,0)(6,0)
				}
%
			\psset{linecolor=blue}
	 		\psline[ArrowInside=-|,ArrowInsideNo=4](0,2)(5,2)
			\rput(0,3){
				\psline[ArrowInside=-|,ArrowInsidePos=.16](0,0)(5,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.37](0,0)(5,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.58](0,0)(5,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.79](0,0)(5,0)
				}
%
			\psset{linecolor=red}
	 		\psline[ArrowInside=-|,ArrowInsideNo=3](0,4)(4,4)
			\rput(0,5){
				\psline[ArrowInside=-|,ArrowInsidePos=.205](0,0)(4,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.472](0,0)(4,0)
				\psline[ArrowInside=-|,ArrowInsidePos=.742](0,0)(4,0)
				}
%
		\end{pspicture}

\end{document}

************************************************************************ 
************


Here is my listfiles :

  *File List*
  article.cls    2004/02/16 v1.4f Standard LaTeX document class
   size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
geometry.sty    2002/07/08 v3.2 Page Geometry
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
geometry.cfg
inputenc.sty    2004/02/05 v1.0d Input encoding file
applemac.def    2004/02/05 v1.0d Input encoding file
pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks.sty    2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/04/29 v1.14c `PSTricks' (tvz)
   xcolor.sty    2005/12/21 v2.09 LaTeX color extensions (UK)
    color.cfg    2005/02/03 v1.3 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.tex    2006/10/03 v2.81 `PSTricks-add' (hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2005/11/25 v2.5e package option processing (HA)
  xkeyval.tex    2005/11/25 v2.5e key=value parser (HA)
  ***********

Thanks for your help,

mokaude
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20061113/896a6bc3/attachment.html 


More information about the PSTricks mailing list