%% 
%%  PSTricks -- Grafik fuer TeX und LaTeX, 4. Auflage (1. Auflage 2004)
%% 
%%  Example 12-1-4 on page 131.
%% 
%%  Copyright (C) 2007 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{105.7051pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage{pstricks,pst-node}
\SpecialCoor
\StopShownPreambleCommands
\begin{document}
\begin{pspicture}(0,1)(3,3)
  \rput[lb](0,2.5){\rnode{A}{PSTricks} ist \rnode{B}{PS}}
  \psline[linecolor=red](0,1)(3,1)
  \psset{linecolor=blue}
  \psline{->}(A)(A|0,1)\psline{->}(B)(B|0,1)
\end{pspicture}
\end{document}
