LATEX, designed by Leslie Lamport, is a document preparation system based on the TEX typesetting system developed by Donald Knuth.