[pstricks] hook and arrowinset

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Dec 10 16:47:52 CET 2007

Bernd Sellentin schrieb:
> Hello,
> I am using in my chemistry papers the pstricks- and the mhchem-package. The 
> latter offers the nice looking option arrows=pgf, but I dont want to load two 
> graphic packages. So I modified the mhchem-package with a new option 
> arrows=pstricks, which is a translation of the pgf-code:
> %%% for pstricks arrows
> \newcommand*\mhchem at rightarrow@pstricks[1]{%
> \begin{pspicture}(0,0)(#1,0.85ex)     
> \psline[linewidth=\mhchem at linewidth,arrowsize=\mhchem at arrowsize,arrowinset=\mhchem at arrowinset,arrowlength=\mhchem at arrowlength]%
>           {->}(0cm,0.575ex)(#1,0.575ex)
> \end{pspicture}%
> }%


please give a full working example file. Then it is easier
to see, what you really want.


More information about the PSTricks mailing list