diff options
author | Ian Jauslin <ian@jauslin.org> | 2022-06-14 16:32:34 +0200 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2022-06-14 16:32:34 +0200 |
commit | d254a3e3f495e9cd3110ae48020786466d850d57 (patch) | |
tree | c88e465b5bc2aff974daaa3617adf615a0b68880 /figs/cell.fig |
Initial commitv1.0
Diffstat (limited to 'figs/cell.fig')
-rw-r--r-- | figs/cell.fig/Makefile | 23 | ||||
-rw-r--r-- | figs/cell.fig/cell.tikz.tex | 30 | ||||
l--------- | figs/cell.fig/graphene.sty | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/figs/cell.fig/Makefile b/figs/cell.fig/Makefile new file mode 100644 index 0000000..147037c --- /dev/null +++ b/figs/cell.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.fig/cell.tikz.tex b/figs/cell.fig/cell.tikz.tex new file mode 100644 index 0000000..ec66a7c --- /dev/null +++ b/figs/cell.fig/cell.tikz.tex @@ -0,0 +1,30 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{graphene} + +\begin{document} +\begin{tikzpicture} + \graphene{(0,0)}{3}{3} + + \foreach \i in {0,...,3}{ + \draw[color=blue](-1,-\i*\sqrtTh)--++(1.5*2*\i+3,\sqrtThOT*2*\i+\sqrtTh); + } + \foreach \i in {0,...,3}{ + \draw[color=blue](0.5+3*\i,-3.5*\sqrtTh)--++(-1.5*2*\i+12,-\sqrtThOT*2*\i+4*\sqrtTh); + } + + \foreach \i in {0,...,3}{ + \draw[color=blue](-1,-\i*\sqrtTh)--++(-1.5*2*\i+10.5,+\sqrtThOT*2*\i-3.5*\sqrtTh); + } + \foreach \i in {0,...,3}{ + \draw[color=blue](-1+3*\i,\sqrtTh)--++(-1.5*2*\i+13.5,\sqrtThOT*2*\i-4.5*\sqrtTh); + } + + \draw[color=red] (6,-\sqrtTh)++(0.5,.6)node[rotate=30]{$l_1$}; + \draw[color=red](6,-\sqrtTh)++(0.5,-.6)node[rotate=-30]{$l_2$}; + \pgfsetarrowsend{latex}; + \draw[color=red,line width=1.5pt](6,-\sqrtTh)--++\Lo; + \draw[color=red,line width=1.5pt](6,-\sqrtTh)--++\Lt; +\end{tikzpicture} +\end{document} diff --git a/figs/cell.fig/graphene.sty b/figs/cell.fig/graphene.sty new file mode 120000 index 0000000..477bbc1 --- /dev/null +++ b/figs/cell.fig/graphene.sty @@ -0,0 +1 @@ +../lib/graphene.sty
\ No newline at end of file |