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/brillouin.fig/Makefile | 23 +++++++++++++++++ figs/brillouin.fig/brillouin.tikz.tex | 17 +++++++++++++ figs/brillouin.fig/scales.tikz.tex | 47 +++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 figs/brillouin.fig/Makefile create mode 100644 figs/brillouin.fig/brillouin.tikz.tex create mode 100644 figs/brillouin.fig/scales.tikz.tex (limited to 'figs/brillouin.fig') diff --git a/figs/brillouin.fig/Makefile b/figs/brillouin.fig/Makefile new file mode 100644 index 0000000..147037c --- /dev/null +++ b/figs/brillouin.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/brillouin.fig/brillouin.tikz.tex b/figs/brillouin.fig/brillouin.tikz.tex new file mode 100644 index 0000000..6b392af --- /dev/null +++ b/figs/brillouin.fig/brillouin.tikz.tex @@ -0,0 +1,17 @@ +\documentclass{standalone} + +\usepackage{tikz} + +% sqrt(3) +\def\sqrtTh{1.732} +% pi +\def\pival{3.14159} + +\begin{document} +\begin{tikzpicture} + \draw(0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle; + + \fill(2*\pival/3,2*\pival/3/\sqrtTh)circle(0.05); + \fill(2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.05); +\end{tikzpicture} +\end{document} diff --git a/figs/brillouin.fig/scales.tikz.tex b/figs/brillouin.fig/scales.tikz.tex new file mode 100644 index 0000000..ebafd14 --- /dev/null +++ b/figs/brillouin.fig/scales.tikz.tex @@ -0,0 +1,47 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{xcolor} + +\definecolor{gray0}{HTML}{EEEEEE} +\definecolor{gray1}{HTML}{CCCCCC} +\definecolor{gray2}{HTML}{AAAAAA} +\definecolor{gray3}{HTML}{888888} +\definecolor{gray4}{HTML}{666666} +\definecolor{gray5}{HTML}{444444} +\definecolor{gray6}{HTML}{222222} +\definecolor{gray7}{HTML}{000000} + +% sqrt(3) +\def\sqrtTh{1.732} +% pi +\def\pival{3.14159} + +\begin{document} +\begin{tikzpicture} + \draw(0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle; + + \fill[color=gray0](0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle; + + \fill[color=gray1](2*\pival/3, 2*\pival/3/\sqrtTh)circle(1); + \fill[color=gray1](2*\pival/3,-2*\pival/3/\sqrtTh)circle(1); + + \fill[color=gray2](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.5); + \fill[color=gray2](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.5); + + \fill[color=gray3](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.25); + \fill[color=gray3](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.25); + + \fill[color=gray4](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.125); + \fill[color=gray4](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.125); + + \fill[color=gray5](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.0626); + \fill[color=gray5](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.0625); + + \fill[color=gray6](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.03125); + \fill[color=gray6](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.03125); + + \fill[color=gray7](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.015625); + \fill[color=gray7](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.015625); +\end{tikzpicture} +\end{document} -- cgit v1.2.3-70-g09d2