Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'figs/cell-coarse.fig')
-rw-r--r--figs/cell-coarse.fig/Makefile23
-rw-r--r--figs/cell-coarse.fig/cell-coarse.tikz.tex28
l---------figs/cell-coarse.fig/graphene.sty1
3 files changed, 52 insertions, 0 deletions
diff --git a/figs/cell-coarse.fig/Makefile b/figs/cell-coarse.fig/Makefile
new file mode 100644
index 0000000..147037c
--- /dev/null
+++ b/figs/cell-coarse.fig/Makefile
@@ -0,0 +1,23 @@
+PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex)))
+
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS):
+ pdflatex -jobname $(basename $@) $(patsubst %.pdf, %.tikz.tex, $@)
+
+
+install: $(PROJECTNAME)
+ cp $^.pdf $(INSTALLDIR)/
+
+
+clean-aux:
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+ rm -f $(addsuffix .out, $(PROJECTNAME))
+
+clean-tex:
+ rm -f $(PDFS) $(SYNCTEXS)
+
+clean: clean-aux clean-tex
diff --git a/figs/cell-coarse.fig/cell-coarse.tikz.tex b/figs/cell-coarse.fig/cell-coarse.tikz.tex
new file mode 100644
index 0000000..f296cb5
--- /dev/null
+++ b/figs/cell-coarse.fig/cell-coarse.tikz.tex
@@ -0,0 +1,28 @@
+\documentclass{standalone}
+
+\usepackage{tikz}
+\usepackage{graphene}
+
+% rescale cells by
+\def\rr{4}
+
+\begin{document}
+\begin{tikzpicture}
+ %\graphene{(0,0)}{12}{12}
+ \graphene{(-3,3*\sqrtTh)}{17}{16}
+
+ \foreach \i in {0,...,3}{
+ \draw[line width=1pt, color=blue](-1*\rr,-\i*\sqrtTh*\rr)--++(1.5*2*\i*\rr+3*\rr,\sqrtThOT*2*\i*\rr+\sqrtTh*\rr);
+ }
+ \foreach \i in {0,...,3}{
+ \draw[line width=1pt, color=blue](0.5*\rr+3*\i*\rr,-3.5*\sqrtTh*\rr)--++(-1.5*2*\i*\rr+12*\rr,-\sqrtThOT*2*\i*\rr+4*\sqrtTh*\rr);
+ }
+
+ \foreach \i in {0,...,3}{
+ \draw[line width=1pt, color=blue](-1*\rr,-\i*\sqrtTh*\rr)--++(-1.5*2*\i*\rr+10.5*\rr,+\sqrtThOT*2*\i*\rr-3.5*\sqrtTh*\rr);
+ }
+ \foreach \i in {0,...,3}{
+ \draw[line width=1pt, color=blue](-1*\rr+3*\i*\rr,\sqrtTh*\rr)--++(-1.5*2*\i*\rr+13.5*\rr,\sqrtThOT*2*\i*\rr-4.5*\sqrtTh*\rr);
+ }
+\end{tikzpicture}
+\end{document}
diff --git a/figs/cell-coarse.fig/graphene.sty b/figs/cell-coarse.fig/graphene.sty
new file mode 120000
index 0000000..477bbc1
--- /dev/null
+++ b/figs/cell-coarse.fig/graphene.sty
@@ -0,0 +1 @@
+../lib/graphene.sty \ No newline at end of file