diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
commit | a683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch) | |
tree | 424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx | |
parent | 5beb5368a684995153c8566797ba054f21c666af (diff) |
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx b/Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx new file mode 100644 index 00000000000..259fd79da7a --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-6.ltx @@ -0,0 +1,31 @@ +\documentclass{ppex} +\nonstopmode +\usepackage [matrix,arrow,frame,dvips]{xy} +\pagestyle{empty} + +\begin{document} +\ResetPreambleCommands +\ReadyForTheFray +\usepackage [matrix,arrow,frame,dvips]{xy} +\newcommand{\topbar}{\vrule height 0.4pt width 20mm} +\newcommand{\previous}{% turning-width of 15mm + \save\ar`r[u]+/r15mm/`[u][u]\restore } +\newcommand{\saved}[2]{\relax\txt{#1\\\emph{saved} $d[#2]$\\}} +\newcommand{\bendto}[2]{% creates a bendy arrow, offset 5mm + \save c!C+/r5mm/\ar `r#1!C+/l#2/ `^r#1!C #1!C\restore} +\newcommand{\dinput}[1]{% label-offset 11mm + \save +/l11mm/*{d[#1]}\restore} +\[\begin{xy} +\xymatrix"R" @M=0mm @H=12mm @W=20mm @R=0mm @*[F] {% + {\txt{\topbar\\s\\\\ }} %1,1 +\\ \saved{A}{2} %2,1 +\\ \saved{B}{2}\previous %3,1 +\\ \saved{C}{3} %4,1 +}\turnradius{2mm}\POS(-30,+4) +\xymatrix @M=0mm @H=5mm @W=12mm @R=0mm @*[F] {% + \dinput{1}\bendto{"R1,1"}{15mm} %1,1 +\\ \dinput{2}\bendto{"R3,1"}{17mm} %2,1 +\\ \dinput{3}\bendto{"R4,1"}{19mm} %3,1 +} +\end{xy}\] +\end{document} |