%% %% 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{chaossudoku}[2013/03/27 chaossudoku.sty v1.1 - 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}% }% % \endinput%