# [pstricks] hook and arrowinset

Bernd Sellentin b.sellentin at t-online.de
Mon Dec 10 18:39:52 CET 2007

Hello,
I like to have the hook to react the same way as a normal arrow does,
especially that the option arrowinset is working.

Example:

\documentclass[11pt]{minimal}
\begin{document}

With arrowinset=0 we get a filled arrow:

\begin{pspicture}(0,0)(1,1)
\psline[arrowsize=5pt,arrowinset=0.7,arrowlength=1.5]{->}(0cm,0.33)(1,0.33)
\psline[arrowsize=8pt,arrowinset=0,arrowlength=2]{->}(0cm,0.66)(1,0.66)
\end{pspicture}

But the hook does not know arrowinset, he is only two lines:

\begin{pspicture}(0,0)(1,1)
\psline[arrowsize=5pt,arrowinset=0.7,arrowlength=1.5]{-h}(0cm,0.33)(1,0.33)
\psline[arrowsize=8pt,arrowinset=0,arrowlength=2]{-h}(0cm,0.66)(1,0.66)
\end{pspicture}

\end{document}

How to modify the hook or to define a new one, that has a filled top  that can
be altered by arrowinset just like the normal arrows?

Thank you
Bernd