%\usepackage[T1]{fontenc}
%\usepackage{spqr}
\input{spqr2}
%\begin{document}
\def\CurrentPackages{spqr,pstcol}
\newcounter{myN}
\setlongtables
\author[Sebastian Rahtz]{Sebastian Rahtz\\Elsevier Science Ltd\\
Email: \texttt{s.rahtz@elsevier.co.uk}}
\title{An introduction to PSTricks, part 2}
\begin{Article}
\section{Preface}


Let us first demonstrate the  effects of these basic building blocks:
\end{multicols}
\begin{longtable}{l}
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\rnode{A}{Cat}}
\rput(2.5,.5){\rnode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\Rnode{A}{Cat}}
\rput(2.5,.5){\Rnode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\pnode(.5,.5){A}
\pnode(2.5,.5){B}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\cnode(.5,.5){.2}{A}
\cnode(2.5,.5){.2}{B}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\psset{radius=.3}
\Cnode(.5,.5){A}
\Cnode(2.5,.5){B}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\circlenode{A}{Cat}}
\rput(2.5,.5){\circlenode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\ovalnode{A}{Cat}}
\rput(2.5,.5){\ovalnode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\trinode{A}{Cat}}
\rput(2.5,.5){\trinode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\dotnode(.5,.5){A}
\dotnode(2.5,.5){B}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\fnode(.5,.5){A}
\fnode(2.5,.5){B}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\dianode{A}{Cat}}
\rput(2.5,.5){\dianode{B}{Dog}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,.5){\rnode{B}{\psframebox{Dog}}}
\ncline{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\nccurve[angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,.5){\rnode{B}{\psframebox{Dog}}}
\ncarc{->}{A}{B}
\ncarc{->}{B}{A}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncbar{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncdiag[angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncdiagg[angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncangle[angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncangles[angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}}
\ncloop[loopsize=.25,angleB=180]{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,2)
\rput(1,.5){\rnode{A}{\psframebox{Cat}}}
\nccircle{->}{A}{.5}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,.5){\rnode{B}{\psframebox{Dog}}}
\psset{coilarm=.01,coilwidth=.3}
\nccoil{A}{B}
\end{PSTInlineExample}
\\
\begin{PSTInlineExample}(3,1)
\rput(.5,.5){\rnode{A}{\psframebox{Cat}}}
\rput(2.5,.5){\rnode{B}{\psframebox{Dog}}}
\psset{coilarm=.01,coilwidth=.3}
\nczigzag{A}{B}
\end{PSTInlineExample}
\\
\end{longtable}
\begin{multicols}{2}

\end{Article}
