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/lieb_lattice.fig |
Diffstat (limited to 'figs/lieb_lattice.fig')
l--------- | figs/lieb_lattice.fig/Makefile | 1 | ||||
-rw-r--r-- | figs/lieb_lattice.fig/lieb_lattice.tikz.tex | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/figs/lieb_lattice.fig/Makefile b/figs/lieb_lattice.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/lieb_lattice.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile
\ No newline at end of file diff --git a/figs/lieb_lattice.fig/lieb_lattice.tikz.tex b/figs/lieb_lattice.fig/lieb_lattice.tikz.tex new file mode 100644 index 0000000..e6ef629 --- /dev/null +++ b/figs/lieb_lattice.fig/lieb_lattice.tikz.tex @@ -0,0 +1,32 @@ +\documentclass{standalone} +\usepackage{tikz} + +\begin{document} +\hfil\begin{tikzpicture} + +\foreach\i in {0,...,5}{ + \draw(0,\i)--++(5,0); + \draw(\i,0)--++(0,5); +} +\foreach\i in {0,...,5}{ + \foreach\j in {0,...,5}{ + \fill[color=red](\i,\j)circle(0.1); + \draw(\i,\j)circle(0.1); + } +} +\foreach\i in {0,...,4}{ + \foreach\j in {0,...,5}{ + \fill[color=blue](\i+0.5,\j)circle(0.1); + \draw(\i+0.5,\j)circle(0.1); + } +} +\foreach\i in {0,...,5}{ + \foreach\j in {0,...,4}{ + \fill[color=blue](\i,\j+0.5)circle(0.1); + \draw(\i,\j+0.5)circle(0.1); + } +} + +\end{tikzpicture} + +\end{document} |