Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-10-17 20:59:01 -0400
committerIan Jauslin <ian@jauslin.org>2022-10-17 20:59:01 -0400
commitbdf817efec1cfdd67cc6176a6664442fd98173ae (patch)
tree93d0abe475c342b2c0cac0dfdb16e2fa018bf4e6 /figs/rods.fig
As presented at RUMA on 2022-10-12HEADv1.0master
Diffstat (limited to 'figs/rods.fig')
-rw-r--r--figs/rods.fig/Makefile28
l---------figs/rods.fig/libs/shapes.sty1
-rw-r--r--figs/rods.fig/rods.tikz.tex30
3 files changed, 59 insertions, 0 deletions
diff --git a/figs/rods.fig/Makefile b/figs/rods.fig/Makefile
new file mode 100644
index 0000000..33b81e2
--- /dev/null
+++ b/figs/rods.fig/Makefile
@@ -0,0 +1,28 @@
+PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex)))
+LIBS=$(notdir $(wildcard libs/*))
+
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS): $(LIBS)
+ echo $(LIBS)
+ pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@)
+
+install: $(PDFS)
+ cp $^ $(INSTALLDIR)/
+
+$(LIBS):
+ ln -fs libs/$@ ./
+
+clean-libs:
+ rm -f $(LIBS)
+
+clean-aux:
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+
+clean-tex:
+ rm -f $(PDFS)
+
+clean: clean-libs clean-aux clean-tex
diff --git a/figs/rods.fig/libs/shapes.sty b/figs/rods.fig/libs/shapes.sty
new file mode 120000
index 0000000..eaa25c7
--- /dev/null
+++ b/figs/rods.fig/libs/shapes.sty
@@ -0,0 +1 @@
+../../libs/shapes.sty \ No newline at end of file
diff --git a/figs/rods.fig/rods.tikz.tex b/figs/rods.fig/rods.tikz.tex
new file mode 100644
index 0000000..935a72f
--- /dev/null
+++ b/figs/rods.fig/rods.tikz.tex
@@ -0,0 +1,30 @@
+\documentclass{standalone}
+
+\usepackage{tikz}
+\usepackage{shapes}
+
+\begin{document}
+\begin{tikzpicture}
+\grid{27}{27}{(-13,-13)}
+
+\rodh{teal}{(0,0)}
+\rodh{teal}{(2,1)}
+\rodh{teal}{(8,3)}
+\rodh{teal}{(-6,6)}
+\rodh{teal}{(8,6)}
+\rodh{teal}{(-7,7)}
+\rodh{teal}{(8,8)}
+\rodh{teal}{(-6,10)}
+\rodh{teal}{(-4,-2)}
+\rodh{teal}{(8,-2)}
+\rodh{teal}{(-1,-5)}
+\rodh{teal}{(-3,-7)}
+\rodh{teal}{(5,-8)}
+\rodh{teal}{(-3,-10)}
+
+\rodv{teal}{(-12,-1)}
+\rodv{teal}{(-11,-5)}
+\rodv{teal}{(1,8)}
+
+\end{tikzpicture}
+\end{document}