Skip to content

automath — worksheet generation

The automath command-line tool generates elementary mathematics worksheets complete with detailed solutions. Worksheets are produced as self-contained HTML/CSS/JS documents, ready to be viewed in any browser and printed to PDF from the browser.

Documents can also be exported as .atmxs files — YAML snapshots that freeze the questions and answers generated for a particular run. These static files can be rendered back to HTML at any time with automath render html, making it straightforward to archive or redistribute a specific set of exercises.

To get started, head to Creating an HTML document.