@hackage sum-pyramid0.0.1

Create Sum Pyramid (Additionstreppe) exercises

Create Sum Pyramid (Additionstreppe) exercises. You specify the size of the pyramid and the number range of the base line and the program emits LaTeX code for puzzles.

sum-pyramid create --size 5
nix-shell --run "make puzzle.pdf"

You may also use multiplications (--multiplication), or both addition and multiplication (--mixed). In case of additions only, you may allow puzzles that are uniquely solvable, but possibly not step-by-step (--allow-gaps). You can also control via LaTeX macros whether and how unknown cells are displayed.

Example output: http://code.henning-thielemann.de/sum-pyramid/puzzle.pdf