diff options
Diffstat (limited to 'figs/graphene.fig')
-rw-r--r-- | figs/graphene.fig/Makefile | 23 | ||||
l--------- | figs/graphene.fig/graphene.sty | 1 | ||||
-rw-r--r-- | figs/graphene.fig/graphene.tikz.tex | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/figs/graphene.fig/Makefile b/figs/graphene.fig/Makefile new file mode 100644 index 0000000..147037c --- /dev/null +++ b/figs/graphene.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/graphene.fig/graphene.sty b/figs/graphene.fig/graphene.sty new file mode 120000 index 0000000..477bbc1 --- /dev/null +++ b/figs/graphene.fig/graphene.sty @@ -0,0 +1 @@ +../lib/graphene.sty
\ No newline at end of file diff --git a/figs/graphene.fig/graphene.tikz.tex b/figs/graphene.fig/graphene.tikz.tex new file mode 100644 index 0000000..c78e3e9 --- /dev/null +++ b/figs/graphene.fig/graphene.tikz.tex @@ -0,0 +1,12 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{graphene} + +\def\bsite#1{\fill#1circle(.1);} + +\begin{document} +\begin{tikzpicture} + \graphene{(0,0)}{3}{3} +\end{tikzpicture} +\end{document} |