diff options
author | Karl Berry <karl@freefriends.org> | 2013-03-18 22:33:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-03-18 22:33:00 +0000 |
commit | a9682d5de4862ec688defed3cc52e0df721351a5 (patch) | |
tree | 93b68dad576f2caaf30cbb6ce6f0e6778e7642dd /Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty | |
parent | 72e8cf383cef9d6e8f5eebe0264790f0e98268e3 (diff) |
logicpuzzle (17mar13)
git-svn-id: svn://tug.org/texlive/trunk@29418 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty b/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty index 1d2fa7358fb..edb04f40e5f 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty @@ -19,7 +19,7 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesPackage{logicpuzzle}[2013/03/09 logicpuzzle.sty v1.2 - Josef Kleber (C) 2013]% +\ProvidesPackage{logicpuzzle}[2013/03/16 logicpuzzle.sty v1.2a - Josef Kleber (C) 2013]% % \RequirePackage{xkeyval}% \RequirePackage{ifthen}% @@ -28,9 +28,12 @@ \RequirePackage{marginnote}% \RequirePackage{tikz}% \usetikzlibrary{decorations.pathmorphing}% -\pgfdeclarelayer{LPbackground} -\pgfdeclarelayer{LPforeground} -\pgfsetlayers{LPbackground,main,LPforeground} +\pgfdeclarelayer{LPbgcolor}% +\pgfdeclarelayer{LPbackgroundtwo}% +\pgfdeclarelayer{LPbackground}% +\pgfdeclarelayer{LPforeground}% +\pgfdeclarelayer{LPforegroundtwo}% +\pgfsetlayers{LPbgcolor,LPbackgroundtwo,LPbackground,main,LPforeground,LPforegroundtwo}% % \newcounter{LP@counti}% \newcounter{LP@countii}% @@ -101,14 +104,14 @@ % \newcommand*\LP@drawsudokugrid% {% - \draw[ultra thick] (1,1) -- (1,10); - \draw[ultra thick] (4,1) -- (4,10); - \draw[ultra thick] (7,1) -- (7,10); - \draw[ultra thick] (10,1) -- (10,10); - \draw[ultra thick] (1,1) -- (10,1); - \draw[ultra thick] (1,4) -- (10,4); - \draw[ultra thick] (1,7) -- (10,7); - \draw[ultra thick] (1,10) -- (10,10); + \draw[ultra thick] (1,1) -- (1,10);% + \draw[ultra thick] (4,1) -- (4,10);% + \draw[ultra thick] (7,1) -- (7,10);% + \draw[ultra thick] (10,1) -- (10,10);% + \draw[ultra thick] (1,1) -- (10,1);% + \draw[ultra thick] (1,4) -- (10,4);% + \draw[ultra thick] (1,7) -- (10,7);% + \draw[ultra thick] (1,10) -- (10,10);% }% % % #1 grid x min @@ -125,7 +128,9 @@ \setcounter{LP@countii}{#4}% max row \stepcounter{LP@counti}% \stepcounter{LP@countii}% - \draw[fill=#5] (#1,#2) rectangle (\value{LP@counti},\value{LP@countii});% + \begin{pgfonlayer}{LPbgcolor}% + \draw[fill=#5] (#1,#2) rectangle (\value{LP@counti},\value{LP@countii});% + \end{pgfonlayer}{LPbgcolor}% }% }% % @@ -347,12 +352,12 @@ % \newcommand*\framearea[2]% {% - \draw[ultra thick,color=#1] #2; + \draw[ultra thick,color=#1] #2;% }% % \newcommand*\fillarea[2]% {% - \draw[ultra thick,fill=#1] #2 ; + \draw[ultra thick,fill=#1] #2 ;% }% % \newenvironment{puzzlebackground}% |