% !TEX TS-program = latex \documentclass[11pt]{amsart} %\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. %\geometry{letterpaper} % ... or a4paper or a5paper or ... %%\geometry{landscape} % Activate for for rotated page geometry %%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent %\usepackage{graphicx} \usepackage{amssymb} %\usepackage{epstopdf} %\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png} \usepackage{pstricks} \usepackage{pst-node} \usepackage{multido} \title{Braid Picture Test} %\author{The Author} %\date{} % Activate to display a given date or no date \begin{document} \maketitle \begin{pspicture}(8,8) \newcommand{\cross}[4]{ \ncline{V#1#4}{V#2#3} \ncline[linewidth=4.5pt, linecolor=white]{V#1#3}{V#2#4} \ncline[linewidth=0.8pt, linecolor=black]{V#1#3}{V#2#4} } %Usage: [V13,V24] crosses over [V14,V23]--ie,2=1+1, and cross 3 to 4 (over) \newcommand{\stay}[3]{\ncline{V#1#3}{V#2#3}}% % Usage: [V13,V23]: 2=1+1, and join position 3 at level 1 to itself \multido{\ii=1+1,\rx=0+2.0}{7}{\multido{\ij=1+1,\ry=7+-1.5}{5}{\cnodeput(\rx,\ry){V\ii\ij}{$\ij$}}} \stay{1}{2}{1} \stay{1}{2}{2} \cross{1}{2}{3}{4} \stay{1}{2}{5} \stay{2}{3}{1} \cross{2}{3}{2}{3} \stay{2}{3}{4} \stay{2}{3}{5} \stay{3}{4}{1} \stay{3}{4}{2} \cross{3}{4}{3}{4} \stay{3}{4}{5} \stay{4}{5}{1} \cross{4}{5}{3}{2} \stay{4}{5}{4} \stay{4}{5}{5} \cross{5}{6}{2}{1} \stay{5}{6}{3} \stay{5}{6}{4} \stay{5}{6}{5} \stay{6}{7}{1} \stay{6}{7}{2} \stay{6}{7}{3} \cross{6}{7}{5}{4} \end{pspicture} \end{document}