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