- article
- report
- book
- beamer
- Research papers (5-30 pages)
- Journal submissions
- Conference papers
- Technical reports
- Essays and assignments
- No chapters
- Compact layout
- Abstract support
- Bibliography integration
Learn how the LaTeX \documentclass command works, which document class to choose, and which options to use for article, report, book, beamer, and letter.
\documentclass command tells LaTeX what kind of document you are writing. It controls the available structure, the default layout, and options such as font size, paper size, and one-sided or two-sided output.
article for papers and assignments, report for reports and shorter theses, book for books and long dissertations, beamer for slides, and letter for formal letters.Basic syntax:| If you are writing… | Use this class |
|---|---|
| Essay, assignment, journal paper | article |
| Lab report, project report, shorter thesis | report |
| Book, dissertation, long manual | book |
| Slides or a presentation deck | beamer |
| Formal letter | letter |
\documentclass Commandclass is the document class such as article, report, or bookoptions are optional settings such as font size, paper size, or one-sided vs two-sided layout| Class | Best for | Key difference |
|---|---|---|
article | Essays, homework, journal papers | No \chapter command |
report | Technical reports, shorter theses, project docs | Supports chapters |
book | Books, dissertations, long manuals | Adds front matter and two-sided book layout |
beamer | Slides and presentations | Uses frames instead of pages |
letter | Formal letters | Purpose-built letter structure |
\chapter command\chapter command available| Class | Purpose | Length | Chapters | Default Layout |
|---|---|---|---|---|
article | Papers, reports | Short | No | One-sided |
report | Technical reports | Medium | Yes | One-sided |
book | Books, theses | Long | Yes | Two-sided |
beamer | Presentations | N/A | No | Slides |
letter | Correspondence | Short | No | Letter format |
| Option | Effect | Classes |
|---|---|---|
10pt, 11pt, 12pt | Font size | All |
a4paper, letterpaper | Paper size | All (except beamer) |
oneside, twoside | Page layout | All (except beamer) |
onecolumn, twocolumn | Column layout | article, report |
titlepage, notitlepage | Title page | article, report |
draft, final | Draft mode | All |