%% %% PSTricks -- Grafik fuer TeX und LaTeX, 5. Auflage (1. Auflage 2004) %% %% Example 11-3-24 on page 132. %% %% Copyright (C) 2008 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{201.7051pt} \setlength\parindent{0pt} \StartShownPreambleCommands \usepackage{pstricks} \StopShownPreambleCommands \begin{document} \begin{pspicture}[showgrid=true](2,2) \pscustom[linewidth=1.5pt]{% \psline(0,0)(1,2)\rlineto(1,-2)} \end{pspicture} \end{document}