diff options
author | Karl Berry <karl@freefriends.org> | 2006-07-14 22:41:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-07-14 22:41:47 +0000 |
commit | 8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 (patch) | |
tree | efbc3f506952613e17f980d9f1334255d63be10e /Master/texmf-dist/tex/latex/sudoku | |
parent | bb8fed912dec0ce6c7a7c8171411cd77ee7b1929 (diff) |
sudoku update
git-svn-id: svn://tug.org/texlive/trunk@1841 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sudoku')
-rw-r--r-- | Master/texmf-dist/tex/latex/sudoku/sudoku.sty | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/sudoku/sudoku.sty b/Master/texmf-dist/tex/latex/sudoku/sudoku.sty index bd3121d4a1c..b955e2854b1 100644 --- a/Master/texmf-dist/tex/latex/sudoku/sudoku.sty +++ b/Master/texmf-dist/tex/latex/sudoku/sudoku.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2005 Paul Abraham <paul.abraham@hotpop.com> +%% Copyright 2005,2006 Paul Abraham <paul.abraham@linuxdirect.org> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -28,7 +28,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{sudoku} - [2005/06/29 v1.0 Sudoku grid] + [2006/03/25 v1.0.1 Sudoku grid] \newcounter{@sudoku@row} \newcounter{@sudoku@col} \newcommand*\@sudoku@separator[1]{% @@ -49,17 +49,26 @@ \catcode`\|=\active \gdef\@sudoku@activate{\let|=\@sudoku@separator} \endgroup -\newcommand*\@sudoku@grid{% - \thinlines +\newcommand*\@sudoku@grid{ + \linethickness{\sudokuthinline}% \multiput(0,0)(1,0){10}{\line(0,1){9}}% \multiput(0,0)(0,1){10}{\line(1,0){9}} - \thicklines + \linethickness{\sudokuthickline}% \multiput(0,0)(3,0){4}{\line(0,1){9}}% \multiput(0,0)(0,3){4}{\line(1,0){9}} + \linethickness{0.5\sudokuthickline}% + \put(0,0){\framebox(0,0){}}% + \put(9,0){\framebox(0,0){}}% + \put(0,9){\framebox(0,0){}}% + \put(9,9){\framebox(0,0){}} } \newcommand*\sudokuformat[1]{\Huge\sffamily#1} \newdimen\sudokusize \setlength\sudokusize{10cm} +\newdimen\sudokuthinline +\setlength\sudokuthinline{0.4pt} +\newdimen\sudokuthickline +\setlength\sudokuthickline{2pt} \newenvironment{sudoku-block}{% \catcode`\|=\active \@sudoku@activate |