This reference covers LaTeX document classes, their options, and when to use each one. Document classes define the overall structure and formatting of your document.

Quick start: The document class is the first line of every LaTeX document: \documentclass[options]{class}. Choose the class that best matches your document type.

Standard Document Classes

article

For short documents without chapters.

\documentclass[options]{article}

% Best for:
% - Research papers
% - Journal articles
% - Reports (short)
% - Homework assignments
% - Essays

% Structure hierarchy:
% \section{}
% \subsection{}
% \subsubsection{}
% \paragraph{}
% \subparagraph{}

\begin{document}
\title{Article Title}
\author{Author Name}
\date{\today}
\maketitle

\begin{abstract}
Abstract content for articles.
\end{abstract}

\section{Introduction}
Article content starts here.

\section{Main Content}
More sections as needed.

\section{Conclusion}
Final thoughts.

\end{document}

Article Features:

  • No \chapter command
  • Abstract environment available
  • Compact formatting
  • Good for papers under 20-30 pages

report

For longer documents with chapters.

\documentclass[options]{report}

% Best for:
% - Technical reports
% - Theses (shorter)
% - Project documentation
% - Lab reports
% - User manuals

% Structure hierarchy:
% \chapter{}
% \section{}
% \subsection{}
% \subsubsection{}
% \paragraph{}
% \subparagraph{}

\begin{document}
\title{Report Title}
\author{Author Name}
\date{\today}
\maketitle

\begin{abstract}
Abstract for reports.
\end{abstract}

\tableofcontents

\chapter{Introduction}
First chapter content.

\chapter{Methodology}
Second chapter content.

\chapter{Results}
Third chapter content.

\chapter{Conclusion}
Final chapter content.

\end{document}

Report Features:

  • \chapter command available
  • Abstract environment included
  • Separate title page by default
  • Good for documents 20-100 pages

book

For books and very long documents.

\documentclass[options]{book}

% Best for:
% - Books
% - Long theses/dissertations
% - Textbooks
% - Multi-volume works
% - Complex documents

% Structure hierarchy:
% \part{}
% \chapter{}
% \section{}
% \subsection{}
% \subsubsection{}
% \paragraph{}
% \subparagraph{}

\begin{document}

\frontmatter  % Roman page numbers, no chapter numbers
\title{Book Title}
\author{Author Name}
\date{\today}
\maketitle

\tableofcontents
\listoffigures
\listoftables

\mainmatter   % Arabic page numbers, normal numbering
\part{First Part}

\chapter{Introduction}
Chapter content begins here.

\chapter{Background}
More content here.

\backmatter   % No chapter numbers
\appendix
\chapter{Additional Information}

\bibliographystyle{plain}
\bibliography{references}

\end{document}

Book Features:

  • Two-sided layout by default
  • Front matter, main matter, back matter
  • Parts and chapters available
  • Best for 100+ page documents

beamer

For presentations and slides.

\documentclass[options]{beamer}

% Best for:
% - Conference presentations
% - Lecture slides
% - Academic talks
% - Business presentations

% Slide structure:
% \frame{} or \begin{frame}...\end{frame}
% \section{} for navigation
% \subsection{} for organization

\usetheme{Warsaw}  % Choose theme
\usecolortheme{dolphin}  % Choose colors

\title{Presentation Title}
\author{Author Name}
\institute{Institution}
\date{\today}

\begin{document}

\frame{\titlepage}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\section{Introduction}
\begin{frame}
\frametitle{Introduction}
\begin{itemize}
  \item First point
  \item Second point
  \item<2-> This appears on second click
\end{itemize}
\end{frame}

\section{Main Content}
\begin{frame}
\frametitle{Main Points}
Content of the slide here.
\end{frame}

\end{document}

Beamer Features:

  • Built-in themes and color schemes
  • Overlay specifications for animations
  • Navigation aids
  • PDF presentation format

letter

For correspondence.

\documentclass[options]{letter}

% Best for:
% - Business letters
% - Formal correspondence
% - Cover letters
% - Official documents

\usepackage[utf8]{inputenc}

\signature{Your Name}
\address{Your Address\\City, State ZIP}

\begin{document}

\begin{letter}{Recipient Name\\Recipient Address\\City, State ZIP}

\opening{Dear Sir or Madam,}

Body of the letter goes here. Multiple paragraphs
are separated by blank lines.

This is the second paragraph of the letter.

\closing{Sincerely,}

\ps{P.S. Additional note here.}

\encl{Enclosure list}

\end{letter}
\end{document}

Letter Features:

  • Automatic formatting for addresses
  • Date insertion
  • Signature placement
  • Standard letter conventions

Document Class Options

Font Size Options

% Available font sizes
\documentclass[10pt]{article}  % 10pt (default)
\documentclass[11pt]{article}  % 11pt
\documentclass[12pt]{article}  % 12pt

% Font size affects:
% - Body text size
% - Section heading sizes
% - Math formula sizes
% - Footnote sizes

Paper Size Options

% US paper sizes
\documentclass[letterpaper]{article}  % 8.5 × 11 inches (default)
\documentclass[legalpaper]{article}   % 8.5 × 14 inches
\documentclass[executivepaper]{article} % 7.25 × 10.5 inches

% International paper sizes
\documentclass[a4paper]{article}      % 210 × 297 mm
\documentclass[a5paper]{article}      % 148 × 210 mm
\documentclass[b5paper]{article}      % 176 × 250 mm

% Custom paper size (with geometry package)
\usepackage[paperwidth=8in,paperheight=10in]{geometry}

Layout Options

% Page orientation
\documentclass[landscape]{article}    % Landscape orientation
\documentclass[portrait]{article}     % Portrait (default)

% Columns
\documentclass[onecolumn]{article}    % Single column (default)
\documentclass[twocolumn]{article}    % Two columns

% Sides
\documentclass[oneside]{article}      % Single-sided (default for article)
\documentclass[twoside]{book}         % Double-sided (default for book)

% Draft mode
\documentclass[draft]{article}        % Shows overfull boxes, faster compilation
\documentclass[final]{article}        % Final mode (default)

Title Page Options

% Title page behavior
\documentclass[titlepage]{article}    % Separate title page
\documentclass[notitlepage]{report}   % Title on first page

% Abstract behavior (for article)
\documentclass[onecolumn]{article}    % Abstract spans full width
\documentclass[twocolumn]{article}    % Abstract spans both columns

Equation Options

% Equation numbering
\documentclass[leqno]{article}        % Equation numbers on left
\documentclass[reqno]{article}        % Equation numbers on right (default)

% Equation formatting
\documentclass[fleqn]{article}        % Left-aligned equations
% Default: centered equations

Bibliography Options

% Bibliography formatting
\documentclass[openbib]{article}      % Open bibliography format
% Default: closed bibliography format

Custom Document Classes

Creating Custom Classes

% File: myclass.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myclass}[2024/01/01 My Custom Class]

% Based on article class
\LoadClass[11pt,a4paper]{article}

% Required packages
\RequirePackage{geometry}
\RequirePackage{fancyhdr}
\RequirePackage{graphicx}

% Page layout
\geometry{margin=1in}

% Custom commands
\newcommand{\institution}[1]{\def\@institution{#1}}
\newcommand{\course}[1]{\def\@course{#1}}

% Custom title format
\renewcommand{\maketitle}{
  \begin{center}
    {\LARGE\bfseries\@title}\\[1em]
    {\large\@author}\\
    {\large\@institution}\\
    {\large\@course}\\
    {\large\@date}
  \end{center}
}

Academic Document Classes

Thesis Classes

% University-specific thesis classes
\documentclass{phdthesis}     % PhD thesis
\documentclass{msthesis}      % Master's thesis
\documentclass{ucthesis}      % UC system thesis

% Generic thesis classes
\documentclass[thesis]{memoir}
\documentclass{scrbook}       % KOMA-Script book class

% Configuration example
\documentclass[12pt,oneside,openright]{report}
\usepackage[margin=1.5in,left=2in]{geometry}
\usepackage{setspace}
\doublespacing

Journal Classes

% IEEE papers
\documentclass{IEEEtran}

% ACM papers
\documentclass{acmart}

% Springer papers
\documentclass{llncs}         % Lecture Notes in Computer Science
\documentclass{svjour3}       % Springer journals

% Elsevier papers
\documentclass{elsarticle}

% AMS papers
\documentclass{amsart}

KOMA-Script Classes

Alternative to standard classes with enhanced features:

% KOMA-Script equivalents
\documentclass{scrartcl}      % Instead of article
\documentclass{scrreprt}      % Instead of report
\documentclass{scrbook}       % Instead of book
\documentclass{scrlttr2}      % Instead of letter

% Enhanced features
\documentclass[
  fontsize=11pt,
  paper=a4,
  twoside=false,
  titlepage=false,
  headings=small
]{scrartcl}

% KOMA options
\KOMAoptions{
  DIV=12,                     % Text area calculation
  BCOR=8mm,                   % Binding correction
  headinclude=true,           % Include header in text area
  footinclude=false           % Exclude footer from text area
}

Memoir Class

Highly customizable class for books and articles:

\documentclass[11pt,a4paper,oneside]{memoir}

% Page layout
\settrimmedsize{297mm}{210mm}{*}  % A4 paper
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{634pt}{448.13pt}{*}
\setulmargins{4cm}{*}{*}
\setlrmargins{2.5cm}{*}{*}
\checkandfixthelayout

% Chapter styles
\chapterstyle{veelo}          % Pre-defined style
% or create custom style
\makechapterstyle{custom}{
  \renewcommand{\chapternamenum}{}
  \renewcommand{\printchaptername}{}
  \renewcommand{\printchapternum}{\chapnumfont\thechapter\space}
  \renewcommand{\afterchapternum}{}
}

Document Class Comparison

When to Use Each Class

Best for:

  • Research papers (5-30 pages)
  • Journal submissions
  • Conference papers
  • Technical reports
  • Essays and assignments

Features:

  • No chapters
  • Compact layout
  • Abstract support
  • Bibliography integration

Best Practices

Document class selection tips:

  1. Start with standard classes - They’re well-tested and widely supported
  2. Consider document length - Article for short, report for medium, book for long
  3. Check submission requirements - Journals often require specific classes
  4. Use options wisely - Don’t override default typography without good reason
  5. Test compilation early - Ensure your chosen class works with your packages
  6. Read class documentation - Each class has specific features and commands

Quick Reference

Standard Classes Summary

ClassPurposeLengthChaptersDefault Layout
articlePapers, reportsShortNoOne-sided
reportTechnical reportsMediumYesOne-sided
bookBooks, thesesLongYesTwo-sided
beamerPresentationsN/ANoSlides
letterCorrespondenceShortNoLetter format

Common Options Summary

OptionEffectClasses
10pt, 11pt, 12ptFont sizeAll
a4paper, letterpaperPaper sizeAll (except beamer)
oneside, twosidePage layoutAll (except beamer)
onecolumn, twocolumnColumn layoutarticle, report
titlepage, notitlepageTitle pagearticle, report
draft, finalDraft modeAll

Next: Learn about LaTeX Packages to extend document functionality, or explore Document Structure for hands-on examples.