From 133934bd3e166bf03854592d22ebb8da05c7aa29 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Sat, 24 Jun 2017 03:24:09 +0000 Subject: As presented at GLaMP 2017 on 2017-06-24 --- figs/cross_example.fig/Makefile | 1 + figs/cross_example.fig/cross_example.tikz.tex | 16 ++++++ figs/cross_example.fig/grid.tikz.tex | 10 ++++ figs/cross_example.fig/libs/shapes.sty | 1 + figs/cross_packing.fig/Makefile | 1 + figs/cross_packing.fig/cross_packing_l.tikz.tex | 14 +++++ figs/cross_packing.fig/cross_packing_r.tikz.tex | 14 +++++ figs/cross_packing.fig/libs/shapes.sty | 1 + figs/cross_sliding.fig/Makefile | 1 + figs/cross_sliding.fig/cross_sliding1.tikz.tex | 17 ++++++ figs/cross_sliding.fig/cross_sliding2.tikz.tex | 18 +++++++ figs/cross_sliding.fig/libs/shapes.sty | 1 + figs/gaunt_fisher.fig/Makefile | 1 + figs/gaunt_fisher.fig/gaunt_fisher2.tikz.tex | 30 +++++++++++ figs/gaunt_fisher.fig/gaunt_fisher3.tikz.tex | 53 ++++++++++++++++++ figs/gaunt_fisher.fig/libs/shapes.sty | 1 + figs/hole_example.fig/Makefile | 1 + figs/hole_example.fig/hole_example_cross.tikz.tex | 36 +++++++++++++ .../hole_example_cross_decorrelated.tikz.tex | 63 ++++++++++++++++++++++ figs/hole_example.fig/hole_example_square.tikz.tex | 24 +++++++++ figs/hole_example.fig/libs/shapes.sty | 1 + figs/libs/Makefile | 28 ++++++++++ figs/libs/shapes.sty | 58 ++++++++++++++++++++ figs/shapes.fig/Makefile | 1 + figs/shapes.fig/cross.tikz.tex | 11 ++++ figs/shapes.fig/cross3.tikz.tex | 11 ++++ figs/shapes.fig/diamond.tikz.tex | 11 ++++ figs/shapes.fig/hexagon.tikz.tex | 32 +++++++++++ figs/shapes.fig/libs/shapes.sty | 1 + figs/square_packing.fig/Makefile | 1 + figs/square_packing.fig/libs/shapes.sty | 1 + figs/square_packing.fig/square_packing.tikz.tex | 20 +++++++ .../square_packing_slide.tikz.tex | 25 +++++++++ figs/square_sliding.fig/Makefile | 1 + figs/square_sliding.fig/libs/shapes.sty | 1 + figs/square_sliding.fig/square_sliding.tikz.tex | 17 ++++++ .../square_sliding_contra.tikz.tex | 25 +++++++++ 37 files changed, 549 insertions(+) create mode 120000 figs/cross_example.fig/Makefile create mode 100644 figs/cross_example.fig/cross_example.tikz.tex create mode 100644 figs/cross_example.fig/grid.tikz.tex create mode 120000 figs/cross_example.fig/libs/shapes.sty create mode 120000 figs/cross_packing.fig/Makefile create mode 100644 figs/cross_packing.fig/cross_packing_l.tikz.tex create mode 100644 figs/cross_packing.fig/cross_packing_r.tikz.tex create mode 120000 figs/cross_packing.fig/libs/shapes.sty create mode 120000 figs/cross_sliding.fig/Makefile create mode 100644 figs/cross_sliding.fig/cross_sliding1.tikz.tex create mode 100644 figs/cross_sliding.fig/cross_sliding2.tikz.tex create mode 120000 figs/cross_sliding.fig/libs/shapes.sty create mode 120000 figs/gaunt_fisher.fig/Makefile create mode 100644 figs/gaunt_fisher.fig/gaunt_fisher2.tikz.tex create mode 100644 figs/gaunt_fisher.fig/gaunt_fisher3.tikz.tex create mode 120000 figs/gaunt_fisher.fig/libs/shapes.sty create mode 120000 figs/hole_example.fig/Makefile create mode 100644 figs/hole_example.fig/hole_example_cross.tikz.tex create mode 100644 figs/hole_example.fig/hole_example_cross_decorrelated.tikz.tex create mode 100644 figs/hole_example.fig/hole_example_square.tikz.tex create mode 120000 figs/hole_example.fig/libs/shapes.sty create mode 100644 figs/libs/Makefile create mode 100644 figs/libs/shapes.sty create mode 120000 figs/shapes.fig/Makefile create mode 100644 figs/shapes.fig/cross.tikz.tex create mode 100644 figs/shapes.fig/cross3.tikz.tex create mode 100644 figs/shapes.fig/diamond.tikz.tex create mode 100644 figs/shapes.fig/hexagon.tikz.tex create mode 120000 figs/shapes.fig/libs/shapes.sty create mode 120000 figs/square_packing.fig/Makefile create mode 120000 figs/square_packing.fig/libs/shapes.sty create mode 100644 figs/square_packing.fig/square_packing.tikz.tex create mode 100644 figs/square_packing.fig/square_packing_slide.tikz.tex create mode 120000 figs/square_sliding.fig/Makefile create mode 120000 figs/square_sliding.fig/libs/shapes.sty create mode 100644 figs/square_sliding.fig/square_sliding.tikz.tex create mode 100644 figs/square_sliding.fig/square_sliding_contra.tikz.tex (limited to 'figs') diff --git a/figs/cross_example.fig/Makefile b/figs/cross_example.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/cross_example.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/cross_example.fig/cross_example.tikz.tex b/figs/cross_example.fig/cross_example.tikz.tex new file mode 100644 index 0000000..8231de6 --- /dev/null +++ b/figs/cross_example.fig/cross_example.tikz.tex @@ -0,0 +1,16 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\grid{10}{10}{(-0.5,-0.5)} + +\cross{teal}{(5,5)} +\cross{teal}{(4,2)} +\cross{teal}{(7,2)} +\cross{teal}{(3,8)} +\cross{teal}{(1,7)} +\end{tikzpicture} +\end{document} diff --git a/figs/cross_example.fig/grid.tikz.tex b/figs/cross_example.fig/grid.tikz.tex new file mode 100644 index 0000000..4278366 --- /dev/null +++ b/figs/cross_example.fig/grid.tikz.tex @@ -0,0 +1,10 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\grid{10}{10}{(-0.5,-0.5)} +\end{tikzpicture} +\end{document} diff --git a/figs/cross_example.fig/libs/shapes.sty b/figs/cross_example.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/cross_example.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/cross_packing.fig/Makefile b/figs/cross_packing.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/cross_packing.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/cross_packing.fig/cross_packing_l.tikz.tex b/figs/cross_packing.fig/cross_packing_l.tikz.tex new file mode 100644 index 0000000..b3bff46 --- /dev/null +++ b/figs/cross_packing.fig/cross_packing_l.tikz.tex @@ -0,0 +1,14 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \foreach \i in {0,...,3}{ + \foreach \j in {0,...,3}{ + \cross{teal}{(-2*\j,\j)++(\i,2*\i)} + } + } +\end{tikzpicture} +\end{document} diff --git a/figs/cross_packing.fig/cross_packing_r.tikz.tex b/figs/cross_packing.fig/cross_packing_r.tikz.tex new file mode 100644 index 0000000..18db92a --- /dev/null +++ b/figs/cross_packing.fig/cross_packing_r.tikz.tex @@ -0,0 +1,14 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \foreach \i in {0,...,3}{ + \foreach \j in {0,...,3}{ + \cross{teal}{(-\j,2*\j)++(2*\i,\i)} + } + } +\end{tikzpicture} +\end{document} diff --git a/figs/cross_packing.fig/libs/shapes.sty b/figs/cross_packing.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/cross_packing.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/cross_sliding.fig/Makefile b/figs/cross_sliding.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/cross_sliding.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/cross_sliding.fig/cross_sliding1.tikz.tex b/figs/cross_sliding.fig/cross_sliding1.tikz.tex new file mode 100644 index 0000000..a1cba3b --- /dev/null +++ b/figs/cross_sliding.fig/cross_sliding1.tikz.tex @@ -0,0 +1,17 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + +\fill[color=red](2.5,2.5)--++(1,0)--++(0,2)--++(-1,0)--cycle; + +\grid{5}{8}{(-0.5,-0.5)} + +\cross{teal}{(2,2)} +\cross{teal}{(2,5)} + +\end{tikzpicture} +\end{document} diff --git a/figs/cross_sliding.fig/cross_sliding2.tikz.tex b/figs/cross_sliding.fig/cross_sliding2.tikz.tex new file mode 100644 index 0000000..4fd395b --- /dev/null +++ b/figs/cross_sliding.fig/cross_sliding2.tikz.tex @@ -0,0 +1,18 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + +\fill[color=red](0.5,2.5)--++(1,0)--++(0,3)--++(-1,0)--cycle; + +\grid{6}{9}{(-0.5,-0.5)} + +\cross{teal}{(2,2)} +\cross{teal}{(3,4)} +\cross{teal}{(2,6)} + +\end{tikzpicture} +\end{document} diff --git a/figs/cross_sliding.fig/libs/shapes.sty b/figs/cross_sliding.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/cross_sliding.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/gaunt_fisher.fig/Makefile b/figs/gaunt_fisher.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/gaunt_fisher.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/gaunt_fisher.fig/gaunt_fisher2.tikz.tex b/figs/gaunt_fisher.fig/gaunt_fisher2.tikz.tex new file mode 100644 index 0000000..731d3f2 --- /dev/null +++ b/figs/gaunt_fisher.fig/gaunt_fisher2.tikz.tex @@ -0,0 +1,30 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \cross{teal}{(4,4)} + \cross{teal}{(3,6)} + \cross{teal}{(7,3)} + \cross{teal}{(9,4)} + \cross{teal}{(10,7)} + \cross{teal}{(4,9)} + + \cross{teal}{(6,6)} + \cross{teal}{(7,8)} + + \square{black}{(6,4)} + \square{black}{(5,5)} + \square{black}{(5,7)} + \square{black}{(4,7)} + \square{black}{(5,8)} + \square{black}{(7,5)} + \square{black}{(8,5)} + \square{black}{(8,6)} + \square{black}{(9,6)} + \square{black}{(8,7)} + +\end{tikzpicture} +\end{document} diff --git a/figs/gaunt_fisher.fig/gaunt_fisher3.tikz.tex b/figs/gaunt_fisher.fig/gaunt_fisher3.tikz.tex new file mode 100644 index 0000000..36c9675 --- /dev/null +++ b/figs/gaunt_fisher.fig/gaunt_fisher3.tikz.tex @@ -0,0 +1,53 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \foreach\i in {2,...,4}{ + \cross{teal}{(2*\i,\i)} + \cross{teal}{(5,15)++(\i,-2*\i)} + } + \foreach\i in {1,...,3}{ + \cross{teal}{(-5,10)++(2*\i,\i)} + } + \cross{teal}{(3,5)} + \cross{teal}{(5,9)} + \cross{teal}{(-1,7)} + \cross{teal}{(0,9)} + \cross{teal}{(6,6)} + \cross{teal}{(1,6)} + \cross{teal}{(3,10)} + \cross{teal}{(4,12)} + \cross{teal}{(1,3)} + \cross{teal}{(-2,4)} + \cross{teal}{(-4,8)} + + \square{black}{(3,3)} + \square{black}{(2,4)} + \square{black}{(4,4)} + \square{black}{(5,4)} + \square{black}{(5,5)} + \square{black}{(7,5)} + \square{black}{(8,6)} + \square{black}{(7,7)} + \square{black}{(7,8)} + \square{black}{(6,8)} + \square{black}{(6,10)} + \square{black}{(5,11)} + \square{black}{(2,12)} + \square{black}{(2,11)} + \square{black}{(1,11)} + \square{black}{(0,11)} + \square{black}{(1,10)} + \square{black}{(-1,10)} + \square{black}{(-2,10)} + \square{black}{(-2,9)} + \square{black}{(-3,9)} + \square{black}{(-2,8)} + \square{black}{(-1,5)} + \square{black}{(0,5)} + \square{black}{(0,4)} +\end{tikzpicture} +\end{document} diff --git a/figs/gaunt_fisher.fig/libs/shapes.sty b/figs/gaunt_fisher.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/gaunt_fisher.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/hole_example.fig/Makefile b/figs/hole_example.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/hole_example.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/hole_example.fig/hole_example_cross.tikz.tex b/figs/hole_example.fig/hole_example_cross.tikz.tex new file mode 100644 index 0000000..f9208e1 --- /dev/null +++ b/figs/hole_example.fig/hole_example_cross.tikz.tex @@ -0,0 +1,36 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \cross{teal}{(5,2)} + \cross{teal}{(4,4)} + \cross{teal}{(3,6)} + \cross{teal}{(2,8)} + \cross{teal}{(7,3)} + \cross{teal}{(9,4)} + \cross{teal}{(11,5)} + \cross{teal}{(10,7)} + \cross{teal}{(9,9)} + \cross{teal}{(8,11)} + \cross{teal}{(6,10)} + \cross{teal}{(4,9)} + + \cross{green}{(6,6)} + \cross{green}{(7,8)} + + \square{black}{(6,4)} + \square{black}{(5,5)} + \square{black}{(5,7)} + \square{black}{(4,7)} + \square{black}{(5,8)} + \square{black}{(7,5)} + \square{black}{(8,5)} + \square{black}{(8,6)} + \square{black}{(9,6)} + \square{black}{(8,7)} + +\end{tikzpicture} +\end{document} diff --git a/figs/hole_example.fig/hole_example_cross_decorrelated.tikz.tex b/figs/hole_example.fig/hole_example_cross_decorrelated.tikz.tex new file mode 100644 index 0000000..113171d --- /dev/null +++ b/figs/hole_example.fig/hole_example_cross_decorrelated.tikz.tex @@ -0,0 +1,63 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \cross{teal}{(5,2)} + \cross{teal}{(4,4)} + \cross{teal}{(3,6)} + \cross{teal}{(2,8)} + \cross{teal}{(7,3)} + \cross{teal}{(9,4)} + \cross{teal}{(11,5)} + \cross{teal}{(10,7)} + \cross{teal}{(9,9)} + \cross{teal}{(8,11)} + \cross{teal}{(6,10)} + \cross{teal}{(4,9)} + + \cross{green}{(6,6)} + \cross{green}{(7,8)} + + \square{black}{(6,4)} + \square{black}{(5,5)} + \square{black}{(5,7)} + \square{black}{(4,7)} + \square{black}{(5,8)} + \square{black}{(7,5)} + \square{black}{(8,5)} + \square{black}{(8,6)} + \square{black}{(9,6)} + \square{black}{(8,7)} + + \cross{teal}{(13, 6)} + \cross{teal}{(12, 8)} + \cross{teal}{(11,10)} + \cross{teal}{(10,12)} + \cross{teal}{(15, 7)} + \cross{teal}{(17, 8)} + \cross{teal}{(19, 9)} + \cross{teal}{(18,11)} + \cross{teal}{(17,13)} + \cross{teal}{(16,15)} + \cross{teal}{(14,14)} + \cross{teal}{(12,13)} + + \cross{cyan}{(15,10)} + \cross{cyan}{(13,11)} + + \square{black}{(14,8)} + \square{black}{(14,9)} + \square{black}{(13,9)} + \square{black}{(16,9)} + \square{black}{(17,10)} + \square{black}{(16,11)} + \square{black}{(16,12)} + \square{black}{(15,12)} + \square{black}{(14,12)} + \square{black}{(15,13)} + +\end{tikzpicture} +\end{document} diff --git a/figs/hole_example.fig/hole_example_square.tikz.tex b/figs/hole_example.fig/hole_example_square.tikz.tex new file mode 100644 index 0000000..4b3fb7c --- /dev/null +++ b/figs/hole_example.fig/hole_example_square.tikz.tex @@ -0,0 +1,24 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + \foreach\i in {0,...,8}{ + \ttsquare{teal}{(0,2*\i)} + \ttsquare{teal}{(4,2*\i)} + } + \ttsquare{teal}{(2,0)} + \ttsquare{teal}{(2,16)} + \foreach\i in {1,...,6}{ + \ttsquare{green}{(2,2*\i+1)} + } + + \square{black}{(1.5,1.5)} + \square{black}{(2.5,1.5)} + \square{black}{(1.5,14.5)} + \square{black}{(2.5,14.5)} + +\end{tikzpicture} +\end{document} diff --git a/figs/hole_example.fig/libs/shapes.sty b/figs/hole_example.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/hole_example.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/libs/Makefile b/figs/libs/Makefile new file mode 100644 index 0000000..33b81e2 --- /dev/null +++ b/figs/libs/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/libs/shapes.sty b/figs/libs/shapes.sty new file mode 100644 index 0000000..dd4baae --- /dev/null +++ b/figs/libs/shapes.sty @@ -0,0 +1,58 @@ +%% +%% Various shapes and lattices +%% + +%% TeX format +\NeedsTeXFormat{LaTeX2e}[1995/12/01] + +%% class name +\ProvidesPackage{shapes}[2017/06/24] + + +% square lattice (width #1, height #2, origin #3) +\def\grid#1#2#3{ + \foreach\i in {0,...,#2}{ + \draw#3++(0,\i)--++(#1,0); + } + \foreach\i in {0,...,#1}{ + \draw#3++(\i,0)--++(0,#2); + } +} + + +% cross (color #1, position #2) +\def\cross#1#2{ + \fill[color=#1]#2++(0.5,0.5)--++(0,1)--++(-1,0)--++(0,-1)--++(-1,0)--++(0,-1)--++(1,0)--++(0,-1)--++(1,0)--++(0,1)--++(1,0)--++(0,1)--++(-1,0); + \draw[color=black]#2++(0.5,0.5)--++(0,1)--++(-1,0)--++(0,-1)--++(-1,0)--++(0,-1)--++(1,0)--++(0,-1)--++(1,0)--++(0,1)--++(1,0)--++(0,1)--++(-1,0); +} + +% thick cross (color #1, position #2, size #3) +\def\thickcross#1#2#3{ + \fill[color=#1]#2++(#3*0.5,0.5*#3)--++(#3*0,1*#3)--++(#3*-1,0*#3)--++(#3*0,-1*#3)--++(#3*-1,0*#3)--++(#3*0,-1*#3)--++(#3*1,0*#3)--++(#3*0,-1*#3)--++(#3*1,0*#3)--++(#3*0,1*#3)--++(#3*1,0*#3)--++(#3*0,1*#3)--++(#3*-1,0*#3); + \draw[color=black]#2++(#3*0.5,0.5*#3)--++(#3*0,1*#3)--++(#3*-1,0*#3)--++(#3*0,-1*#3)--++(#3*-1,0*#3)--++(#3*0,-1*#3)--++(#3*1,0*#3)--++(#3*0,-1*#3)--++(#3*1,0*#3)--++(#3*0,1*#3)--++(#3*1,0*#3)--++(#3*0,1*#3)--++(#3*-1,0*#3); +} + + +% 1x1 square (color #1, position #2) +\def\square#1#2{ + \fill[color=#1]#2++(-0.5,-0.5)--++(0,1)--++(1,0)--++(0,-1)--cycle; + \draw[color=black]#2++(-0.5,-0.5)--++(0,1)--++(1,0)--++(0,-1)--cycle; +} + +% 2x2 square (color #1, position #2) +\def\ttsquare#1#2{ + \fill[color=#1]#2++(-1,-1)--++(0,2)--++(2,0)--++(0,-2)--cycle; + \draw[color=black]#2++(-1,-1)--++(0,2)--++(2,0)--++(0,-2)--cycle; +} +\def\ttsquareempty#1{ + \draw[color=black]#1++(-1,-1)--++(0,2)--++(2,0)--++(0,-2)--cycle; +} + +% diamond (color #1, position #2) +\def\diamond#1#2{ + \fill[color=#1]#2++(0,-1)--++(1,1)--++(-1,1)--++(-1,-1)--cycle; + \draw[color=black]#2++(0,-1)--++(1,1)--++(-1,1)--++(-1,-1)--cycle; +} + + +\endinput diff --git a/figs/shapes.fig/Makefile b/figs/shapes.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/shapes.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/shapes.fig/cross.tikz.tex b/figs/shapes.fig/cross.tikz.tex new file mode 100644 index 0000000..fca0acc --- /dev/null +++ b/figs/shapes.fig/cross.tikz.tex @@ -0,0 +1,11 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\grid55{(-2.5,-2.5)} +\cross{teal}{(0,0)} +\end{tikzpicture} +\end{document} diff --git a/figs/shapes.fig/cross3.tikz.tex b/figs/shapes.fig/cross3.tikz.tex new file mode 100644 index 0000000..8e50f19 --- /dev/null +++ b/figs/shapes.fig/cross3.tikz.tex @@ -0,0 +1,11 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\grid{15}{15}{(-7.5,-7.5)} +\thickcross{teal}{(0,0)}3 +\end{tikzpicture} +\end{document} diff --git a/figs/shapes.fig/diamond.tikz.tex b/figs/shapes.fig/diamond.tikz.tex new file mode 100644 index 0000000..6d9eaa4 --- /dev/null +++ b/figs/shapes.fig/diamond.tikz.tex @@ -0,0 +1,11 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\grid44{(-2,-2)} +\diamond{teal}{(0,0)} +\end{tikzpicture} +\end{document} diff --git a/figs/shapes.fig/hexagon.tikz.tex b/figs/shapes.fig/hexagon.tikz.tex new file mode 100644 index 0000000..5439f67 --- /dev/null +++ b/figs/shapes.fig/hexagon.tikz.tex @@ -0,0 +1,32 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + +\draw(0,0)--++(2,0); +\draw(120:1)--++(3,0); +\draw(120:2)--++(4,0); +\draw(120:2)++(60:1)--++(3,0); +\draw(120:2)++(60:2)--++(2,0); + +\draw(0,0)--++(60:4); +\draw(1,0)--++(60:3); +\draw(2,0)--++(60:2); +\draw(120:1)--++(60:3); +\draw(120:2)--++(60:2); + +\draw(0,0)--++(120:2); +\draw(1,0)--++(120:3); +\draw(2,0)--++(120:4); +\draw(2,0)++(60:1)--++(120:3); +\draw(2,0)++(60:2)--++(120:2); + +\fill[color=teal](60:1)--++(0:1)--++(60:1)--++(120:1)--++(180:1)--++(240:1)--++(300:1)--cycle; +\draw(60:1)--++(0:1)--++(60:1)--++(120:1)--++(180:1)--++(240:1)--++(300:1)--cycle; + + +\end{tikzpicture} +\end{document} diff --git a/figs/shapes.fig/libs/shapes.sty b/figs/shapes.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/shapes.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/square_packing.fig/Makefile b/figs/square_packing.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/square_packing.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/square_packing.fig/libs/shapes.sty b/figs/square_packing.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/square_packing.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/square_packing.fig/square_packing.tikz.tex b/figs/square_packing.fig/square_packing.tikz.tex new file mode 100644 index 0000000..297e72e --- /dev/null +++ b/figs/square_packing.fig/square_packing.tikz.tex @@ -0,0 +1,20 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\foreach \i in {0,...,3}{ + \ttsquare{teal}{(2*\i,0)} + \ttsquare{teal}{(2*\i,2)} + \ttsquare{teal}{(2*\i,4)} +} +\grid86{[color=red, dashed](-1,-1)} +\foreach \i in {0,...,3}{ + \ttsquareempty{(2*\i,0)} + \ttsquareempty{(2*\i,2)} + \ttsquareempty{(2*\i,4)} +} +\end{tikzpicture} +\end{document} diff --git a/figs/square_packing.fig/square_packing_slide.tikz.tex b/figs/square_packing.fig/square_packing_slide.tikz.tex new file mode 100644 index 0000000..c02485a --- /dev/null +++ b/figs/square_packing.fig/square_packing_slide.tikz.tex @@ -0,0 +1,25 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} +\clip(-1.01,-1.01)--(7.01,-1.01)--(7.01,5.01)--(-1.01,5.01)--cycle; +\foreach \i in {0,...,3}{ + \ttsquare{teal}{(2*\i,0)} + \ttsquare{teal}{(2*\i+1,2)} + \ttsquare{teal}{(2*\i,4)} +} +\ttsquare{teal}{(-1,2)} + +\grid86{[color=red, dashed](-1,-1)} + +\foreach \i in {0,...,3}{ + \ttsquareempty{(2*\i,0)} + \ttsquareempty{(2*\i+1,2)} + \ttsquareempty{(2*\i,4)} +} +\ttsquareempty{(-1,2)} +\end{tikzpicture} +\end{document} diff --git a/figs/square_sliding.fig/Makefile b/figs/square_sliding.fig/Makefile new file mode 120000 index 0000000..704310e --- /dev/null +++ b/figs/square_sliding.fig/Makefile @@ -0,0 +1 @@ +../libs/Makefile \ No newline at end of file diff --git a/figs/square_sliding.fig/libs/shapes.sty b/figs/square_sliding.fig/libs/shapes.sty new file mode 120000 index 0000000..eaa25c7 --- /dev/null +++ b/figs/square_sliding.fig/libs/shapes.sty @@ -0,0 +1 @@ +../../libs/shapes.sty \ No newline at end of file diff --git a/figs/square_sliding.fig/square_sliding.tikz.tex b/figs/square_sliding.fig/square_sliding.tikz.tex new file mode 100644 index 0000000..b63a58d --- /dev/null +++ b/figs/square_sliding.fig/square_sliding.tikz.tex @@ -0,0 +1,17 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + +\fill[color=red](-1,1)--++(0,5)--++(2,0)--++(0,-5)--cycle; + +\grid{8}{15}{(-4,-4)} + +\ttsquare{teal}{(0,0)} +\ttsquare{teal}{(0,7)} + +\end{tikzpicture} +\end{document} diff --git a/figs/square_sliding.fig/square_sliding_contra.tikz.tex b/figs/square_sliding.fig/square_sliding_contra.tikz.tex new file mode 100644 index 0000000..61ea43d --- /dev/null +++ b/figs/square_sliding.fig/square_sliding_contra.tikz.tex @@ -0,0 +1,25 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{shapes} + +\begin{document} +\begin{tikzpicture} + +\grid{8}{15}{(-4,-4)} + +\ttsquare{teal}{(0,0)} +\ttsquare{teal}{(0,7)} + +\ttsquare{cyan}{( 0, 2)} +\ttsquare{cyan}{( 0,-2)} +\ttsquare{cyan}{( 2, 0)} +\ttsquare{cyan}{(-2, 0)} + +\ttsquare{cyan}{( 0, 9)} +\ttsquare{cyan}{( 0, 5)} +\ttsquare{cyan}{( 2, 7)} +\ttsquare{cyan}{(-2, 7)} + +\end{tikzpicture} +\end{document} -- cgit v1.2.3-70-g09d2