[pstricks] pstricks-add psbrace: nodesep has no effect.

Greg Hersh gehersh at yahoo.com
Sat Jul 24 20:40:49 CEST 2010


Hello, 

I've tried psbrace, got all options working except nodesep (ditto for nodesepA and nodesepB). Seems like it has no effect. No matter what the value is, the brace starts from the center of the node A (and B).

Here is my original LaTeX statements:

\begin{pspicture}(0,0)(2,0.25) 
                                           \psline{<->}(0,0)(2,0) 
                                           \rput(0.45,0){$]$} 
                                           \rput(0.55,0){$($} 
                                           \rput(1.5,0){$]$}
                                           \rput(0.5,-0.35){$a$}
                                           \rput(1.5,-0.35){$b$}
                                        \rput(0.5,-0.35){\rnode{A}{$a$}}
                                        \rput(1.5,-0.35){\rnode{B}{$b$}}
                                          \psbrace[braceWidth=0.5pt,braceWidthInner=4pt,braceWidthOuter=4pt,nodesepA=2pt,nodesepB=2pt(A)(B){}                                                       \end{pspicture} 


but ended up having psbraces coming from the center of $a$ and $b$. No matter what the values are nodesepA and nodesepB were. So I had to code pnodes instead, positioning them slighly below $a$ and $b$. 

\begin{pspicture}(0,0)(2,0.25) 
                                           \psline{<->}(0,0)(2,0) 
                                           \rput(0.45,0){$]$} 
                                           \rput(0.55,0){$($} 
                                           \rput(1.5,0){$]$}
                                           \rput(0.5,-0.35){$a$}
                                           \rput(1.5,-0.35){$b$}
                                           \pnode(0.5,-0.5){A}
                                           \pnode(1.5,-0.5){B}
                                           \psbrace[braceWidth=0.5pt,braceWidthInner=4pt,braceWidthOuter=4pt](A)(B){}
                                            \end{pspicture}

That works, but that's a workaround.


I'm runing MikTeX 2.8 and downloaded pstricks-add 3-4 weeks ago.


TIA.






      


More information about the PSTricks mailing list