\documentclass{beginners-guide}
A complete beginner's guide to the document preparation system used by scientists, researchers, and engineers worldwide.
The short answer
LaTeX (pronounced “lah-tech” or “lay-tech”) is a document preparation system that lets you write professional documents using plain text with formatting commands — like writing code, but for documents.
\section{Who Uses LaTeX}
99% of physics and mathematics papers are written in LaTeX. It is the default format for arXiv submissions and most scientific journals.
Theses and dissertations require precise formatting across hundreds of pages. LaTeX handles numbering, cross-references, and bibliography automatically.
Academic publishers use LaTeX for book typesetting and journal production. Most journal templates are distributed as LaTeX document classes.
Technical documentation, engineering reports, and specs benefit from LaTeX's consistent formatting and support for diagrams via TikZ.
\section{LaTeX vs Word}
Five key differences. For a deeper comparison, see the full guide.
| Aspect | LaTeX | Word |
|---|---|---|
| Writing style | Plain text + commands | Visual WYSIWYG editor |
| Math typesetting | Limited | |
| Consistent formatting | Automatic | Manual |
| Version control (Git) | ||
| Learning curve | Steeper | Gentle |
\section{Input vs Output}
You write plain text with commands. LaTeX compiles it into a beautifully formatted PDF.
Source (what you write)
\documentclass{article}
\begin{document}
Hello, \textbf{World}!
$E = mc^2$
\end{document}Output (what you get)
Hello, World!
E = mc²
A professionally typeset PDF — consistent every time.
\section{Why LaTeX}
LaTeX is the only real choice for equations. From inline expressions like $x^2$ to multi-line aligned proofs, the output is publication-quality.
The document looks the same every time, on any machine. No more “it looks different on your computer.” Formatting is defined once, applied everywhere.
LaTeX source is plain text. You can version-control it with Git, diff changes line by line, and collaborate like software engineers.
LaTeX is free. TeX Live and MacTeX distributions are free. The ecosystem of packages on CTAN is free. You pay nothing to use any of it.
Most scientific journals require or prefer LaTeX submissions. Publishers provide official document classes. Submitting in LaTeX is expected in many fields.
A brief history
Donald Knuth created TeX in 1978 to typeset his own book, The Art of Computer Programming, after being dissatisfied with existing typesetting systems. In the 1980s, Leslie Lamport created LaTeX as a higher-level layer on top of TeX, providing document structure commands, cross-referencing, and bibliography management that made TeX accessible to non-experts. LaTeX2e, released in 1994, remains the standard version used today.
\section{Getting Started}
Use the FormaTeX playground. Write LaTeX in your browser and compile to PDF instantly. Free tier, no credit card.
Open playgroundDownload TeX Live for Linux/Windows or MacTeX for macOS. Full offline distribution — around 4 GB but includes every package.
Install VS Code and the LaTeX Workshop extension for a full local editor experience with syntax highlighting, snippets, and build on save.
\section{FAQ}
\end{beginners-guide}
No installation needed. Write and compile your first LaTeX document in under a minute.
One quick thing
We track anonymous usage — page views, feature usage, compilation events — to understand what works and what doesn't. No ads, no personal data, no third-party sharing.