From d254a3e3f495e9cd3110ae48020786466d850d57 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Tue, 14 Jun 2022 16:32:34 +0200 Subject: Initial commit --- figs/cell.fig/Makefile | 23 +++++++++++++++++++++++ figs/cell.fig/cell.tikz.tex | 30 ++++++++++++++++++++++++++++++ figs/cell.fig/graphene.sty | 1 + 3 files changed, 54 insertions(+) create mode 100644 figs/cell.fig/Makefile create mode 100644 figs/cell.fig/cell.tikz.tex create mode 120000 figs/cell.fig/graphene.sty (limited to 'figs/cell.fig') 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 -- cgit v1.2.3-70-g09d2