From 1e17ed5c41d36b50fefdc9b895c388c24532e9b1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 May 2013 23:37:53 +0000 Subject: logicpuzzle (3may13) git-svn-id: svn://tug.org/texlive/trunk@30222 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/logicpuzzle/battleship.sty | 219 +---- .../texmf-dist/tex/latex/logicpuzzle/bokkusu.sty | 62 +- .../tex/latex/logicpuzzle/chaossudoku.sty | 59 +- .../texmf-dist/tex/latex/logicpuzzle/ddsudoku.sty | 59 +- Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty | 59 +- Master/texmf-dist/tex/latex/logicpuzzle/hitori.sty | 59 +- .../texmf-dist/tex/latex/logicpuzzle/kendoku.sty | 59 +- .../tex/latex/logicpuzzle/killersudoku.sty | 59 +- .../texmf-dist/tex/latex/logicpuzzle/laserbeam.sty | 69 +- .../tex/latex/logicpuzzle/logicpuzzle.sty | 60 +- Master/texmf-dist/tex/latex/logicpuzzle/lpenv.sty | 936 +++++++++++++++++++++ .../texmf-dist/tex/latex/logicpuzzle/lpsudoku.sty | 193 +---- .../texmf-dist/tex/latex/logicpuzzle/skyline.sty | 90 +- .../tex/latex/logicpuzzle/slitherlink.sty | 62 +- 14 files changed, 1066 insertions(+), 979 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/logicpuzzle/lpenv.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty b/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty index 7e5739cac8b..442cfc155f7 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty @@ -23,220 +23,13 @@ % http://en.wikipedia.org/wiki/Battleship_%28puzzle%29 % http://de.wikipedia.org/wiki/Bimaru % -\ProvidesPackage{battleship}[2013/04/10 battleship.sty v1.4a - Josef Kleber (C) 2013]% +\ProvidesPackage{battleship}[2013/04/30 battleship.sty v1.5 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@BS@init@prefix{LP@BS}% -\newcommand*\LP@BS@init@package{battleship}% -% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{rows}{5}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{columns}{5}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{shipcolor}{green}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{scale}{1}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{counterstyle}{none}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{bgcolor}{}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{width}{6cm}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{title}{}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{titleindent}{0.75cm}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{titlewidth}{5.15cm}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbindent}{0.75cm}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbwidth}{5.15cm}% -\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbshipscale}{1}% -\LP@define@choicekey@fontsize{\LP@BS@init@prefix}{\LP@BS@init@package}{{Large}}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,shipcolor,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth,sbindent,sbwidth,sbshipscale}% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@BS@init@prefix}% -% -\gdef\LP@BS@shipbox{}% -\tikzstyle{island} = [fill=yellow!30,draw, decorate, decoration={random steps,segment length=2.7pt,amplitude=1.7pt}]% -% -\newcommand*\Ship{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor] (0,0) circle (1);}% -\newcommand*\ShipC{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor] (0,0)--(0,2)--(2,2)--(2,0)--cycle;}% -\newcommand*\ShipT{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](2,1)--(2,0)--(0,0)--(0,1) arc (180:0:1);}% -\newcommand*\ShipB{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](2,1)--(2,2)--(0,2)--(0,1) arc (180:360:1);}% -\newcommand*\ShipL{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](1,2)--(2,2)--(2,0)--(1,0) arc (270:90:1);}% -\newcommand*\ShipR{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](1,2)--(0,2)--(0,0)--(1,0) arc (270:450:1);}% -\newcommand*\Island{\tikz[scale=\LP@BS@scale]\draw[scale=.36,island] (0,0) rectangle (2,2);}% -\newcommand*\Water{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill,blue!40] (1,1) circle (0.2);}% -% versions for \shipbox without second scale -\newcommand*\@Ship{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor] (0,0) circle (1);}% -\newcommand*\@ShipC{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor] (0,0)--(0,2)--(2,2)--(2,0)--cycle;}% -\newcommand*\@ShipT{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](2,1)--(2,0)--(0,0)--(0,1) arc (180:0:1);}% -\newcommand*\@ShipB{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](2,1)--(2,2)--(0,2)--(0,1) arc (180:360:1);}% -\newcommand*\@ShipL{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](1,2)--(2,2)--(2,0)--(1,0) arc (270:90:1);}% -\newcommand*\@ShipR{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](1,2)--(0,2)--(0,0)--(1,0) arc (270:450:1);}% -% -\newcommand*\LP@BS@printship[1]% -{% - \ifthenelse{\equal{#1}{1}}{\scalebox{\LP@BS@sbshipscale}{\@Ship}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{2}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{3}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{4}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{5}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{6}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{7}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{8}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{9}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% - \ifthenelse{\equal{#1}{10}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% -}% -% -\newcommand*\LP@BS@printshipbox[1]% -{% \expandafters needed because csv list is stored in macro - \expandafter\forcsvlist\expandafter\LP@BS@printship\expandafter{#1}% -}% -% -\newcommand*\shipH[1]% -{% - \LP@setrowcontents{#1}{1}{\value{LP@BS@rows}}% -}% -% -\newcommand*\shipV[1]% -{% - \LP@setcolumncontents{#1}{0}{1}% -}% -% -\newcommand*\placesegment[3]% -{% - \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% - \LP@setcellcontent{#1}{#2}{#3}% -}% -% -\let\ship\placesegment% -% -\newcommand*\placeisland[2]% -{% - \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% - \LP@setcellcontent{#1}{#2}{\Island}% -}% -% -\newcommand*\placewater[2]% -{% - \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% - \LP@setcellcontent{#1}{#2}{\Water}% -}% -% -\newcommand*\shipbox[2][]% -{% - \setkeys{shipbox}{#1}% - \gdef\LP@BS@shipbox{#2}% -}% -% -\newcommand*\placeship[4]% -{% - \setcounter{LP@counti}{#4}% length - \ifnum\value{LP@counti}<1% - \PackageError{battleship}% - {ship length < 1}% - {The length of your ship should be at least 1}% - \fi% - \ifnum\value{LP@counti}>10% - \PackageError{battleship}% - {ship length > 10}% - {The supported max length of ships is 10!}% - \fi% - \ifnum\value{LP@counti}=1% - \placesegment{#2}{#3}{\Ship}% - \else% - \setcounter{LP@whiledo@i}{\value{LP@counti}}% - \addtocounter{LP@whiledo@i}{-2}% length of middle ship - \ifthenelse{\equal{#1}{V}}% - {% - \placesegment{#2}{#3}{\ShipB}% - \setcounter{LP@countii}{#3}% - \whiledo{\value{LP@whiledo@i}>0}% - {% - \addtocounter{LP@whiledo@i}{-1}% - \stepcounter{LP@countii}% - \placesegment{#2}{\theLP@countii}{\ShipC}% - }% - \stepcounter{LP@countii}% - \placesegment{#2}{\theLP@countii}{\ShipT}% - }% - {% - \ifthenelse{\equal{#1}{H}}% - {% - \placesegment{#2}{#3}{\ShipL}% - \setcounter{LP@counti}{#2}% - \whiledo{\value{LP@whiledo@i}>0}% - {% - \addtocounter{LP@whiledo@i}{-1}% - \stepcounter{LP@counti}% - \placesegment{\theLP@counti}{#3}{\ShipC}% - }% - \stepcounter{LP@counti}% - \placesegment{\theLP@counti}{#3}{\ShipR}% - }% - {\PackageError{battleship}% - {invalid direction (H/V)}% - {You can place your ship only\MessageBreak% - horizontally (H) or vertically (V)!}% - }% - }% - \fi% -}% -% -\newcommand*\battleshipsetup[1]% -{% - \setkeys{battleship.sty}{#1}% -}% -% -\newcommand{\classicgame}[1]% -{% - \begin{center}% - \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Me,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% - \shipV{J,I,H,G,F,E,D,C,B,A}% - \shipH{1,2,3,4,5,6,7,8,9,10}% - \shipbox{#1}% - \end{battleship}% - \hspace{1cm}% - \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Enemy,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% - \shipV{J,I,H,G,F,E,D,C,B,A}% - \shipH{1,2,3,4,5,6,7,8,9,10}% - \end{battleship}% - \end{center}% - \par\vspace{1cm}% - \begin{center}% - \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Me,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% - \shipV{J,I,H,G,F,E,D,C,B,A}% - \shipH{1,2,3,4,5,6,7,8,9,10}% - \shipbox{#1}% - \end{battleship}% - \hspace{1cm}% - \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Enemy,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% - \shipV{J,I,H,G,F,E,D,C,B,A}% - \shipH{1,2,3,4,5,6,7,8,9,10}% - \end{battleship}% - \end{center}% -}% -% -\newenvironment{battleship}[1][]% -{% - \setkeys{battleship}{#1}% - \LP@set@package{battleship}% - \LP@set@env@prefix{LP@BS}% - \shipbox{}% clear shipbox - \setcounter{LP@BS@rows}{\LP@BS@rows}% - \setcounter{LP@BS@columns}{\LP@BS@columns}% - \stepcounter{LP@BS@rows}% - \stepcounter{LP@BS@columns}% - \begin{minipage}[t]{\LP@BS@width}% - \ifthenelse{\equal{\LP@BS@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@BS@titleindent}\parbox{\LP@BS@titlewidth}{\strut\LP@titleformat\LP@BS@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@BS@scale]% - \LP@drawbackground{1}{1}{\LP@BS@columns}{\LP@BS@rows}{\LP@BS@bgcolor}% - \LP@drawgrid{1}{1}{\LP@BS@columns}{\LP@BS@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@BS@counterstyle}% - \par\hbadness=10000\medskip\noindent\hspace{\LP@BS@sbindent}\begin{minipage}{\LP@BS@sbwidth}{\hbadness=10000\RaggedRight\LP@BS@printshipbox{\LP@BS@shipbox}}\end{minipage}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{battleship}{ +Usage of package battleship.sty is deprecated\MessageBreak +\space battleship.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/bokkusu.sty b/Master/texmf-dist/tex/latex/logicpuzzle/bokkusu.sty index d740fb1c64b..081e2ad05a4 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/bokkusu.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/bokkusu.sty @@ -20,63 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{bokkusu}[2013/03/25 bokkusu.sty v1.2 - Josef Kleber (C) 2013]% +\ProvidesPackage{bokkusu}[2013/04/30 bokkusu.sty v1.3 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@BK@init@prefix{LP@BK}% -\newcommand*\LP@BK@init@package{bokkusu}% -% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{rows}{5}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{columns}{5}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{scale}{1}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{counterstyle}{none}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{color}{black}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{bgcolor}{}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{width}{6.7cm}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{cvoffset}{-38pt}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{title}{}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{titleindent}{0.75cm}% -\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{titlewidth}{5.85cm}% -\LP@define@choicekey@fontsize{\LP@BK@init@prefix}{\LP@BK@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,color,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@BK@init@prefix}% -% -\let\valueH\LP@bottomrow% -\let\valueV\LP@leftcolumn% -\let\sumH\LP@toprow% -\let\sumV\LP@rightcolumn% -% -\newcommand*\bokkususetup[1]% -{% - \setkeys{bokkusu.sty}{#1}% -}% -% -\newenvironment{bokkusu}[1][]% -{% - \setkeys{bokkusu}{#1}% - \LP@set@package{bokkusu}% - \LP@set@env@prefix{LP@BK}% - \setcounter{LP@BK@rows}{\LP@BK@rows}% - \setcounter{LP@BK@columns}{\LP@BK@columns}% - \stepcounter{LP@BK@rows}% - \stepcounter{LP@BK@columns}% - \begin{minipage}[t]{\LP@BK@width}% - \ifthenelse{\equal{\LP@BK@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@BK@titleindent}\parbox{\LP@BK@titlewidth}{\strut\LP@titleformat\LP@BK@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@BK@scale]% - \LP@drawbackground{1}{1}{\LP@BK@columns}{\LP@BK@rows}{\LP@BK@bgcolor}% - \LP@drawgrid{1}{1}{\LP@BK@columns}{\LP@BK@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@BK@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{bokkusu}{ +Usage of package bokkusu.sty is deprecated\MessageBreak +\space bokkusu.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/chaossudoku.sty b/Master/texmf-dist/tex/latex/logicpuzzle/chaossudoku.sty index 618cb2a83fe..1f8608aac5a 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/chaossudoku.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/chaossudoku.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{chaossudoku}[2013/03/27 chaossudoku.sty v1.1 - Josef Kleber (C) 2013]% +\ProvidesPackage{chaossudoku}[2013/04/30 chaossudoku.sty v1.2 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@CS@init@prefix{LP@CS}% -\newcommand*\LP@CS@init@package{chaossudoku}% -% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{rows}{5}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{columns}{5}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{scale}{1}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{counterstyle}{none}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{bgcolor}{}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{width}{5.1cm}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{title}{}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@CS@init@prefix}{\LP@CS@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@CS@init@prefix}% -% -\let\chaossudokucell\setcell% -% -\newcommand*\chaossudokusetup[1]% -{% - \setkeys{chaossudoku.sty}{#1}% -}% -% -\newenvironment{chaossudoku}[1][]% -{% - \setkeys{chaossudoku}{#1}% - \LP@set@package{chaossudoku}% - \LP@set@env@prefix{LP@CS}% - \setcounter{LP@CS@rows}{\LP@CS@rows}% - \setcounter{LP@CS@columns}{\LP@CS@columns}% - \stepcounter{LP@CS@rows}% - \stepcounter{LP@CS@columns}% - \begin{minipage}[t]{\LP@CS@width}% - \ifthenelse{\equal{\LP@CS@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@CS@titleindent}\parbox{\LP@CS@titlewidth}{\strut\LP@titleformat\LP@CS@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@CS@scale]% - \LP@drawbackground{1}{1}{\LP@CS@columns}{\LP@CS@rows}{\LP@CS@bgcolor}% - \LP@drawgrid{1}{1}{\LP@CS@columns}{\LP@CS@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@CS@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{chaossudoku}{ +Usage of package chaossudoku.sty is deprecated\MessageBreak +\space chaossudoku.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/ddsudoku.sty b/Master/texmf-dist/tex/latex/logicpuzzle/ddsudoku.sty index 81a85c7fcca..9c5e0233863 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/ddsudoku.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/ddsudoku.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{ddsudoku}[2013/04/05 ddsudoku.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{ddsudoku}[2013/04/30 ddsudoku.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@DDS@init@prefix{LP@DDS}% -\newcommand*\LP@DDS@init@package{ddsudoku}% -% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{rows}{5}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{columns}{5}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{scale}{1}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{counterstyle}{none}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{bgcolor}{}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{width}{5.1cm}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{title}{}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@DDS@init@prefix}{\LP@DDS@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@DDS@init@prefix}% -% -\let\ddsudokucell\setcell% -% -\newcommand*\ddsudokusetup[1]% -{% - \setkeys{ddsudoku.sty}{#1}% -}% -% -\newenvironment{ddsudoku}[1][]% -{% - \setkeys{ddsudoku}{#1}% - \LP@set@package{ddsudoku}% - \LP@set@env@prefix{LP@DDS}% - \setcounter{LP@DDS@rows}{\LP@DDS@rows}% - \setcounter{LP@DDS@columns}{\LP@DDS@columns}% - \stepcounter{LP@DDS@rows}% - \stepcounter{LP@DDS@columns}% - \begin{minipage}[t]{\LP@DDS@width}% - \ifthenelse{\equal{\LP@DDS@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@DDS@titleindent}\parbox{\LP@DDS@titlewidth}{\strut\LP@titleformat\LP@DDS@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@DDS@scale]% - \LP@drawbackground{1}{1}{\LP@DDS@columns}{\LP@DDS@rows}{\LP@DDS@bgcolor}% - \LP@drawgrid{1}{1}{\LP@DDS@columns}{\LP@DDS@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@DDS@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{ddsudoku}{ +Usage of package ddsudoku.sty is deprecated\MessageBreak +\space ddsudoku.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty b/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty index 836e055e21a..567acb1d95a 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{hakyuu}[2013/03/27 hakyuu.sty v1.1 - Josef Kleber (C) 2013]% +\ProvidesPackage{hakyuu}[2013/04/30 hakyuu.sty v1.2 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@HY@init@prefix{LP@HY}% -\newcommand*\LP@HY@init@package{hakyuu}% -% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{rows}{5}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{columns}{5}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{scale}{1}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{counterstyle}{none}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{bgcolor}{}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{width}{5.1cm}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{title}{}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@HY@init@prefix}{\LP@HY@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@HY@init@prefix}% -% -\let\hakyuucell\setcell% -% -\newcommand*\hakyuusetup[1]% -{% - \setkeys{hakyuu.sty}{#1}% -}% -% -\newenvironment{hakyuu}[1][]% -{% - \setkeys{hakyuu}{#1}% - \LP@set@package{hakyuu}% - \LP@set@env@prefix{LP@HY}% - \setcounter{LP@HY@rows}{\LP@HY@rows}% - \setcounter{LP@HY@columns}{\LP@HY@columns}% - \stepcounter{LP@HY@rows}% - \stepcounter{LP@HY@columns}% - \begin{minipage}[t]{\LP@HY@width}% - \ifthenelse{\equal{\LP@HY@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@HY@titleindent}\parbox{\LP@HY@titlewidth}{\strut\LP@titleformat\LP@HY@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@HY@scale]% - \LP@drawbackground{1}{1}{\LP@HY@columns}{\LP@HY@rows}{\LP@HY@bgcolor}% - \LP@drawgrid{1}{1}{\LP@HY@columns}{\LP@HY@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@HY@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{hakyuu}{ +Usage of package hakyuu.sty is deprecated\MessageBreak +\space hakyuu.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/hitori.sty b/Master/texmf-dist/tex/latex/logicpuzzle/hitori.sty index e8307962299..8b34dc3699c 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/hitori.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/hitori.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{hitori}[2013/04/05 hitori.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{hitori}[2013/04/30 hitori.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@HT@init@prefix{LP@HT}% -\newcommand*\LP@HT@init@package{hitori}% -% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{rows}{5}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{columns}{5}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{scale}{1}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{counterstyle}{none}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{bgcolor}{}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{width}{5.1cm}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{title}{}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@HT@init@prefix}{\LP@HT@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@HT@init@prefix}% -% -\let\hitoricell\setcell% -% -\newcommand*\hitorisetup[1]% -{% - \setkeys{hitori.sty}{#1}% -}% -% -\newenvironment{hitori}[1][]% -{% - \setkeys{hitori}{#1}% - \LP@set@package{hitori}% - \LP@set@env@prefix{LP@HT}% - \setcounter{LP@HT@rows}{\LP@HT@rows}% - \setcounter{LP@HT@columns}{\LP@HT@columns}% - \stepcounter{LP@HT@rows}% - \stepcounter{LP@HT@columns}% - \begin{minipage}[t]{\LP@HT@width}% - \ifthenelse{\equal{\LP@HT@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@HT@titleindent}\parbox{\LP@HT@titlewidth}{\strut\LP@titleformat\LP@HT@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@HT@scale]% - \LP@drawbackground{1}{1}{\LP@HT@columns}{\LP@HT@rows}{\LP@HT@bgcolor}% - \LP@drawgrid{1}{1}{\LP@HT@columns}{\LP@HT@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@HT@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{hitori}{ +Usage of package hitori.sty is deprecated\MessageBreak +\space hitori.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/kendoku.sty b/Master/texmf-dist/tex/latex/logicpuzzle/kendoku.sty index b537ef05292..d4b8f0da146 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/kendoku.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/kendoku.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{kendoku}[2013/04/12 kendoku.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{kendoku}[2013/04/30 kendoku.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@KD@init@prefix{LP@KD}% -\newcommand*\LP@KD@init@package{kendoku}% -% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{rows}{5}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{columns}{5}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{scale}{1}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{counterstyle}{none}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{bgcolor}{}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{width}{5.1cm}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{title}{}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@KD@init@prefix}{\LP@KD@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@KD@init@prefix}% -% -\let\kendokucell\setcell% -% -\newcommand*\kendokusetup[1]% -{% - \setkeys{kendoku.sty}{#1}% -}% -% -\newenvironment{kendoku}[1][]% -{% - \setkeys{kendoku}{#1}% - \LP@set@package{kendoku}% - \LP@set@env@prefix{LP@KD}% - \setcounter{LP@KD@rows}{\LP@KD@rows}% - \setcounter{LP@KD@columns}{\LP@KD@columns}% - \stepcounter{LP@KD@rows}% - \stepcounter{LP@KD@columns}% - \begin{minipage}[t]{\LP@KD@width}% - \ifthenelse{\equal{\LP@KD@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@KD@titleindent}\parbox{\LP@KD@titlewidth}{\strut\LP@titleformat\LP@KD@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@KD@scale]% - \LP@drawbackground{1}{1}{\LP@KD@columns}{\LP@KD@rows}{\LP@KD@bgcolor}% - \LP@drawgrid{1}{1}{\LP@KD@columns}{\LP@KD@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@KD@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{kendoku}{ +Usage of package kendoku.sty is deprecated\MessageBreak +\space kendoku.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/killersudoku.sty b/Master/texmf-dist/tex/latex/logicpuzzle/killersudoku.sty index 5283184faa4..1743cb7b777 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/killersudoku.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/killersudoku.sty @@ -20,60 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{killersudoku}[2013/04/12 killersudoku.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{killersudoku}[2013/04/30 killersudoku.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@KSDK@init@prefix{LP@KSDK}% -\newcommand*\LP@KSDK@init@package{killersudoku}% -% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{rows}{5}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{columns}{5}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{scale}{1}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{counterstyle}{none}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{bgcolor}{}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{width}{5.1cm}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{title}{}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{titlewidth}{5.1cm}% -\LP@define@choicekey@fontsize{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@KSDK@init@prefix}% -% -\let\killersudokucell\setcell% -% -\newcommand*\killersudokusetup[1]% -{% - \setkeys{killersudoku.sty}{#1}% -}% -% -\newenvironment{killersudoku}[1][]% -{% - \setkeys{killersudoku}{#1}% - \LP@set@package{killersudoku}% - \LP@set@env@prefix{LP@KSDK}% - \setcounter{LP@KSDK@rows}{\LP@KSDK@rows}% - \setcounter{LP@KSDK@columns}{\LP@KSDK@columns}% - \stepcounter{LP@KSDK@rows}% - \stepcounter{LP@KSDK@columns}% - \begin{minipage}[t]{\LP@KSDK@width}% - \ifthenelse{\equal{\LP@KSDK@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@KSDK@titleindent}\parbox{\LP@KSDK@titlewidth}{\strut\LP@titleformat\LP@KSDK@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@KSDK@scale]% - \LP@drawbackground{1}{1}{\LP@KSDK@columns}{\LP@KSDK@rows}{\LP@KSDK@bgcolor}% - \LP@drawgrid{1}{1}{\LP@KSDK@columns}{\LP@KSDK@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@KSDK@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{killersudoku}{ +Usage of package killersudoku.sty is deprecated\MessageBreak +\space killersudoku.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/laserbeam.sty b/Master/texmf-dist/tex/latex/logicpuzzle/laserbeam.sty index 9053cabca72..96cd6fe164e 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/laserbeam.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/laserbeam.sty @@ -20,70 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{laserbeam}[2013/04/20 laserbeam.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{laserbeam}[2013/04/30 laserbeam.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@LB@init@prefix{LP@LB}% -\newcommand*\LP@LB@init@package{laserbeam}% -% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{rows}{5}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{columns}{5}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{scale}{1}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{counterstyle}{none}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{bgcolor}{}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{width}{6.5cm}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{cvoffset}{-38pt}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{title}{}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{titlewidth}{6.5cm}% -\LP@define@choicekey@fontsize{\LP@LB@init@prefix}{\LP@LB@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@LB@init@prefix}% -% -\let\laserH\LP@toprow% -\let\laserV\LP@leftcolumn% -\let\mirrorH\LP@bottomrow@edge% -\let\mirrorV\LP@rightcolumn@edge% -% -\newcommand*\laser[2][red]% -{% - % avoid little laser peaks outside grid - \clip (1,1) rectangle (\arabic{LP@LB@columns},\arabic{LP@LB@rows}); - \framearea{#1}{#2}% -}% -% -\newcommand*\laserbeamsetup[1]% -{% - \setkeys{laserbeam.sty}{#1}% -}% -% -\newenvironment{laserbeam}[1][]% -{% - \setkeys{laserbeam}{#1}% - \LP@set@package{laserbeam}% - \LP@set@env@prefix{LP@LB}% - \setcounter{LP@LB@rows}{\LP@LB@rows}% - \setcounter{LP@LB@columns}{\LP@LB@columns}% - \stepcounter{LP@LB@rows}% - \stepcounter{LP@LB@columns}% - \begin{minipage}[t]{\LP@LB@width}% - \ifthenelse{\equal{\LP@LB@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@LB@titleindent}\parbox{\LP@LB@titlewidth}{\strut\LP@titleformat\LP@LB@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@LB@scale]% - \LP@drawbackground{1}{1}{\LP@LB@columns}{\LP@LB@rows}{\LP@LB@bgcolor}% - \LP@drawgrid{1}{1}{\LP@LB@columns}{\LP@LB@rows}{1cm}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@LB@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{laserbeam}{ +Usage of package laserbeam.sty is deprecated\MessageBreak +\space laserbeam.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty b/Master/texmf-dist/tex/latex/logicpuzzle/logicpuzzle.sty index f431d57fd15..dbbc3e0b7a7 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/04/20 logicpuzzle.sty v1.9 - Josef Kleber (C) 2013]% +\ProvidesPackage{logicpuzzle}[2013/05/03 logicpuzzle.sty v2.0 - Josef Kleber (C) 2013]% % \RequirePackage{xkeyval}% \RequirePackage{ifthen}% @@ -63,6 +63,7 @@ \def\LP@normallines{0.5pt}% \def\LP@thicklines{1.5pt}% \def\LP@grid@linestyle{}% +\def\LP@rel@tikzpath{}% % \newcommand*\LP@Pfive{.5}% % @@ -173,6 +174,9 @@ \LP@definecolor{LP@c@griddots}{.25,.51,.33}% \LP@definecolor{LP@c@cross}{.25,.51,.33}% \LP@definecolor{LP@c@mirror}{.8,.8,.8}% +\definecolor{LP@c@tunnel}{rgb}{.7,.7,.7}% +\definecolor{LP@c@tunnel@i}{rgb}{.8,.8,.8}% +\definecolor{LP@c@tunnel@ii}{rgb}{.5,.5,.5}% % % drawing grids % @@ -351,6 +355,7 @@ % \newcommand*\setrow[2]% {% + \LP@set@LP@scale{\LP@env@prefix}% \LP@setrowcontents{#2}{1}{#1}% }% % @@ -395,6 +400,7 @@ % \newcommand*\setcolumn[2]% {% + \LP@set@LP@scale{\LP@env@prefix}% \LP@setcolumncontents{#2}{#1}{1}% }% % @@ -542,7 +548,7 @@ % #3 csv list of directions \newcommand*\tikzpath[3]% {% - (#1,#2)% + (#1\LP@rel@tikzpath,#2\LP@rel@tikzpath)% \foreach \LP@direction in {#3}% {% \ifnum\LP@direction=1% @@ -760,6 +766,54 @@ \end{tikzpicture}% }% % +\newcommand*\LP@Mine% +{% + \begin{tikzpicture}[scale=\LP@scale]% + \fill[color=black] (.2,.5) -- (.5,.6) -- (.5,.4) -- cycle;% + \fill[color=black] (.8,.5) -- (.5,.6) -- (.5,.4) -- cycle;% + \fill[color=black] (.5,.8) -- (.4,.5) -- (.6,.5) -- cycle;% + \fill[color=black] (.5,.2) -- (.4,.5) -- (.6,.5) -- cycle;% + \shade[ball color=black] (.5,.5) circle (.225cm);% + \end{tikzpicture}% +}% +\let\Mine\LP@Mine% +% +\newcommand*\LP@Portal% +{% + \LP@set@LP@scale{\LP@env@prefix}% + \begin{tikzpicture}[scale=\LP@scale]% + \fill[color=black] (0,0) -- (0,1) -- (.4,.5) -- (.4,0) -- cycle;% + \fill[color=LP@c@tunnel@ii] (0,1) -- (1,1) -- (1,.5) -- (.4,.5) -- cycle;% + \fill[color=LP@c@tunnel@i] (.4,0) rectangle (1,.5);% + \draw[line width=\LP@normallines] (0,0) rectangle (1,1) ;% + \end{tikzpicture}% +}% +% +\newcommand*\portal[2]% +{% + \begin{puzzlebackground}% + \LP@setcellcontent{#1}{#2}{\LP@Portal}% + \end{puzzlebackground}% +}% +% +\newcommand*\tube[1]% +{% + \LP@set@LP@scale{\LP@env@prefix}% + \bgroup% + \def\LP@rel@tikzpath{.5}% + \begin{pgfonlayer}{LPbackgroundtwo}% + \pgfsetcornersarced{\pgfpoint{3mm}{3mm}}% + \draw[color=LP@c@tunnel!80!black, line width=.4cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel, line width=.38cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel!85, line width=.35cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel!70, line width=.32cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel!55, line width=.29cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel!45, line width=.25cm*\LP@scale] #1;% + \draw[color=LP@c@tunnel!35, line width=.2cm*\LP@scale] #1;% + \end{pgfonlayer}% + \egroup% +}% +% % get package options with prefix % \newcommand*\LP@set@LP@scale[1]% @@ -878,4 +932,6 @@ \end{minipage}% }% % +\RequirePackage{lpenv}% +% \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/lpenv.sty b/Master/texmf-dist/tex/latex/logicpuzzle/lpenv.sty new file mode 100644 index 00000000000..dc5ff8c261f --- /dev/null +++ b/Master/texmf-dist/tex/latex/logicpuzzle/lpenv.sty @@ -0,0 +1,936 @@ +%% +%% Copyright (C) 2013 by: +%% Josef Kleber +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% The Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +% +\ProvidesPackage{lpenv}[2013/05/03 lpenv.sty v2.0 - Josef Kleber (C) 2013]% +% +% battleship environment and options +% +\newcommand*\LP@BS@init@prefix{LP@BS}% +\newcommand*\LP@BS@init@package{battleship}% +% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{rows}{5}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{columns}{5}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{shipcolor}{green}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{scale}{1}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{counterstyle}{none}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{bgcolor}{}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{width}{6cm}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{title}{}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{titleindent}{0.75cm}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{titlewidth}{5.15cm}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbindent}{0.75cm}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbwidth}{5.15cm}% +\LP@define@key{\LP@BS@init@prefix}{\LP@BS@init@package}{sbshipscale}{1}% +\LP@define@choicekey@fontsize{\LP@BS@init@prefix}{\LP@BS@init@package}{{Large}}% +% +\LP@init@counter{\LP@BS@init@prefix}% +% +\gdef\LP@BS@shipbox{}% +\tikzstyle{island} = [fill=yellow!30,draw, decorate, decoration={random steps,segment length=2.7pt,amplitude=1.7pt}]% +% +\newcommand*\Ship{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor] (0,0) circle (1);}% +\newcommand*\ShipC{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor] (0,0)--(0,2)--(2,2)--(2,0)--cycle;}% +\newcommand*\ShipT{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](2,1)--(2,0)--(0,0)--(0,1) arc (180:0:1);}% +\newcommand*\ShipB{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](2,1)--(2,2)--(0,2)--(0,1) arc (180:360:1);}% +\newcommand*\ShipL{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](1,2)--(2,2)--(2,0)--(1,0) arc (270:90:1);}% +\newcommand*\ShipR{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill=\LP@BS@shipcolor](1,2)--(0,2)--(0,0)--(1,0) arc (270:450:1);}% +\newcommand*\Island{\tikz[scale=\LP@BS@scale]\draw[scale=.36,island] (0,0) rectangle (2,2);}% +\newcommand*\Water{\tikz[scale=\LP@BS@scale]\draw[scale=.36,fill,blue!40] (1,1) circle (0.2);}% +% versions for \shipbox without second scale +\newcommand*\@Ship{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor] (0,0) circle (1);}% +\newcommand*\@ShipC{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor] (0,0)--(0,2)--(2,2)--(2,0)--cycle;}% +\newcommand*\@ShipT{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](2,1)--(2,0)--(0,0)--(0,1) arc (180:0:1);}% +\newcommand*\@ShipB{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](2,1)--(2,2)--(0,2)--(0,1) arc (180:360:1);}% +\newcommand*\@ShipL{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](1,2)--(2,2)--(2,0)--(1,0) arc (270:90:1);}% +\newcommand*\@ShipR{\tikz\draw[scale=.144,fill=\LP@BS@shipcolor](1,2)--(0,2)--(0,0)--(1,0) arc (270:450:1);}% +% +\newcommand*\LP@BS@printship[1]% +{% + \ifthenelse{\equal{#1}{1}}{\scalebox{\LP@BS@sbshipscale}{\@Ship}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{2}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{3}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{4}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{5}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{6}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{7}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{8}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{9}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% + \ifthenelse{\equal{#1}{10}}{\scalebox{\LP@BS@sbshipscale}{\@ShipL\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipC\,\@ShipR}\space\allowbreak}{}% +}% +% +\newcommand*\LP@BS@printshipbox[1]% +{% \expandafters needed because csv list is stored in macro + \expandafter\forcsvlist\expandafter\LP@BS@printship\expandafter{#1}% +}% +% +\newcommand*\shipH[1]% +{% + \LP@setrowcontents{#1}{1}{\value{LP@BS@rows}}% +}% +% +\newcommand*\shipV[1]% +{% + \LP@setcolumncontents{#1}{0}{1}% +}% +% +\newcommand*\placesegment[3]% +{% + \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% + \LP@setcellcontent{#1}{#2}{#3}% +}% +% +\let\ship\placesegment% +% +\newcommand*\placeisland[2]% +{% + \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% + \LP@setcellcontent{#1}{#2}{\Island}% +}% +% +\newcommand*\placewater[2]% +{% + \LP@ingrid{#1}{#2}{\LP@BS@columns}{\LP@BS@rows}{battleship}% + \LP@setcellcontent{#1}{#2}{\Water}% +}% +% +\newcommand*\shipbox[2][]% +{% + \setkeys{shipbox}{#1}% + \gdef\LP@BS@shipbox{#2}% +}% +% +\newcommand*\placeship[4]% +{% + \setcounter{LP@counti}{#4}% length + \ifnum\value{LP@counti}<1% + \PackageError{battleship}% + {ship length < 1}% + {The length of your ship should be at least 1}% + \fi% + \ifnum\value{LP@counti}>10% + \PackageError{battleship}% + {ship length > 10}% + {The supported max length of ships is 10!}% + \fi% + \ifnum\value{LP@counti}=1% + \placesegment{#2}{#3}{\Ship}% + \else% + \setcounter{LP@whiledo@i}{\value{LP@counti}}% + \addtocounter{LP@whiledo@i}{-2}% length of middle ship + \ifthenelse{\equal{#1}{V}}% + {% + \placesegment{#2}{#3}{\ShipB}% + \setcounter{LP@countii}{#3}% + \whiledo{\value{LP@whiledo@i}>0}% + {% + \addtocounter{LP@whiledo@i}{-1}% + \stepcounter{LP@countii}% + \placesegment{#2}{\theLP@countii}{\ShipC}% + }% + \stepcounter{LP@countii}% + \placesegment{#2}{\theLP@countii}{\ShipT}% + }% + {% + \ifthenelse{\equal{#1}{H}}% + {% + \placesegment{#2}{#3}{\ShipL}% + \setcounter{LP@counti}{#2}% + \whiledo{\value{LP@whiledo@i}>0}% + {% + \addtocounter{LP@whiledo@i}{-1}% + \stepcounter{LP@counti}% + \placesegment{\theLP@counti}{#3}{\ShipC}% + }% + \stepcounter{LP@counti}% + \placesegment{\theLP@counti}{#3}{\ShipR}% + }% + {\PackageError{battleship}% + {invalid direction (H/V)}% + {You can place your ship only\MessageBreak% + horizontally (H) or vertically (V)!}% + }% + }% + \fi% +}% +% +\newcommand*\battleshipsetup[1]% +{% + \setkeys{battleship.sty}{#1}% +}% +% +\newcommand{\classicgame}[1]% +{% + \begin{center}% + \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Me,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% + \shipV{J,I,H,G,F,E,D,C,B,A}% + \shipH{1,2,3,4,5,6,7,8,9,10}% + \shipbox{#1}% + \end{battleship}% + \hspace{1cm}% + \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Enemy,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% + \shipV{J,I,H,G,F,E,D,C,B,A}% + \shipH{1,2,3,4,5,6,7,8,9,10}% + \end{battleship}% + \end{center}% + \par\vspace{1cm}% + \begin{center}% + \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Me,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% + \shipV{J,I,H,G,F,E,D,C,B,A}% + \shipH{1,2,3,4,5,6,7,8,9,10}% + \shipbox{#1}% + \end{battleship}% + \hspace{1cm}% + \begin{battleship}[rows=10,columns=10,width=6.5cm,title=Enemy,sbindent=0.65cm,titleindent=0.55cm,titlewidth=5.7cm,sbwidth=5.7cm,scale=0.59,fontsize=normalsize]% + \shipV{J,I,H,G,F,E,D,C,B,A}% + \shipH{1,2,3,4,5,6,7,8,9,10}% + \end{battleship}% + \end{center}% +}% +% +\newenvironment{battleship}[1][]% +{% + \setkeys{battleship}{#1}% + \LP@set@package{battleship}% + \LP@set@env@prefix{LP@BS}% + \shipbox{}% clear shipbox + \setcounter{LP@BS@rows}{\LP@BS@rows}% + \setcounter{LP@BS@columns}{\LP@BS@columns}% + \stepcounter{LP@BS@rows}% + \stepcounter{LP@BS@columns}% + \begin{minipage}[t]{\LP@BS@width}% + \ifthenelse{\equal{\LP@BS@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@BS@titleindent}\parbox{\LP@BS@titlewidth}{\strut\LP@titleformat\LP@BS@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@BS@scale]% + \LP@drawbackground{1}{1}{\LP@BS@columns}{\LP@BS@rows}{\LP@BS@bgcolor}% + \LP@drawgrid{1}{1}{\LP@BS@columns}{\LP@BS@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@BS@counterstyle}% + \par\hbadness=10000\medskip\noindent\hspace{\LP@BS@sbindent}\begin{minipage}{\LP@BS@sbwidth}{\hbadness=10000\RaggedRight\LP@BS@printshipbox{\LP@BS@shipbox}}\end{minipage}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% bokkusu environment and options +% +\newcommand*\LP@BK@init@prefix{LP@BK}% +\newcommand*\LP@BK@init@package{bokkusu}% +% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{rows}{5}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{columns}{5}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{scale}{1}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{counterstyle}{none}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{color}{black}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{bgcolor}{}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{width}{6.7cm}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{cvoffset}{-38pt}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{title}{}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{titleindent}{0.75cm}% +\LP@define@key{\LP@BK@init@prefix}{\LP@BK@init@package}{titlewidth}{5.85cm}% +\LP@define@choicekey@fontsize{\LP@BK@init@prefix}{\LP@BK@init@package}{Large}% +% +\LP@init@counter{\LP@BK@init@prefix}% +% +\let\valueH\LP@bottomrow% +\let\valueV\LP@leftcolumn% +\let\sumH\LP@toprow% +\let\sumV\LP@rightcolumn% +% +\newcommand*\bokkususetup[1]% +{% + \setkeys{bokkusu.sty}{#1}% +}% +% +\newenvironment{bokkusu}[1][]% +{% + \setkeys{bokkusu}{#1}% + \LP@set@package{bokkusu}% + \LP@set@env@prefix{LP@BK}% + \setcounter{LP@BK@rows}{\LP@BK@rows}% + \setcounter{LP@BK@columns}{\LP@BK@columns}% + \stepcounter{LP@BK@rows}% + \stepcounter{LP@BK@columns}% + \begin{minipage}[t]{\LP@BK@width}% + \ifthenelse{\equal{\LP@BK@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@BK@titleindent}\parbox{\LP@BK@titlewidth}{\strut\LP@titleformat\LP@BK@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@BK@scale]% + \LP@drawbackground{1}{1}{\LP@BK@columns}{\LP@BK@rows}{\LP@BK@bgcolor}% + \LP@drawgrid{1}{1}{\LP@BK@columns}{\LP@BK@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@BK@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% chaossudoku environment and options +% +\newcommand*\LP@CS@init@prefix{LP@CS}% +\newcommand*\LP@CS@init@package{chaossudoku}% +% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{rows}{5}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{columns}{5}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{scale}{1}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{counterstyle}{none}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{bgcolor}{}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{width}{5.1cm}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{title}{}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@CS@init@prefix}{\LP@CS@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@CS@init@prefix}{\LP@CS@init@package}{Large}% +% +\LP@init@counter{\LP@CS@init@prefix}% +% +\let\chaossudokucell\setcell% +% +\newcommand*\chaossudokusetup[1]% +{% + \setkeys{chaossudoku.sty}{#1}% +}% +% +\newenvironment{chaossudoku}[1][]% +{% + \setkeys{chaossudoku}{#1}% + \LP@set@package{chaossudoku}% + \LP@set@env@prefix{LP@CS}% + \setcounter{LP@CS@rows}{\LP@CS@rows}% + \setcounter{LP@CS@columns}{\LP@CS@columns}% + \stepcounter{LP@CS@rows}% + \stepcounter{LP@CS@columns}% + \begin{minipage}[t]{\LP@CS@width}% + \ifthenelse{\equal{\LP@CS@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@CS@titleindent}\parbox{\LP@CS@titlewidth}{\strut\LP@titleformat\LP@CS@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@CS@scale]% + \LP@drawbackground{1}{1}{\LP@CS@columns}{\LP@CS@rows}{\LP@CS@bgcolor}% + \LP@drawgrid{1}{1}{\LP@CS@columns}{\LP@CS@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@CS@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% ddsudoku environment and options +% +\newcommand*\LP@DDS@init@prefix{LP@DDS}% +\newcommand*\LP@DDS@init@package{ddsudoku}% +% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{rows}{5}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{columns}{5}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{scale}{1}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{counterstyle}{none}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{bgcolor}{}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{width}{5.1cm}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{title}{}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@DDS@init@prefix}{\LP@DDS@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@DDS@init@prefix}{\LP@DDS@init@package}{Large}% +% +\LP@init@counter{\LP@DDS@init@prefix}% +% +\let\ddsudokucell\setcell% +% +\newcommand*\ddsudokusetup[1]% +{% + \setkeys{ddsudoku.sty}{#1}% +}% +% +\newenvironment{ddsudoku}[1][]% +{% + \setkeys{ddsudoku}{#1}% + \LP@set@package{ddsudoku}% + \LP@set@env@prefix{LP@DDS}% + \setcounter{LP@DDS@rows}{\LP@DDS@rows}% + \setcounter{LP@DDS@columns}{\LP@DDS@columns}% + \stepcounter{LP@DDS@rows}% + \stepcounter{LP@DDS@columns}% + \begin{minipage}[t]{\LP@DDS@width}% + \ifthenelse{\equal{\LP@DDS@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@DDS@titleindent}\parbox{\LP@DDS@titlewidth}{\strut\LP@titleformat\LP@DDS@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@DDS@scale]% + \LP@drawbackground{1}{1}{\LP@DDS@columns}{\LP@DDS@rows}{\LP@DDS@bgcolor}% + \LP@drawgrid{1}{1}{\LP@DDS@columns}{\LP@DDS@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@DDS@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% hakyuu environment and options +% +\newcommand*\LP@HY@init@prefix{LP@HY}% +\newcommand*\LP@HY@init@package{hakyuu}% +% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{rows}{5}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{columns}{5}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{scale}{1}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{counterstyle}{none}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{bgcolor}{}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{width}{5.1cm}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{title}{}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@HY@init@prefix}{\LP@HY@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@HY@init@prefix}{\LP@HY@init@package}{Large}% +% +\LP@init@counter{\LP@HY@init@prefix}% +% +\let\hakyuucell\setcell% +% +\newcommand*\hakyuusetup[1]% +{% + \setkeys{hakyuu.sty}{#1}% +}% +% +\newenvironment{hakyuu}[1][]% +{% + \setkeys{hakyuu}{#1}% + \LP@set@package{hakyuu}% + \LP@set@env@prefix{LP@HY}% + \setcounter{LP@HY@rows}{\LP@HY@rows}% + \setcounter{LP@HY@columns}{\LP@HY@columns}% + \stepcounter{LP@HY@rows}% + \stepcounter{LP@HY@columns}% + \begin{minipage}[t]{\LP@HY@width}% + \ifthenelse{\equal{\LP@HY@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@HY@titleindent}\parbox{\LP@HY@titlewidth}{\strut\LP@titleformat\LP@HY@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@HY@scale]% + \LP@drawbackground{1}{1}{\LP@HY@columns}{\LP@HY@rows}{\LP@HY@bgcolor}% + \LP@drawgrid{1}{1}{\LP@HY@columns}{\LP@HY@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@HY@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% hitori environment and options +% +\newcommand*\LP@HT@init@prefix{LP@HT}% +\newcommand*\LP@HT@init@package{hitori}% +% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{rows}{5}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{columns}{5}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{scale}{1}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{counterstyle}{none}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{bgcolor}{}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{width}{5.1cm}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{title}{}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@HT@init@prefix}{\LP@HT@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@HT@init@prefix}{\LP@HT@init@package}{Large}% +% +\LP@init@counter{\LP@HT@init@prefix}% +% +\let\hitoricell\setcell% +% +\newcommand*\hitorisetup[1]% +{% + \setkeys{hitori.sty}{#1}% +}% +% +\newenvironment{hitori}[1][]% +{% + \setkeys{hitori}{#1}% + \LP@set@package{hitori}% + \LP@set@env@prefix{LP@HT}% + \setcounter{LP@HT@rows}{\LP@HT@rows}% + \setcounter{LP@HT@columns}{\LP@HT@columns}% + \stepcounter{LP@HT@rows}% + \stepcounter{LP@HT@columns}% + \begin{minipage}[t]{\LP@HT@width}% + \ifthenelse{\equal{\LP@HT@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@HT@titleindent}\parbox{\LP@HT@titlewidth}{\strut\LP@titleformat\LP@HT@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@HT@scale]% + \LP@drawbackground{1}{1}{\LP@HT@columns}{\LP@HT@rows}{\LP@HT@bgcolor}% + \LP@drawgrid{1}{1}{\LP@HT@columns}{\LP@HT@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@HT@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% kendoku environment and options +% +\newcommand*\LP@KD@init@prefix{LP@KD}% +\newcommand*\LP@KD@init@package{kendoku}% +% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{rows}{5}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{columns}{5}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{scale}{1}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{counterstyle}{none}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{bgcolor}{}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{width}{5.1cm}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{title}{}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@KD@init@prefix}{\LP@KD@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@KD@init@prefix}{\LP@KD@init@package}{Large}% +% +\LP@init@counter{\LP@KD@init@prefix}% +% +\let\kendokucell\setcell% +% +\newcommand*\kendokusetup[1]% +{% + \setkeys{kendoku.sty}{#1}% +}% +% +\newenvironment{kendoku}[1][]% +{% + \setkeys{kendoku}{#1}% + \LP@set@package{kendoku}% + \LP@set@env@prefix{LP@KD}% + \setcounter{LP@KD@rows}{\LP@KD@rows}% + \setcounter{LP@KD@columns}{\LP@KD@columns}% + \stepcounter{LP@KD@rows}% + \stepcounter{LP@KD@columns}% + \begin{minipage}[t]{\LP@KD@width}% + \ifthenelse{\equal{\LP@KD@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@KD@titleindent}\parbox{\LP@KD@titlewidth}{\strut\LP@titleformat\LP@KD@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@KD@scale]% + \LP@drawbackground{1}{1}{\LP@KD@columns}{\LP@KD@rows}{\LP@KD@bgcolor}% + \LP@drawgrid{1}{1}{\LP@KD@columns}{\LP@KD@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@KD@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% killersudoku environment and options +% +\newcommand*\LP@KSDK@init@prefix{LP@KSDK}% +\newcommand*\LP@KSDK@init@package{killersudoku}% +% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{rows}{5}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{columns}{5}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{scale}{1}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{counterstyle}{none}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{bgcolor}{}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{width}{5.1cm}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{title}{}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@KSDK@init@prefix}{\LP@KSDK@init@package}{Large}% +% +\LP@init@counter{\LP@KSDK@init@prefix}% +% +\let\killersudokucell\setcell% +% +\newcommand*\killersudokusetup[1]% +{% + \setkeys{killersudoku.sty}{#1}% +}% +% +\newenvironment{killersudoku}[1][]% +{% + \setkeys{killersudoku}{#1}% + \LP@set@package{killersudoku}% + \LP@set@env@prefix{LP@KSDK}% + \setcounter{LP@KSDK@rows}{\LP@KSDK@rows}% + \setcounter{LP@KSDK@columns}{\LP@KSDK@columns}% + \stepcounter{LP@KSDK@rows}% + \stepcounter{LP@KSDK@columns}% + \begin{minipage}[t]{\LP@KSDK@width}% + \ifthenelse{\equal{\LP@KSDK@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@KSDK@titleindent}\parbox{\LP@KSDK@titlewidth}{\strut\LP@titleformat\LP@KSDK@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@KSDK@scale]% + \LP@drawbackground{1}{1}{\LP@KSDK@columns}{\LP@KSDK@rows}{\LP@KSDK@bgcolor}% + \LP@drawgrid{1}{1}{\LP@KSDK@columns}{\LP@KSDK@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@KSDK@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% laserbeam environment and options +% +\newcommand*\LP@LB@init@prefix{LP@LB}% +\newcommand*\LP@LB@init@package{laserbeam}% +% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{rows}{5}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{columns}{5}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{scale}{1}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{counterstyle}{none}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{bgcolor}{}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{width}{6.5cm}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{cvoffset}{-38pt}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{title}{}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@LB@init@prefix}{\LP@LB@init@package}{titlewidth}{6.5cm}% +\LP@define@choicekey@fontsize{\LP@LB@init@prefix}{\LP@LB@init@package}{Large}% +% +\LP@init@counter{\LP@LB@init@prefix}% +% +\let\laserH\LP@toprow% +\let\laserV\LP@leftcolumn% +\let\mirrorH\LP@bottomrow@edge% +\let\mirrorV\LP@rightcolumn@edge% +% +\newcommand*\laser[2][red]% +{% + % avoid little laser peaks outside grid + \clip (1,1) rectangle (\arabic{LP@LB@columns},\arabic{LP@LB@rows}); + \framearea{#1}{#2}% +}% +% +\newcommand*\laserbeamsetup[1]% +{% + \setkeys{laserbeam.sty}{#1}% +}% +% +\newenvironment{laserbeam}[1][]% +{% + \setkeys{laserbeam}{#1}% + \LP@set@package{laserbeam}% + \LP@set@env@prefix{LP@LB}% + \setcounter{LP@LB@rows}{\LP@LB@rows}% + \setcounter{LP@LB@columns}{\LP@LB@columns}% + \stepcounter{LP@LB@rows}% + \stepcounter{LP@LB@columns}% + \begin{minipage}[t]{\LP@LB@width}% + \ifthenelse{\equal{\LP@LB@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@LB@titleindent}\parbox{\LP@LB@titlewidth}{\strut\LP@titleformat\LP@LB@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@LB@scale]% + \LP@drawbackground{1}{1}{\LP@LB@columns}{\LP@LB@rows}{\LP@LB@bgcolor}% + \LP@drawgrid{1}{1}{\LP@LB@columns}{\LP@LB@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@LB@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% lpsudoku environment and options +% +\newcommand*\LP@SDK@init@prefix{LP@SDK}% +\newcommand*\LP@SDK@init@package{lpsudoku}% +% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{rows}{9}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{columns}{9}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{scale}{1}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{counterstyle}{none}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{bgcolor}{}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{width}{9.1cm}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{title}{}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@SDK@init@prefix}{\LP@SDK@init@package}{titlewidth}{9.1cm}% +\LP@define@choicekey@fontsize{\LP@SDK@init@prefix}{\LP@SDK@init@package}{Large}% +% +\LP@init@counter{\LP@SDK@init@prefix}% +% +\let\lpsudokucell\setcell% +% +\newcommand*\lpsudokusetup[1]% +{% + \setkeys{lpsudoku.sty}{#1}% +}% +% +\newenvironment{lpsudoku}[1][]% +{% + \setkeys{lpsudoku}{#1}% + \LP@set@package{lpsudoku}% + \LP@set@env@prefix{LP@SDK}% + \setcounter{LP@SDK@rows}{\LP@SDK@rows}% + \setcounter{LP@SDK@columns}{\LP@SDK@columns}% + \stepcounter{LP@SDK@rows}% + \stepcounter{LP@SDK@columns}% + \begin{minipage}[t]{\LP@SDK@width}% + \ifthenelse{\equal{\LP@SDK@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@SDK@titleindent}\parbox{\LP@SDK@titlewidth}{\strut\LP@titleformat\LP@SDK@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@SDK@scale]% + \LP@drawbackground{1}{1}{\LP@SDK@columns}{\LP@SDK@rows}{\LP@SDK@bgcolor}% + \LP@drawgrid{1}{1}{\LP@SDK@columns}{\LP@SDK@rows}{1cm}% + \LP@drawsudokugrid% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% minesweeper environment and options +% +\newcommand*\LP@MS@init@prefix{LP@MS}% +\newcommand*\LP@MS@init@package{minesweeper}% +% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{rows}{5}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{columns}{5}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{scale}{1}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{counterstyle}{none}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{bgcolor}{}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{width}{5.1cm}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{title}{}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@MS@init@prefix}{\LP@MS@init@package}{titlewidth}{5.1cm}% +\LP@define@choicekey@fontsize{\LP@MS@init@prefix}{\LP@MS@init@package}{Large}% +% +\LP@init@counter{\LP@MS@init@prefix}% +% +\let\minesweepercell\setcell% +% +\newcommand*\minesweepersetup[1]% +{% + \setkeys{minesweeper.sty}{#1}% +}% +% +\newenvironment{minesweeper}[1][]% +{% + \setkeys{minesweeper}{#1}% + \LP@set@package{minesweeper}% + \LP@set@env@prefix{LP@MS}% + \setcounter{LP@MS@rows}{\LP@MS@rows}% + \setcounter{LP@MS@columns}{\LP@MS@columns}% + \stepcounter{LP@MS@rows}% + \stepcounter{LP@MS@columns}% + \begin{minipage}[t]{\LP@MS@width}% + \ifthenelse{\equal{\LP@MS@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@MS@titleindent}\parbox{\LP@MS@titlewidth}{\strut\LP@titleformat\LP@MS@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@MS@scale]% + \LP@drawbackground{1}{1}{\LP@MS@columns}{\LP@MS@rows}{\LP@MS@bgcolor}% + \LP@drawgrid{1}{1}{\LP@MS@columns}{\LP@MS@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@MS@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% skyline environment and options +% +\newcommand*\LP@SL@init@prefix{LP@SL}% +\newcommand*\LP@SL@init@package{skyline}% +% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{rows}{5}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{columns}{5}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{scale}{1}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{counterstyle}{none}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{bgcolor}{}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{width}{6.7cm}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{cvoffset}{-38pt}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{title}{}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{titleindent}{0.75cm}% +\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{titlewidth}{5.85cm}% +\LP@define@choicekey@fontsize{\LP@SL@init@prefix}{\LP@SL@init@package}{Large}% +% +\newcommand*\LP@SL@sudoku{false}% +% +\define@choicekey*{skyline.sty}{sudoku}[\LP@SL@sudoku\nr]{true,false}[true]% +{% + \ifcase\nr\relax% + \renewcommand*\LP@SL@sudoku{true}% + \renewcommand*\LP@SL@rows{9}% + \renewcommand*\LP@SL@columns{9}% + \or% + \renewcommand*\LP@SL@sudoku{false}% + \fi% +}% +% +\define@choicekey*{skyline}{sudoku}[\LP@SL@sudoku\nr]{true,false}[true]% +{% + \ifcase\nr\relax% + \renewcommand*\LP@SL@sudoku{true}% + \renewcommand*\LP@SL@rows{9}% + \renewcommand*\LP@SL@columns{9}% + \or% + \renewcommand*\LP@SL@sudoku{false}% + \fi% +}% +% +\LP@init@counter{\LP@SL@init@prefix}% +% +\let\skylineB\LP@bottomrow% +\let\skylineT\LP@toprow% +\let\skylineL\LP@leftcolumn% +\let\skylineR\LP@rightcolumn% +\let\skylinecell\setcell% +% +\newcommand*\skylinesetup[1]% +{% + \setkeys{skyline.sty}{#1}% +}% +% +\newenvironment{skyline}[1][]% +{% + \setkeys{skyline}{#1}% + \LP@set@package{skyline}% + \LP@set@env@prefix{LP@SL}% + \setcounter{LP@SL@rows}{\LP@SL@rows}% + \setcounter{LP@SL@columns}{\LP@SL@columns}% + \stepcounter{LP@SL@rows}% + \stepcounter{LP@SL@columns}% + \begin{minipage}[t]{\LP@SL@width}% + \ifthenelse{\equal{\LP@SL@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@SL@titleindent}\parbox{\LP@SL@titlewidth}{\strut\LP@titleformat\LP@SL@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@SL@scale]% + \LP@drawbackground{1}{1}{\LP@SL@columns}{\LP@SL@rows}{\LP@SL@bgcolor}% + \LP@drawgrid{1}{1}{\LP@SL@columns}{\LP@SL@rows}{1cm}% + \ifthenelse{\equal{\LP@SL@sudoku}{true}}% + {\LP@drawsudokugrid}% + {}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@SL@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% slitherlink environment and options +% +\newcommand*\LP@SK@init@prefix{LP@SK}% +\newcommand*\LP@SK@init@package{slitherlink}% +% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{rows}{5}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{columns}{5}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{scale}{1}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{counterstyle}{none}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{bgcolor}{}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{width}{5.2cm}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{title}{}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{titlewidth}{5.2cm}% +\LP@define@choicekey@fontsize{\LP@SK@init@prefix}{\LP@SK@init@package}{Large}% +% +\LP@init@counter{\LP@SK@init@prefix}% +% +\let\slitherlinkcell\setcell% +% +\newcommand*\slitherlinksetup[1]% +{% + \setkeys{slitherlink.sty}{#1}% +}% +% +\newenvironment{slitherlink}[1][]% +{% + \setkeys{slitherlink}{#1}% + \LP@set@package{slitherlink}% + \LP@set@env@prefix{LP@SK}% + \ifthenelse{\equal{\LP@grid@linestyle}{}}% + {\setgridlinestyle{dashed}}{}% + \setcounter{LP@SK@rows}{\LP@SK@rows}% + \setcounter{LP@SK@columns}{\LP@SK@columns}% + \stepcounter{LP@SK@rows}% + \stepcounter{LP@SK@columns}% + \begin{minipage}[t]{\LP@SK@width}% + \ifthenelse{\equal{\LP@SK@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@SK@titleindent}\parbox{\LP@SK@titlewidth}{\strut\LP@titleformat\LP@SK@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@SK@scale]% + \LP@drawbackground{1}{1}{\LP@SK@columns}{\LP@SK@rows}{\LP@SK@bgcolor}% + \LP@drawgrid{1}{1}{\LP@SK@columns}{\LP@SK@rows}{1cm}% + \LP@drawgriddots% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@SK@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +% tunnel environment and options +% +\newcommand*\LP@TN@init@prefix{LP@TN}% +\newcommand*\LP@TN@init@package{tunnel}% +% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{rows}{5}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{columns}{5}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{scale}{1}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{counterstyle}{none}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{bgcolor}{}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{width}{5.9cm}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{cvoffset}{-23pt}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{title}{}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{titleindent}{0cm}% +\LP@define@key{\LP@TN@init@prefix}{\LP@TN@init@package}{titlewidth}{5.9cm}% +\LP@define@choicekey@fontsize{\LP@TN@init@prefix}{\LP@TN@init@package}{Large}% +% +\LP@init@counter{\LP@TN@init@prefix}% +% +\let\tunnelH\LP@toprow% +\let\tunnelV\LP@leftcolumn% +% +\newcommand*\tunnelsetup[1]% +{% + \setkeys{tunnel.sty}{#1}% +}% +% +\newenvironment{tunnel}[1][]% +{% + \setkeys{tunnel}{#1}% + \LP@set@package{tunnel}% + \LP@set@env@prefix{LP@TN}% + \setcounter{LP@TN@rows}{\LP@TN@rows}% + \setcounter{LP@TN@columns}{\LP@TN@columns}% + \stepcounter{LP@TN@rows}% + \stepcounter{LP@TN@columns}% + \begin{minipage}[t]{\LP@TN@width}% + \ifthenelse{\equal{\LP@TN@title}{}}% + {\par\enspace\par}% empty + {\enspace\par\noindent\hspace{\LP@TN@titleindent}\parbox{\LP@TN@titlewidth}{\strut\LP@titleformat\LP@TN@title}\vspace{3mm}\par}% + \begin{tikzpicture}[scale=\LP@TN@scale]% + \LP@drawbackground{1}{1}{\LP@TN@columns}{\LP@TN@rows}{\LP@TN@bgcolor}% + \LP@drawgrid{1}{1}{\LP@TN@columns}{\LP@TN@rows}{1cm}% +}% +{% + \end{tikzpicture}% + \LP@drawcounter{\LP@TN@counterstyle}% + \stepcounter{LP@puzzlecounter}% + \end{minipage}% +}% +% +\endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/lpsudoku.sty b/Master/texmf-dist/tex/latex/logicpuzzle/lpsudoku.sty index dfc892e468e..fb359542e8c 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/lpsudoku.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/lpsudoku.sty @@ -20,194 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{lpsudoku}[2013/03/22 lpsudoku.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{lpsudoku}[2013/04/30 lpsudoku.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -% options -\newcommand*\LP@SDK@width{9.1cm}% -\newcommand*\LP@SDK@fontsize\Large% -\newcommand*\LP@SDK@rows{9}% -\newcommand*\LP@SDK@columns{9}% -\newcommand*\LP@SDK@scale{1}% -\newcommand*\LP@SDK@bgcolor{}% -\newcommand*\LP@SDK@cvoffset{-24pt}% -\newcommand*\LP@SDK@title{}% -\newcommand*\LP@SDK@titleindent{0cm}% -\newcommand*\LP@SDK@titlewidth{9.1cm}% -% -\newcounter{LP@SDK@rows}% -\newcounter{LP@SDK@columns}% -% -\setcounter{LP@SDK@rows}{\LP@SDK@rows}% -\setcounter{LP@SDK@columns}{\LP@SDK@columns}% -\stepcounter{LP@SDK@rows}% -\stepcounter{LP@SDK@columns}% -% -\define@key{lpsudoku.sty}{scale}[1]% -{% - \renewcommand*\LP@SDK@scale{#1}% -}% -% -\define@key{lpsudoku.sty}{counterstyle}[none]% -{% - \renewcommand*\LP@counterstyle{#1}% -}% -% -\define@key{lpsudoku.sty}{bgcolor}[]% -{% - \renewcommand*\LP@SDK@bgcolor{#1}% -}% -% -\define@choicekey*{lpsudoku.sty}{fontsize}[\LP@SDK@fontsize\nr]{tiny,scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge}[Large]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@SDK@fontsize{\tiny}% - \or% - \renewcommand*\LP@SDK@fontsize{\scriptsize}% - \or% - \renewcommand*\LP@SDK@fontsize{\footnotesize}% - \or% - \renewcommand*\LP@SDK@fontsize{\small}% - \or% - \renewcommand*\LP@SDK@fontsize{\normalsize}% - \or% - \renewcommand*\LP@SDK@fontsize{\large}% - \or% - \renewcommand*\LP@SDK@fontsize{\Large}% - \or% - \renewcommand*\LP@SDK@fontsize{\LARGE}% - \or% - \renewcommand*\LP@SDK@fontsize{\huge}% - \or% - \renewcommand*\LP@SDK@fontsize{\Huge}% - \fi% -}% -% -\define@key{lpsudoku.sty}{width}[9.1cm]% -{% - \renewcommand*\LP@SDK@width{#1}% -}% -% -\define@key{lpsudoku.sty}{title}[]% -{% - \renewcommand*\LP@SDK@title{#1}% -}% -% -\define@key{lpsudoku.sty}{cvoffset}[-24pt]% -{% - \renewcommand*\LP@SDK@cvoffset{#1}% -}% -% -\define@key{lpsudoku.sty}{titleindent}[0cm]% -{% - \renewcommand*\LP@SDK@titleindent{#1}% -}% -% -\define@key{lpsudoku.sty}{titlewidth}[9.1cm]% -{% - \renewcommand*\LP@SDK@titlewidth{#1}% -}% -% -\define@key{lpsudoku}{scale}% -{% - \renewcommand*\LP@SDK@scale{#1}% -}% -% -\define@key{lpsudoku}{bgcolor}% -{% - \renewcommand*\LP@SDK@bgcolor{#1}% -}% -% -\define@key{lpsudoku}{counterstyle}% -{% - \renewcommand*\LP@counterstyle{#1}% -}% -% -\define@choicekey*{lpsudoku}{fontsize}[\LP@SDK@fontsize\nr]{tiny,scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge}[Large]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@SDK@fontsize{\tiny}% - \or% - \renewcommand*\LP@SDK@fontsize{\scriptsize}% - \or% - \renewcommand*\LP@SDK@fontsize{\footnotesize}% - \or% - \renewcommand*\LP@SDK@fontsize{\small}% - \or% - \renewcommand*\LP@SDK@fontsize{\normalsize}% - \or% - \renewcommand*\LP@SDK@fontsize{\large}% - \or% - \renewcommand*\LP@SDK@fontsize{\Large}% - \or% - \renewcommand*\LP@SDK@fontsize{\LARGE}% - \or% - \renewcommand*\LP@SDK@fontsize{\huge}% - \or% - \renewcommand*\LP@SDK@fontsize{\Huge}% - \fi% -}% -% -\define@key{lpsudoku}{width}% -{% - \renewcommand*\LP@SDK@width{#1}% -}% -% -\define@key{lpsudoku}{title}% -{% - \renewcommand*\LP@SDK@title{#1}% -}% -% -\define@key{lpsudoku}{cvoffset}% -{% - \renewcommand*\LP@SDK@cvoffset{#1}% -}% -% -\define@key{lpsudoku}{titleindent}% -{% - \renewcommand*\LP@SDK@titleindent{#1}% -}% -% -\define@key{lpsudoku}{titlewidth}% -{% - \renewcommand*\LP@SDK@titlewidth{#1}% -}% -% -\ExecuteOptionsX{width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\let\lpsudokucell\setcell% -% -\newcommand*\lpsudokusetup[1]% -{% - \setkeys{lpsudoku.sty}{#1}% -}% -% -\newenvironment{lpsudoku}[1][]% -{% - \setkeys{lpsudoku}{#1}% - \LP@set@package{lpsudoku}% - \LP@set@env@prefix{LP@SDK}% - \setcounter{LP@SDK@rows}{\LP@SDK@rows}% - \setcounter{LP@SDK@columns}{\LP@SDK@columns}% - \stepcounter{LP@SDK@rows}% - \stepcounter{LP@SDK@columns}% - \begin{minipage}[t]{\LP@SDK@width}% - \ifthenelse{\equal{\LP@SDK@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@SDK@titleindent}\parbox{\LP@SDK@titlewidth}{\strut\LP@titleformat\LP@SDK@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@SDK@scale]% - \LP@drawbackground{1}{1}{\LP@SDK@columns}{\LP@SDK@rows}{\LP@SDK@bgcolor}% - \LP@drawgrid{1}{1}{\LP@SDK@columns}{\LP@SDK@rows}{1cm}% - \LP@drawsudokugrid% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{lpsudoku}{ +Usage of package lpsudoku.sty is deprecated\MessageBreak +\space lpsudoku.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/skyline.sty b/Master/texmf-dist/tex/latex/logicpuzzle/skyline.sty index 676f8537962..985c014e032 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/skyline.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/skyline.sty @@ -20,91 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{skyline}[2013/03/27 skyline.sty v1.1 - Josef Kleber (C) 2013]% +\ProvidesPackage{skyline}[2013/04/30 skyline.sty v1.2 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@SL@init@prefix{LP@SL}% -\newcommand*\LP@SL@init@package{skyline}% -% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{rows}{5}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{columns}{5}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{scale}{1}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{counterstyle}{none}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{bgcolor}{}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{width}{6.7cm}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{cvoffset}{-38pt}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{title}{}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{titleindent}{0.75cm}% -\LP@define@key{\LP@SL@init@prefix}{\LP@SL@init@package}{titlewidth}{5.85cm}% -\LP@define@choicekey@fontsize{\LP@SL@init@prefix}{\LP@SL@init@package}{Large}% -% -\newcommand*\LP@SL@sudoku{false}% -% -\define@choicekey*{skyline.sty}{sudoku}[\LP@SL@sudoku\nr]{true,false}[true]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@SL@sudoku{true}% - \renewcommand*\LP@SL@rows{9}% - \renewcommand*\LP@SL@columns{9}% - \or% - \renewcommand*\LP@SL@sudoku{false}% - \fi% -}% -% -\define@choicekey*{skyline}{sudoku}[\LP@SL@sudoku\nr]{true,false}[true]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@SL@sudoku{true}% - \renewcommand*\LP@SL@rows{9}% - \renewcommand*\LP@SL@columns{9}% - \or% - \renewcommand*\LP@SL@sudoku{false}% - \fi% -}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@SL@init@prefix}% -% -\let\skylineB\LP@bottomrow% -\let\skylineT\LP@toprow% -\let\skylineL\LP@leftcolumn% -\let\skylineR\LP@rightcolumn% -\let\skylinecell\setcell% -% -\newcommand*\skylinesetup[1]% -{% - \setkeys{skyline.sty}{#1}% -}% -% -\newenvironment{skyline}[1][]% -{% - \setkeys{skyline}{#1}% - \LP@set@package{skyline}% - \LP@set@env@prefix{LP@SL}% - \setcounter{LP@SL@rows}{\LP@SL@rows}% - \setcounter{LP@SL@columns}{\LP@SL@columns}% - \stepcounter{LP@SL@rows}% - \stepcounter{LP@SL@columns}% - \begin{minipage}[t]{\LP@SL@width}% - \ifthenelse{\equal{\LP@SL@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@SL@titleindent}\parbox{\LP@SL@titlewidth}{\strut\LP@titleformat\LP@SL@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@SL@scale]% - \LP@drawbackground{1}{1}{\LP@SL@columns}{\LP@SL@rows}{\LP@SL@bgcolor}% - \LP@drawgrid{1}{1}{\LP@SL@columns}{\LP@SL@rows}{1cm}% - \ifthenelse{\equal{\LP@SL@sudoku}{true}}% - {\LP@drawsudokugrid}% - {}% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@SL@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{skyline}{ +Usage of package skyline.sty is deprecated\MessageBreak +\space skyline.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty b/Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty index bceeb2c85af..04a30d3f9cf 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty @@ -20,63 +20,13 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{slitherlink}[2013/04/20 slitherlink.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{slitherlink}[2013/04/30 slitherlink.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -\newcommand*\LP@SK@init@prefix{LP@SK}% -\newcommand*\LP@SK@init@package{slitherlink}% -% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{rows}{5}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{columns}{5}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{scale}{1}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{counterstyle}{none}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{bgcolor}{}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{width}{5.2cm}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{cvoffset}{-23pt}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{title}{}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{titleindent}{0cm}% -\LP@define@key{\LP@SK@init@prefix}{\LP@SK@init@package}{titlewidth}{5.2cm}% -\LP@define@choicekey@fontsize{\LP@SK@init@prefix}{\LP@SK@init@package}{Large}% -% -\ExecuteOptionsX{rows,columns,width,fontsize,scale,bgcolor,cvoffset,counterstyle,title,titleindent,titlewidth}% -% -\ProcessOptionsX\relax% -% -\LP@init@counter{\LP@SK@init@prefix}% -% -\let\slitherlinkcell\setcell% -% -\newcommand*\slitherlinksetup[1]% -{% - \setkeys{slitherlink.sty}{#1}% -}% -% -\newenvironment{slitherlink}[1][]% -{% - \setkeys{slitherlink}{#1}% - \LP@set@package{slitherlink}% - \LP@set@env@prefix{LP@SK}% - \ifthenelse{\equal{\LP@grid@linestyle}{}}% - {\setgridlinestyle{dashed}}{}% - \setcounter{LP@SK@rows}{\LP@SK@rows}% - \setcounter{LP@SK@columns}{\LP@SK@columns}% - \stepcounter{LP@SK@rows}% - \stepcounter{LP@SK@columns}% - \begin{minipage}[t]{\LP@SK@width}% - \ifthenelse{\equal{\LP@SK@title}{}}% - {\par\enspace\par}% empty - {\enspace\par\noindent\hspace{\LP@SK@titleindent}\parbox{\LP@SK@titlewidth}{\strut\LP@titleformat\LP@SK@title}\vspace{3mm}\par}% - \begin{tikzpicture}[scale=\LP@SK@scale]% - \LP@drawbackground{1}{1}{\LP@SK@columns}{\LP@SK@rows}{\LP@SK@bgcolor}% - \LP@drawgrid{1}{1}{\LP@SK@columns}{\LP@SK@rows}{1cm}% - \LP@drawgriddots% -}% -{% - \end{tikzpicture}% - \LP@drawcounter{\LP@SK@counterstyle}% - \stepcounter{LP@puzzlecounter}% - \end{minipage}% -}% -% +\PackageWarningNoLine{slitherlink}{ +Usage of package slitherlink.sty is deprecated\MessageBreak +\space slitherlink.sty will be deleted in near future!\MessageBreak +\space Just use package logicpuzzle.sty instead! +} \endinput% \ No newline at end of file -- cgit v1.2.3