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