diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty | 189 |
1 files changed, 18 insertions, 171 deletions
diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty b/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty index 07ace4e5bc3..836e055e21a 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/hakyuu.sty @@ -20,184 +20,31 @@ %% This work consists of all files listed in manifest.txt. %% % -\ProvidesPackage{hakyuu}[2013/03/16 hakyuu.sty v1.0 - Josef Kleber (C) 2013]% +\ProvidesPackage{hakyuu}[2013/03/27 hakyuu.sty v1.1 - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % -% options -\newcommand*\LP@HY@width{5.1cm}% -\newcommand*\LP@HY@fontsize\Large% -\newcommand*\LP@HY@rows{5}% -\newcommand*\LP@HY@columns{5}% -\newcommand*\LP@HY@scale{1}% -\newcommand*\LP@HY@bgcolor{}% -\newcommand*\LP@HY@cvoffset{-39pt}% -\newcommand*\LP@HY@title{}% -\newcommand*\LP@HY@titleindent{0cm}% -\newcommand*\LP@HY@titlewidth{5.1cm}% -% -\newcounter{LP@HY@rows}% -\newcounter{LP@HY@columns}% -% -\setcounter{LP@HY@rows}{\LP@HY@rows}% -\setcounter{LP@HY@columns}{\LP@HY@columns}% -\stepcounter{LP@HY@rows}% -\stepcounter{LP@HY@columns}% -% -\define@key{hakyuu.sty}{rows}[5]% -{% - \renewcommand*\LP@HY@rows{#1}% -}% -% -\define@key{hakyuu.sty}{columns}[5]% -{% - \renewcommand*\LP@HY@columns{#1}% -}% -% -\define@key{hakyuu.sty}{scale}[1]% -{% - \renewcommand*\LP@HY@scale{#1}% -}% -% -\define@key{hakyuu.sty}{counterstyle}[none]% -{% - \renewcommand*\LP@counterstyle{#1}% -}% -% -\define@key{hakyuu.sty}{bgcolor}[]% -{% - \renewcommand*\LP@HY@bgcolor{#1}% -}% -% -\define@choicekey*{hakyuu.sty}{fontsize}[\LP@HY@fontsize\nr]{tiny,scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge}[Large]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@HY@fontsize{\tiny}% - \or% - \renewcommand*\LP@HY@fontsize{\scriptsize}% - \or% - \renewcommand*\LP@HY@fontsize{\footnotesize}% - \or% - \renewcommand*\LP@HY@fontsize{\small}% - \or% - \renewcommand*\LP@HY@fontsize{\normalsize}% - \or% - \renewcommand*\LP@HY@fontsize{\large}% - \or% - \renewcommand*\LP@HY@fontsize{\Large}% - \or% - \renewcommand*\LP@HY@fontsize{\LARGE}% - \or% - \renewcommand*\LP@HY@fontsize{\huge}% - \or% - \renewcommand*\LP@HY@fontsize{\Huge}% - \fi% -}% -% -\define@key{hakyuu.sty}{width}[5.1cm]% -{% - \renewcommand*\LP@HY@width{#1}% -}% -% -\define@key{hakyuu.sty}{title}[]% -{% - \renewcommand*\LP@HY@title{#1}% -}% -% -\define@key{hakyuu.sty}{cvoffset}[-22pt]% -{% - \renewcommand*\LP@HY@cvoffset{#1}% -}% -% -\define@key{hakyuu.sty}{titleindent}[0cm]% -{% - \renewcommand*\LP@HY@titleindent{#1}% -}% -% -\define@key{hakyuu.sty}{titlewidth}[5.1cm]% -{% - \renewcommand*\LP@HY@titlewidth{#1}% -}% -% -\define@key{hakyuu}{rows}% -{% - \renewcommand*\LP@HY@rows{#1}% -}% -% -\define@key{hakyuu}{columns}% -{% - \renewcommand*\LP@HY@columns{#1}% -}% -% -\define@key{hakyuu}{scale}% -{% - \renewcommand*\LP@HY@scale{#1}% -}% -% -\define@key{hakyuu}{bgcolor}% -{% - \renewcommand*\LP@HY@bgcolor{#1}% -}% -% -\define@key{hakyuu}{counterstyle}% -{% - \renewcommand*\LP@counterstyle{#1}% -}% -% -\define@choicekey*{hakyuu}{fontsize}[\LP@HY@fontsize\nr]{tiny,scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge}[Large]% -{% - \ifcase\nr\relax% - \renewcommand*\LP@HY@fontsize{\tiny}% - \or% - \renewcommand*\LP@HY@fontsize{\scriptsize}% - \or% - \renewcommand*\LP@HY@fontsize{\footnotesize}% - \or% - \renewcommand*\LP@HY@fontsize{\small}% - \or% - \renewcommand*\LP@HY@fontsize{\normalsize}% - \or% - \renewcommand*\LP@HY@fontsize{\large}% - \or% - \renewcommand*\LP@HY@fontsize{\Large}% - \or% - \renewcommand*\LP@HY@fontsize{\LARGE}% - \or% - \renewcommand*\LP@HY@fontsize{\huge}% - \or% - \renewcommand*\LP@HY@fontsize{\Huge}% - \fi% -}% -% -\define@key{hakyuu}{width}% -{% - \renewcommand*\LP@HY@width{#1}% -}% -% -\define@key{hakyuu}{title}% -{% - \renewcommand*\LP@HY@title{#1}% -}% -% -\define@key{hakyuu}{cvoffset}% -{% - \renewcommand*\LP@HY@cvoffset{#1}% -}% -% -\define@key{hakyuu}{titleindent}% -{% - \renewcommand*\LP@HY@titleindent{#1}% -}% -% -\define@key{hakyuu}{titlewidth}% -{% - \renewcommand*\LP@HY@titlewidth{#1}% -}% +\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]% @@ -224,7 +71,7 @@ }% {% \end{tikzpicture}% - \LP@drawcounter{\LP@counterstyle}% + \LP@drawcounter{\LP@HY@counterstyle}% \stepcounter{LP@puzzlecounter}% \end{minipage}% }% |