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/scales.tikz.tex | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 figs/brillouin.fig/scales.tikz.tex (limited to 'figs/brillouin.fig/scales.tikz.tex') 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