A program that generates LaTeX formatted worksheets for practicing times tables.
- Java (JDK 11 or later)
- LaTeX Distribution (TeX Live, MiKTeX, etc.)
- pdflatex (included in LaTeX distributions)
- Less common tex packages: enumerate, titling
- Clone the repository:
git clone https://github.com/siddharth-shringarpure/TimesTablesGenerator.git
cd TimesTablesGenerator
- Compile and run the Java program:
javac Main.java; java Main
-
Follow the program's prompts to customise the worksheet and generate it.
-
The program will generate a LaTeX file and compile it into a PDF. A success message will be displayed in the console once complete, with a relative path to the generated PDF file.
You can customise the generated worksheets by modifying the preamble.tex
file for LaTeX styling and adjusting parameters in the Main.java file, such as the number of questions generated.
- ✅ Add support for output in a separate directory
- ✅ Add support for saving multiple worksheets (currently overwrites previous worksheet)
- Add support for user arguments:
- ✅ Number of questions
- Number of worksheets
- Remove temporary files after compilation