[pstricks] psbrace and ArrowInside

Manjusha Joshi msj at bprim.org
Mon Jul 25 14:20:34 CEST 2005


Hello,

With pstricks-add I am using \psbrace command. In the same figure I need to 
use \ArrowInside=-> option. 
But with  \ArrowInside=-> I am getting funny \psbrace
So I tried many combinations and found that before use of \psbrace I need to 
set \ArrowInside=- (none)
My expections: \psbrace code should set these things to none before drawing 
and again set it to its usual setting. Is it possible?
I am inserting  codes and outputs  with this mail.
-Regards
Manjusha
--------------------------
\psbrace with funny output see figure fig622prb.eps
=============================================
\documentclass[a4paper,12pt]{article}
\usepackage{pstricks,pst-node,pst-tree,pstricks-add} 

\begin{document}
\pagestyle{empty}
\SpecialCoor
$
\psmatrix[colsep=1.5cm,rowsep=1.5cm,mnode=circle]
&k\\
i~&&j
\psset{arrowscale=3}
\psset{ArrowInside=->,nodesep=1pt}
\ncarc[arcangle=30]{1,2}{2,3}>{P_2}
\ncarc[arcangle=30]{2,1}{1,2}<{P_1}
\psset{arrowscale=1}
%\psset{ArrowInside=-,nodesep=1pt}
\psbrace[ref=1C,rot=90,nodesepB=-15pt](-4,0)(-.5,0){\shortstack{all  
intermidiate\\ matrices in \{1,2, \ldots k\}}}
\endpsmatrix
$

\end{document}
------------------------------------------------------------------------
\psbrace with correct output see figure fig622.eps for output
===================================================
\documentclass[a4paper,12pt]{article}
\usepackage{pstricks,pst-node,pst-tree,pstricks-add} 

\begin{document}
\pagestyle{empty}
\SpecialCoor
$
\psmatrix[colsep=1.5cm,rowsep=1.5cm,mnode=circle]
&k\\
i~&&j
\psset{arrowscale=3}
\psset{ArrowInside=->,nodesep=1pt}
\ncarc[arcangle=30]{1,2}{2,3}>{P_2}
\ncarc[arcangle=30]{2,1}{1,2}<{P_1}
\psset{arrowscale=1}
\psset{ArrowInside=-,nodesep=1pt}
\psbrace[ref=1C,rot=90,nodesepB=-15pt](-4,0)(-.5,0){\shortstack{all  
intermidiate\\ matrices in \{1,2, \ldots k\}}}
\endpsmatrix
$

\end{document}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig622.eps
Type: image/x-eps
Size: 90296 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20050725/5b843c3c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig622prb.eps
Type: image/x-eps
Size: 91226 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20050725/5b843c3c/attachment-0001.bin 


More information about the PSTricks mailing list