What is LaTeX? A Complete Introduction

LaTeX is the professional standard for typesetting complex documents. Used by millions of researchers, students, and engineers worldwide, it produces output that word processors simply cannot match.

The Basics: What LaTeX Actually Is

LaTeX (pronounced lah-tech or lay-tech) is a document preparation system built on top of TeX, a typesetting engine created by computer scientist Donald Knuth in 1978. While TeX provides the raw typesetting machinery, LaTeX wraps it in a set of high-level commands and document structures that make it practical for everyday use.

Unlike Microsoft Word or Google Docs — which are WYSIWYG (What You See Is What You Get) editors — LaTeX is a markup language. You write plain text mixed with commands that describe the logical structure and formatting of your document. When you compile the source file, LaTeX converts it into a perfectly typeset PDF.

Think of it this way: in Word, you select text and click the Bold button to make it bold. In LaTeX, you write \textbf{your text} and LaTeX handles the rest, consistently, across the entire document.

A Brief History

Donald Knuth created TeX between 1977 and 1989 after being frustrated with the poor typesetting quality of the second volume of his landmark series The Art of Computer Programming. He wanted mathematical typesetting to look as good as the books he grew up reading — hand-set in traditional metal type.

In 1984, Leslie Lamport built LaTeX on top of TeX to make it more accessible. Lamport's additions introduced the concept of logical document markup — instead of specifying exactly how each element should look, you declare what it is (a section, a theorem, a figure caption), and LaTeX handles the visual rendering based on a document class.

LaTeX2e, released in 1994, is still the standard version in use today. Despite being decades old, it remains the undisputed standard in academic publishing, scientific research, and technical documentation.

How LaTeX Works

A LaTeX workflow has three stages:

  1. 1
    Write the source file

    You write a .tex file containing your text and LaTeX commands. This is a plain text file — you can edit it in any text editor.

  2. 2
    Compile

    You run a compiler (pdflatex, xelatex, or lualatex) which reads the source file, processes all commands, resolves cross-references, and generates a PDF output.

  3. 3
    View the output

    The resulting PDF is a publication-quality document with correct fonts, spacing, page layout, numbering, and bibliography — rendered identically on every device.

A minimal LaTeX source file

\documentclass{article}
\begin{document}

Hello, world!

\end{document}

This four-line file produces a complete, properly formatted PDF with standard margins, font, and page layout — all chosen automatically by the article document class.

Where LaTeX Is Used

LaTeX dominates anywhere that precision, consistency, and mathematical notation matter:

Academic research

Nearly every major journal in mathematics, physics, computer science, and engineering requires or strongly prefers LaTeX submissions. arXiv — the world's largest preprint server — hosts millions of LaTeX documents.

Theses and dissertations

Universities worldwide provide official LaTeX templates for student theses. A 200-page thesis compiled in LaTeX maintains consistent formatting and automatically updates all cross-references and the table of contents.

Technical documentation

Software projects, hardware manuals, and engineering specifications benefit from LaTeX's precise control over multi-column layouts, code listings, diagrams, and consistent heading styles.

Books and textbooks

Many technical books — including programming language specifications and mathematics textbooks — are typeset in LaTeX because of its superior handling of formulas, figures, and indexing.

Key Strengths of LaTeX

  • Mathematical typesetting that looks like a real textbook — not an equation editor workaround
  • Automatic numbering of sections, figures, tables, equations, and citations
  • Bibliography management via BibTeX or BibLaTeX — cite a key, LaTeX formats the reference list
  • Consistent formatting across an entire document, regardless of length
  • Plain text source files that work with Git version control and diff tools
  • Separation of content and presentation — change the entire document style by switching the document class
  • Free and open source — no licensing cost, no subscription, no vendor lock-in

Common Misconceptions

"LaTeX is only for mathematicians"

LaTeX is excellent for any structured document — resumes, legal contracts, business reports, presentations. The math support is a bonus, not a requirement.

"You need to install software"

Cloud LaTeX editors like Skozin let you write and compile entirely in your browser. Nothing to install, no configuration needed.

"LaTeX has a steep learning curve"

Basic LaTeX — paragraphs, sections, lists, bold/italic — takes about 30 minutes to learn. The advanced features are available when you need them, not forced on you upfront.

"LaTeX output looks old-fashioned"

Default LaTeX output does look dated. But with packages like fontspec, microtype, and modern document classes like KOMA-Script, LaTeX can produce remarkably modern, beautiful typography.

Ready to try LaTeX?

No installation needed — write and compile LaTeX directly in your browser.

Open Free Editor

Continue Learning