17jlC/figs/polymer_example.fig/loops.tikz.tex

35 lines
1.4 KiB
TeX

\documentclass{standalone}
\usepackage{tikz}
\usepackage{dimer}
\begin{document}
\begin{tikzpicture}[scale=0.2]
\grid{36}{36}{[color=lightgray](0,0)}
\draw[color=blue, line width=1pt](2,6.5)--++(13,0)--++(0.5,0.5)--++(0,8)--++(-0.5,0.5)--++(-13,0)--++(-0.5,-0.5)--++(0,-8)--cycle;
\draw[color=black](2,16.5)node{\it a};
\draw[color=red, line width=1pt](6,8.5)--++(4,0)--++(0.5,0.5)--++(0,5)--++(-0.5,0.5)--++(-4,0)--++(-0.5,-0.5)--++(0,-5)--cycle;
\draw[color=black](4.5,13)node{\it b};
\draw[color=teal, line width=1pt](9,19.5)--++(9,0)--++(0.5,-0.5)--++(0,-10)--++(0.5,-0.5)--++(15,0)--++(0.5,0.5)--++(0,22)--++(-0.5,0.5)--++(-25,0)--++(-0.5,-0.5)--++(0,-11)--cycle;
\draw[color=black](9,32.5)node{\it c};
\draw[color=magenta, line width=1pt](13,21.5)--++(18,0)--++(0.5,0.5)--++(0,7)--++(-0.5,0.5)--++(-18,0)--++(-0.5,-0.5)--++(0,-7)--cycle;
\draw[color=black](13,30.5)node{\it d};
\draw[color=cyan, line width=1pt](25,11.5)--++(3,0)--++(0.5,0.5)--++(0,5)--++(-0.5,0.5)--++(-3,0)--++(-0.5,-0.5)--++(0,-5)--cycle;
\draw[color=black](23,18.5)node{\it e};
\draw[color=orange, line width=1pt](15,23.5)--++(5,0)--++(0.5,0.5)--++(0,3)--++(-0.5,0.5)--++(-5,0)--++(-0.5,-0.5)--++(0,-3)--cycle;
\draw[color=black](15,28.5)node{\it f};
\draw[color=green, line width=1pt](23,24.5)--++(3,0)--++(0.5,0.5)--++(0,1)--++(-0.5,0.5)--++(-3,0)--++(-0.5,-0.5)--++(0,-1)--cycle;
\draw[color=black](23,27.5)node{\it g};
\end{tikzpicture}
\end{document}