[pstricks] ncbar outside pstricks

David Arnold dwarnold45 at suddenlink.net
Thu Jul 7 18:01:49 CEST 2011


Herbert,

That did it! Very nice.

Thanks.

David

On Jul 7, 2011, at 12:36 AM, Herbert Voss wrote:

> \listfiles
> \documentclass{article}
> \usepackage{pst-node,pst-pdf,amsmath}
> 
> \begin{document}
> 
> We ``group'' the first and second terms, noting that we can factor  $5u$ out of both of these terms. Then we ``group'' the third and fourth terms, noting that we can factor $-8$ out of both of these terms.
> 
> \begin{postscript}
> \begin{align*}
> 5\rnode{A}{u2} -10\rnode{B}{uw} -8\rnode{C}{u} +16\rnode{D}{w}
> &=5u\,{\color{red}(u-2w)} -8\,{\color{red}(u-2w)}\\
> \intertext{Now we note that we can factor a $u-2w$ out of both of these terms.}
> &=(5u-8){\color{red}(u-2w)}
> \end{align*}
> \ncbar[linecolor=red,angle=270,arm=7pt,nodesep=3pt]{<->}{A}{B}
> \ncbar[linecolor=red,angle=270,arm=7pt,nodesep=3pt]{<->}{C}{D}
> \end{postscript}
> 
> \end{document}




More information about the PSTricks mailing list