summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty')
-rw-r--r--Master/texmf-dist/tex/latex/logicpuzzle/slitherlink.sty62
1 files changed, 6 insertions, 56 deletions
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