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

46 lines
1.3 KiB
TeX
Raw Normal View History

2017-09-13 23:29:54 +00:00
\documentclass{standalone}
\usepackage{tikz}
\usepackage{dimer}
\begin{document}
\begin{tikzpicture}
\path(0,0)coordinate(root);
\path(root)++(45:1)coordinate(teal);
\path(root)++(135:1)coordinate(blue);
\path(blue)++(135:1)coordinate(red);
\path(teal)++(135:1)coordinate(cyan);
\path(teal)++(45:1)coordinate(magenta);
\path(magenta)++(135:1)coordinate(orange);
\path(magenta)++(45:1)coordinate(green);
\draw(root)--(teal);
\draw(root)--(blue);
\draw(blue)--(red);
\draw(teal)--(cyan);
\draw(teal)--(magenta);
\draw(magenta)--(orange);
\draw(magenta)--(green);
\fill[color=black](root)circle(3pt);
\fill[color=teal](teal)circle(3pt);
\fill[color=blue](blue)circle(3pt);
\fill[color=red](red)circle(3pt);
\fill[color=cyan](cyan)circle(3pt);
\fill[color=magenta](magenta)circle(3pt);
\fill[color=orange](orange)circle(3pt);
\fill[color=green](green)circle(3pt);
\draw[color=black](blue)++(-135:0.3)node{\footnotesize\it a};
\draw[color=black](red)++(-135:0.3)node{\footnotesize\it b};
\draw[color=black](teal)++(-45:0.3)node{\footnotesize\it c};
\draw[color=black](magenta)++(-45:0.3)node{\footnotesize\it d};
\draw[color=black](cyan)++(-135:0.3)node{\footnotesize\it e};
\draw[color=black](orange)++(-135:0.3)node{\footnotesize\it f};
\draw[color=black](green)++(-45:0.3)node{\footnotesize\it g};
\end{tikzpicture}
\end{document}