summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/sudoku/sudoku.sty19
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