From 8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 14 Jul 2006 22:41:47 +0000
Subject: sudoku update

git-svn-id: svn://tug.org/texlive/trunk@1841 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/sudoku/sudoku.sty | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/sudoku/sudoku.sty')

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
-- 
cgit v1.2.3

