From c6fe9f4dfa4d790031393370d4e9cf0c9226e03f Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Fri, 8 Sep 2017 05:59:24 +0000 Subject: Update to v0.1: Fixed: removed discussion on k-nearest neighbor exclusion models which do not cover the lattice perfectly. Fixed: extra assumption: particle configurations are determined by their defects. Fixed: miscellaneous minor tweaks, formatting and typos. Added: discussion about Lee-Yang zeros and their relation to the high-fugacity expansion. Added: open problem: soft exclusion potentials. Added: extended bibliography. Changed: Particles in figures are now always centered on the lattice, not the dual lattice. Changed: improved Makefile. --- figs/libs/shapes.sty | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'figs/libs/shapes.sty') diff --git a/figs/libs/shapes.sty b/figs/libs/shapes.sty index 9e4633b..6e9e6ac 100644 --- a/figs/libs/shapes.sty +++ b/figs/libs/shapes.sty @@ -12,24 +12,38 @@ % 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); + \begin{scope} + \clip#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); + \grid44{[color=white]#2++(-2,-2)} + \end{scope} \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); } - % 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; + \draw[color=white]#2++(-0.5,0)--++(1,0); + \draw[color=white]#2++(0,-0.5)--++(0,1); } % 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; + \draw[color=white]#2++(-1,0)--++(2,0); + \draw[color=white]#2++(0,-1)--++(0,2); +} +\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; + \begin{scope} + \clip#2++(0,-1)--++(1,1)--++(-1,1)--++(-1,-1)--cycle; + \grid22{[color=white]#2++(-1,-1)} + \end{scope} \draw[color=black]#2++(0,-1)--++(1,1)--++(-1,1)--++(-1,-1)--cycle; } -- cgit v1.2.3-70-g09d2