diff options
Diffstat (limited to 'info/examples/lgc2/6-2-32.ltx')
-rw-r--r-- | info/examples/lgc2/6-2-32.ltx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/info/examples/lgc2/6-2-32.ltx b/info/examples/lgc2/6-2-32.ltx new file mode 100644 index 0000000000..a8677a7a51 --- /dev/null +++ b/info/examples/lgc2/6-2-32.ltx @@ -0,0 +1,33 @@ +%% +%% The LaTeX Graphics Companion, 2ed (first printing May 2007) +%% +%% Example 6-2-32 on page 348. +%% +%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss +%% +%% 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{207.83385pt} +\setlength\parindent{0pt} +\StartShownPreambleCommands +\usepackage{pstricks,pst-node} +\SpecialCoor +\StopShownPreambleCommands +\begin{document} +\begin{pspicture}(3,3) + \rput[bl](0,0){\ovalnode{A}{Idea 1}} + \rput[tr](3,3){\ovalnode{B}{Idea 2}} + \pcarc{<->}(A)(B) + \rput[lt](0,3){\rnode{A}{Idea 3}} + \rput[rb](3,0){\rnode{B}{Idea 4}} + \pcangles[angleA=-45,angleB=90]{->}(A)(B) +\end{pspicture} +\end{document} |