[pstricks] Node Connections

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Aug 17 18:10:44 CEST 2011


Am 17.08.2011 18:06, schrieb Herbert Voss:
> Am 17.08.2011 15:43, schrieb Scott, Randy:
>
>> So here's my first question to the list. I've created this
>
> please provide full working examples not only fragments.
> \nccurve makes more sense here:
>
> \listfiles
> \documentclass{article}
> \usepackage{pst-node,amsmath,array}
>
> \begin{document}
>
> \begin{center}
> $\arraycolsep=1.4pt\def\arraystretch{1.6}
> \begin{array}{r c l c r c l}
> & &
> & \left| 5-3x \right| \rnode{C3}{\,\le\,} 7 \\[7mm]
> 5-3x & \rnode{L3}{\le} & 7
> & \text{\textbf{or}}
> & -\left(5-3x\right) & \rnode{R3}{\le} & 7 \\
> 5-3x-5& \le & 7-5 &
> & -5+3x & \le & 7 \\
> -3x & \le & 2 &
> & -5+3x+5 & \le & 7+5 \\
> -\dfrac{1}{3} \cdot -3x & \ge & -\dfrac{1}{3}\cdot 2 &
> & 3x & \le 12 \\[2mm]
> x & \ge& -\dfrac{2}{3} &
> & \dfrac{1}{3}\cdot 3x & \le &\frac{1}{3}\cdot 12 \\[1mm]

sorry, the last two should be:

-\dfrac{1}{3} \cdot -3x & \ge & -\dfrac{1}{3}\cdot 2 & 

       & 3x & \le & 12 \\[2mm]

x     & \ge& -\dfrac{2}{3}       &  

       & \dfrac{1}{3}\cdot 3x & \le &\dfrac{1}{3}\cdot 12 \\[1mm]


Herbert

> & & &
> & x & \le & 4
> \end{array}$
> \end{center}
> \psset{nodesep=3pt}
> \nccurve[angleA=-110,angleB=70]{->}{C3}{L3}
> \nccurve[angleA=-70,angleB=110]{->}{C3}{R3}
> \end{document}
>
> Herbert
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/



More information about the PSTricks mailing list