View on GitHub
Icon for The TeXbook

The TeXbook

A manual for a typesetting system, written by a man who cared about every space in it.


The Book

The TeXbook is Donald Knuth's manual for TeX, published in 1984 and later issued as Volume A of his five-volume Computers and Typesetting (1986), which also includes the complete source of TeX and METAFONT and the programs for Computer Modern.

Character

The book is famous for its wit and its rigor. Passages for advanced readers are marked with "dangerous bend" road signs, double for especially tricky material, and exercises come with full answers. It teaches not only how to use TeX but how TeX thinks: boxes and glue, the stretchable and shrinkable spaces from which every page is assembled, and the badness calculations behind its line breaking (see Justification and Hyphenation).

Why It Matters

The TeXbook documents the system that made beautiful mathematical typesetting available to every scientist, and that remains, through LaTeX, the standard for technical publishing (see Typesetting Math with TeX). Its model of boxes and glue anticipated the layout systems of the web.

Related Knowledge