This requires an algorithm: students are taught to stack one number atop another and multiply each digit of the bottom number ...
Using this mode it can be easily (using 3 keystrokes … it’s Emacs) to PDF or HTML to make it more readable (and add a table of contents). Please don’t try to “beautify” it with any other text editor ...