LaTeX is a document preparation system that separates document styling from content using markup language. It applies a design principle of separating what changes (content in a .tex file) from what remains the same (styling information in a .cls file). This avoids rework and makes LaTeX suitable for complex, large documents since the focus is on content over formatting. LaTeX results in better typography than other systems, with fewer hyphenations, less variation in word and line spacing, and no overly long lines of text.