# Crosswords Crossword generator tool ![Example](http://i.stack.imgur.com/I5r7L.png) ### Features * Generates a crossword puzzle that contains as many given words as possible * Fills up empty space with words from a dictionary ### Prerequisites * [Clean][clean] * LaTeX * The [crossword][crossword] LaTeX package for `cwpuzzle.dtx` * A dictionary for your language (one word per line, for Dutch you can have a look at [OpenTaal][opentaal]) ### Installation $ clm -I $CLEAN_HOME/lib/ArgEnv -I $CLEAN_HOME/lib/MersenneTwister -b -h 100M Crosswords -o cwgen ### Usage example Words are read from stdin, ended with an empty line or `EOF`, and of course from the dictionary installed. The example above was created with the words `newspaper`, `crossword`, `english` and `puzzling`. $ ./cwgen [dictionary.txt] < words.txt > cw-gen.tex $ pdflatex cw.tex Remove `\PuzzleSolution[true]` from `cw.tex` to not show the solution in the result. ### Author & License Copyright © 2016 [Camil Staps][camilstaps]. Licensed under MIT, See the `LICENSE` file for details. ### Acknowledgements * `dict/wordsEn.txt`: compiled from [SIL International](http://www-01.sil.org/linguistics/wordlists/english/) (only words with 3-10 characters were kept) [camilstaps]: https://camilstaps.nl [clean]: http://clean.cs.ru.nl [crossword]: http://ctan.org/pkg/crossword [opentaal]: http://www.opentaal.org/bestanden