diff options
author | Ian Jauslin <jauslin@ias.edu> | 2018-04-04 06:21:21 +0000 |
---|---|---|
committer | Ian Jauslin <jauslin@ias.edu> | 2018-04-04 06:21:21 +0000 |
commit | f950c74e38d120e42637983d504f85843a63e95d (patch) | |
tree | eb2ded33fc156da7adaf096c3816432b4262c8d4 /figs/dimer_example.fig/libs |
Diffstat (limited to 'figs/dimer_example.fig/libs')
-rw-r--r-- | figs/dimer_example.fig/libs/dimer_example.sty | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/figs/dimer_example.fig/libs/dimer_example.sty b/figs/dimer_example.fig/libs/dimer_example.sty new file mode 100644 index 0000000..46eb35b --- /dev/null +++ b/figs/dimer_example.fig/libs/dimer_example.sty @@ -0,0 +1,66 @@ +\def\basegraph{ + \path(0,0)++(-135:3)coordinate(A1); + \path(0,0)++( -90:3)coordinate(A2); + \path(0,0)++( -45:3)coordinate(A3); + \path(0,0)++( 0:3)coordinate(A4); + \path(0,0)++( 45:3)coordinate(A5); + \path(0,0)++( 90:3)coordinate(A6); + \path(0,0)++( 135:3)coordinate(A7); + \path(0,0)++( 180:3)coordinate(A8); + + \path(0,0)++(-0.5,1)coordinate(B1); + \path(B1)++(1,0)coordinate(B2); + \path(B2)++(120:1)coordinate(B3); + + \path(0,0)coordinate(C1); + + \path(0,0)++(-0.5,-1)coordinate(D1); + \path(D1)--++(1,0)coordinate(D2); + \path(D2)--++(0,-1)coordinate(D3); + \path(D3)--++(-1,0)coordinate(D4); + + \draw(A1)--(A2); + \draw(A2)--(A3); + \draw(A3)--(A4); + \draw(A4)--(A5); + \draw(A5)--(A6); + \draw(A6)--(A7); + \draw(A7)--(A8); + \draw(A8)--(A1); + + \draw(B1)--(B2); + \draw(B2)--(B3); + \draw(B3)--(B1); + + \draw(A8)--(C1); + \draw(C1)--(A4); + + \draw(D1)--(D2); + \draw(D2)--(D3); + \draw(D4)--(D2); + + \draw(A4)--(A6); + \draw(B1)--(A8); + \draw(B1)--(A7); + \draw(B3)--(A6); + \draw(B3)--(A7); + \draw(B2)--(A4); + + \draw(D1)--(A8); + \draw(D1)--(A1); + \draw(D4)--(A1); + \draw(D3)--(A3); + \draw(D2)--(A4); + + + \foreach \i in {1,...,8}{ + \fill(A\i)circle(0.1); + } + \fill(B1)circle(0.1); + \fill(B2)circle(0.1); + \fill(B3)circle(0.1); + \fill(C1)circle(0.1); + \foreach\i in {1,...,4}{ + \fill(D\i)circle(0.1); + } +} |