[pstricks] Node Connections
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Aug 17 18:06:08 CEST 2011
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]
& & &
& 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto.png
Type: image/png
Size: 10362 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20110817/a73e04fe/attachment.png>
More information about the PSTricks
mailing list