[pstricks] hooks

Patrice Mégret Patrice.Megret at fpms.ac.be
Thu Mar 9 18:18:00 CET 2006


Dear Herbert,

 

I use pstricks-add and in particular the option \psline{H-H} with and without ArrowInside=->.

 

As you can see in my simple example, I have two small problems:

 

1.	the length of the line with the hooks is shorter and the length without hooks.
2.	when there is an arrow inside, one of the end is wrong due to a superposition of the hook and the extremity of the arrow.   

 

Can you let know if this behaviour is normal and a way to overcome these small troubles.

For the point 1, by cut and try I can increase the length until if fits my needs, but for point 2?

 

Thanks for your help,

 

Patrice

 

 

\documentclass{article}

\usepackage{pstricks}

\usepackage{pstricks-add}

\listfiles

\begin{document}

\begin{pspicture}(4,4)

\psgrid

\psline{<->}(1,0.25)(3,0.25)

\psline{H-H}(1,0.5)(3,0.5)

\psline[ArrowInside=->]{<->}(1,1)(3,1)

\psline[ArrowInside=->]{H-H}(1,1.5)(3,1.5)

\end{pspicture}

\end{document}

 

 

*File List*

 article.cls    2001/04/21 v1.4e Standard LaTeX document class

  size10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)

pstricks.sty    2005/06/02 v0.23 LaTeX wrapper for `PSTricks' (RN,HV)

pstricks.tex    2006/02/06 v1.14a `PSTricks' (tvz)

  xcolor.sty    2005/11/25 v2.08 LaTeX color extensions (UK)

   color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive

   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)

pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)

pstricks-add.tex    2006/03/07 v2.74e `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)

 ********

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20060309/5f411dc8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: essai12.ps
Type: application/postscript
Size: 90648 bytes
Desc: essai12.ps
Url : http://tug.org/pipermail/pstricks/attachments/20060309/5f411dc8/attachment.ps 


More information about the PSTricks mailing list