summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/5-5-33.ltx
blob: 69d05b4ca3354a7d32979c615fc933d767658105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\documentclass{ppex}
\nonstopmode
\usepackage [all,knot,poly,dvips]{xy}
\pagestyle{empty}
\setlength\textwidth{183.0pt}
\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage [all,knot,poly,dvips]{xy}
\[
\renewcommand{\labelstyle}{\scriptstyle}
\renewcommand{\objectstyle}{\scriptstyle}
\knotholesize{3mm}
\renewcommand\Vcap[2]{\save 0;#2-#1:#1,
  \vcap~{#1+(0,1)}{#2+(0,1)}{#1}{#2}\restore}
\xygraph{!{0;/r5mm/:}
  !P3"t"{~>{.}~*{\xypolynode}}
  !P6"h"{~:{(4.5,0):}~>{.}~*{\xypolynode}}
  !{\xunderv~{"h2"}{"h1"}{"t1"}{"t3"}@(.62)}
  !{\xunderv~{"h4"}{"h3"}{"t2"}{"t1"}@(.62)}
  !{\xunderv~{"h6"}{"h5"}{"t3"}{"t2"}@(.62)}
  !{\Vcap{"h3"}{"h2"}\Vcap{"h5"}{"h4"}%
    \Vcap{"h1"}{"h6"}}
}\]
\end{document}