The TeXbook

Donald E. Knuth. The TeXbook. Addison-Wesley, 1986.