How to write a report in LaTeX

Start the file with \documentclass{report}, set\title, \author and \date, then call \maketitle and \tableofcontents and write the body in \chapter and \section. The report class gives the title its own page and starts each chapter on a new page. Compile twice so the table of contents fills in.

report.tex
\documentclass[12pt,a4paper]{report}
\title{Annual Report}
\author{Jane Doe}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\chapter{Introduction}
This report covers the work done this year.
\section{Background}
Some background.
\chapter{Results}
What we found.
\end{document}

12pt sets the body font size (10pt, 11pt and 12pt are available) and a4paper the paper; useletterpaper in the US. The first compile writes the headings to a .toc file and the second prints them.

Report, article or book?

ClassUse for
reportLong reports and theses: has \chapter, a separate title page and an abstract page.
articleShort reports, lab reports and papers: no chapters, title at the top of page 1.
bookTwo-sided books: chapters open on right-hand pages.
scrreprtKOMA-Script's report class: the same commands, with more layout options. See theKOMA-Script Report template.

The other parts of a report

parts.tex
\documentclass{report}
\begin{document}
\begin{abstract}
One paragraph summarising the report.
\end{abstract}
\tableofcontents
\listoffigures
\listoftables
\chapter{Introduction}
Text.
\appendix
\chapter{Raw data}
Tables.
\end{document}

Report templates

A template saves setting up the title page, headers and layout:

Related

New to LaTeX? Start withLaTeX for beginners. Equations and lists are covered inaligning equations andLaTeX lists.

Report templatesLaTeX cover page