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-coarse.fig/Makefile | 23 +++++++++++++++++++++++ figs/cell-coarse.fig/cell-coarse.tikz.tex | 28 ++++++++++++++++++++++++++++ figs/cell-coarse.fig/graphene.sty | 1 + 3 files changed, 52 insertions(+) create mode 100644 figs/cell-coarse.fig/Makefile create mode 100644 figs/cell-coarse.fig/cell-coarse.tikz.tex create mode 120000 figs/cell-coarse.fig/graphene.sty (limited to 'figs/cell-coarse.fig') 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 -- cgit v1.2.3-70-g09d2