\documentclass{ppex}
\nonstopmode
\usepackage [all,poly,knot,dvips]{xy}
\pagestyle{empty}
\setlength\textwidth{183.0pt}
\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage [all,poly,knot,dvips]{xy}
\[\UseTips
\renewcommand{\labelstyle}{\scriptscriptstyle}
\begin{xy} /r9mm/:
 ,(0,0)
 ,{\hunder<><{1}|>|{2}>>>{3}%
    \htwist<<<{4}|>|{5}><>{6}%
     \hloop<><{7}|>|{8}>>>{9}}
 ,(0,-3)
 ,{\hunder<(+0.1)><{1}|>|{2}>>>{3}%
    \htwist<<<{4}|(-.2)>|(-.2){^{5}}><>{6}%
     \hloop<(+.1)><{7}|>|{8}>>>(-.1){9}}
\end{xy}\]
\end{document}
