From bdf817efec1cfdd67cc6176a6664442fd98173ae Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Mon, 17 Oct 2022 20:59:01 -0400 Subject: As presented at RUMA on 2022-10-12 --- figs/rods.fig/Makefile | 28 ++++++++++++++++++++++++++++ figs/rods.fig/libs/shapes.sty | 1 + figs/rods.fig/rods.tikz.tex | 30 ++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 figs/rods.fig/Makefile create mode 120000 figs/rods.fig/libs/shapes.sty create mode 100644 figs/rods.fig/rods.tikz.tex (limited to 'figs/rods.fig') 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} -- cgit v1.2.3-70-g09d2