Beautiful Documents with TeX
Write the structure, let the typesetter make it beautiful — and keep documents that last.
After this course: You can write articles, CVs, slides and books in LaTeX, read its errors without fear, run other people's TeX safely, and let an AI help without letting it break your document.
8 lessons, 81 minutes of reading. $49, yours for good.
- The PDF is the output, not the document (free): A 216-page reference sold as Markdown, Word and PDF read "confict", "manipulaton" and "ofer alternatves" in hundreds of places, and one ordinary word had become an offensive one. Every page also carried its old header and footer in the middle of the text. Keep the source and typeset the output. A PDF is a picture of a document; the source is the document.
- Say what it is; let the typesetter decide how it looks: A report built in a word processor had five heading styles that were almost the same, numbering that broke when a section moved, and a contents page updated by hand. Mark up meaning, not appearance. \section is a promise that the heading, its number and its contents entry will always agree.
- Maths is a language, not a picture: A student pasted equations as screenshots: blurry when printed, impossible to search, and wrong in a copy nobody could edit. Write maths as maths. $...$ inside a sentence, an equation environment when it deserves its own line and a number.
- Tables people can read: A results table had lines around every cell. Readers kept losing their place and the numbers looked crowded. Use booktabs: \toprule, \midrule, \bottomrule, no vertical lines, numbers right-aligned.
- Fonts without surprises: A template worked on one machine and failed on the compiler with "The font TeX Gyre Pagella cannot be found". Another failed with "lmroman12-bold not loadable" — but only for bold headings in 11-point documents. Name fonts by file, and prove every template in the environment that will actually compile it.
- Reading TeX's errors without fear: A new writer saw forty lines of log with exclamation marks and gave up on LaTeX entirely. Read the first error, go to its line, and fix only that. Then compile again.
- Compiling someone else's TeX safely: A web page that compiles visitors' LaTeX on your own machine sounds harmless — it is only documents. Treat every document as hostile. Give the compiler no network, a read-only package cache, one writable folder, no shell escape, a time limit — and prove each attack fails.
- Letting an AI write TeX — with the compiler as judge: An AI "fixed" a document and replied with a friendly paragraph, half a document and a markdown fence, and the next compile failed worse. Ask for one complete document, accept nothing else, let the compiler be the judge, and keep an undo.
Every course