logicpuzzle

A LaTeX style file for typesetting logic puzzles

User Tools

Site Tools


kakuro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kakuro [2015/09/06 09:51] (current)
Line 1: Line 1:
 +<​markdown>​
 +Kakuro
 +======
 +
 +The environment enables the user to typeset Kakuro logic puzzles. ​
 +Enter numbers from 1 to 9 in any order into the blank cells. Here, the given horizontal and vertical sums should result. The zero does not occur. Within a summation, no number can be repeated. Here’s a little self-explanatory example:
 +
 +![Kakuro](http://​i.imgur.com/​IUHfVVu.png)
 +
 +
 +    \definecolor{kakuro}{RGB}{155,​206,​167}
 +    \kakurosetup{color=kakuro}
 +    \begin{center}
 +      \begin{kakuro}
 +        \framepuzzle
 +        \kakurorow{5}{\Black,​\KKR{23}{},​\KKR{16}{},​\KKR{10}{},​\Black}
 +        \kakurorow{4}{\KKR{}{14},​9,​1,​4,​\KKR{3}{}}
 +        \kakurorow{3}{\KKR{}{16},​6,​5,​3,​2}
 +        \kakurorow{2}{\KKR{}{14},​8,​3,​2,​1}
 +        \kakurorow{1}{\Black,​\KKR{}{8},​7,​1,​\Black}
 +      \end{kakuro}
 +      \hspace{1.5cm}
 +      \begin{kakuro}[solution]
 +        \framepuzzle
 +        \kakurorow{5}{\Black,​\KKR{23}{},​\KKR{16}{},​\KKR{10}{},​\Black}
 +        \kakurorow{4}{\KKR{}{14},​9,​1,​4,​\KKR{3}{}}
 +        \kakurorow{3}{\KKR{}{16},​6,​5,​3,​2}
 +        \kakurorow{2}{\KKR{}{14},​8,​3,​2,​1}
 +        \kakurorow{1}{\Black,​\KKR{}{8},​7,​1,​\Black}
 +      \end{kakuro}
 +    \end{center}
 +</​markdown>​
  
kakuro.txt · Last modified: 2015/09/06 09:51 (external edit)