diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-25 21:11:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-25 21:11:36 +0000 |
commit | 21d4905152277092f61802441a6fea00547ee13b (patch) | |
tree | 86450643c32b2bf7c46835b494a6bc61ef7711ee /Master/texmf-dist/tex/latex | |
parent | 17a62a7784449c098bd7350b94b79c2d34d0a70f (diff) |
crossword (25may20)
git-svn-id: svn://tug.org/texlive/trunk@55271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/crossword/cwpuzzle.sty | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/crossword/cwpuzzle.sty b/Master/texmf-dist/tex/latex/crossword/cwpuzzle.sty index c48631ee385..f220e10c4aa 100644 --- a/Master/texmf-dist/tex/latex/crossword/cwpuzzle.sty +++ b/Master/texmf-dist/tex/latex/crossword/cwpuzzle.sty @@ -21,8 +21,8 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \def\filename{cwpuzzle.dtx} -\def\fileversion{1.9} -\def\filedate{2014/01/12} +\def\fileversion{1.10} +\def\filedate{2020/05/23} \let\docversion=\fileversion \let\docdate=\filedate \typeout{% @@ -38,11 +38,11 @@ %% %% %% Author: Gerd Neugebauer -%% Im Lerchelsöhl 5 -%% 64521 Groß-Gerau +%% Im Lerchels\"ohl 5 +%% 64521 Gro\ss-Gerau %% Mail: gene@gerd-neugebauer.de %% -%% Copyright (c) 1995-2014 Gerd Neugebauer +%% Copyright (c) 1995-2020 Gerd Neugebauer %% %% cwpuzzle.dtx is distributed in the hope that it will be useful, %% but WITHOUT ANY WARRANTY. No author or distributor accepts @@ -54,10 +54,6 @@ %% cwpuzzle.dtx, provided this copyright notice is preserved and %% any modifications are indicated. %% -%% -%% This style is still under development and may be replaced with a -%% new version which provides an enhanced functionality. -%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -80,8 +76,8 @@ \newdimen\PuzzleUnitlength \PuzzleUnitlength=20pt \newcommand\PuzzleClueFont{\footnotesize} -\newcommand\PuzzleFont{\rm\normalsize} -\newcommand\PuzzleNumberFont{\sf\scriptsize} +\newcommand\PuzzleFont{\rmfamily\normalsize} +\newcommand\PuzzleNumberFont{\sffamily\scriptsize} \let\PuzzleHook=\relax \newcount\Puzzle@X \newcount\Puzzle@Y @@ -339,7 +335,8 @@ \gdef\Sudoku{\begin{Puzzle}{9}{9}% \let\Puzzle@pipe=|% \def\PPa{\Puzzle@pipe[][fS]}% - \def|##1{\ifx##1*\let\next\PPa\else\Puzzle@pipe{##1}\let\next\relax\fi\next} + \def|##1{\ifx##1*\let\next\PPa\else + \Puzzle@pipe{##1}\let\next\relax\fi\next} } \endgroup \gdef\endSudoku{% @@ -358,7 +355,7 @@ \put(0,3){\framebox(9,3){}} \end{Puzzle}} \newcommand\SudokuLinethickness{2pt} -\newcommand\KakuroNumberFont{\sf\tiny} +\newcommand\KakuroNumberFont{\sffamily\tiny} \def\Kakuro@cell#1{% \ifx#1. \def\next{\Puzzle@pipe.}% \else\ifx#1< \let\next\Kakuro@HINT @@ -373,12 +370,16 @@ \def\Kakuro@hint#1:#2>{% \def\x{#2}% \ifx\x\empty\else - \put(\Puzzle@X,\Puzzle@Y){\makebox(1,.8)[r]{\parbox{.95\unitlength}{\raggedright\KakuroNumberFont + \put(\Puzzle@X,\Puzzle@Y){% + \makebox(1,.8)[r]{\parbox{.95\unitlength}{% + \raggedright\KakuroNumberFont $\blacktriangledown$\\#2}}} \fi \def\x{#1}% \ifx\x\empty\else - \put(\Puzzle@X,\Puzzle@Y){\makebox(1,1.2){\parbox{.95\unitlength}{\raggedleft\KakuroNumberFont + \put(\Puzzle@X,\Puzzle@Y){% + \makebox(1,1.2){\parbox{.95\unitlength}{% + \raggedleft\KakuroNumberFont #1 $\blacktriangleright$\\\mbox{}}}} \fi \Puzzle@pipe[][\KakuroHintType]{ }}% @@ -402,11 +403,11 @@ \DeclareOption{unboxed}{\let\PuzzleCluePre=\relax \let\PuzzleCluePost=\relax} \DeclareOption{normalsize}{\PuzzleUnitlength=20pt - \def\PuzzleFont{\rm\normalsize}} + \def\PuzzleFont{\rmfamily\normalsize}} \DeclareOption{small}{\PuzzleUnitlength=16pt - \def\PuzzleFont{\rm\small}} + \def\PuzzleFont{\rmfamily\small}} \DeclareOption{large}{\PuzzleUnitlength=24pt - \def\PuzzleFont{\rm\large}} + \def\PuzzleFont{\rmfamily\large}} \DeclareOption{german}{% \renewcommand\PuzzleWordsText[1]{Worte der L\"ange #1: }% \renewcommand\PuzzleLettersText{Benutzte Buchstaben: }% |