Create a title page in LaTeX (maketitle, titlepage)
Set \title, \author and \date, then write \maketitle after \begin{document}. For a layout of your own, use the titlepage environment and place every line yourself.
Title, author and date
\and separates several authors, and \thanks{...} adds a footnote, for example with an affiliation. Without \date LaTeX prints the date of the compilation; \date{} leaves the date out.
\title{Measuring Wind Speed with Ultrasound}
\author{Anna Schmidt\thanks{Department of Physics} \and Ben Weber}
\date{March 2025}
\maketitleThe title on a page of its own
In article the title stands at the top of the first page. The class option titlepage moves it to a separate page; report and book do that by default.
Complete document:
\documentclass[titlepage]{article}
\title{Measuring Wind Speed with Ultrasound}
\author{Anna Schmidt}
\begin{document}
\maketitle
\section{Introduction}
The text starts on the second page.
\end{document}A title page of your own
The titlepage environment gives you an empty page without a page number. End each line with \par, set the gaps with \vspace, and let \vfill push the last lines to the bottom of the page.
Complete document:
\documentclass[a4paper]{article}
\usepackage{graphicx}
\begin{document}
\begin{titlepage}
\centering
\includegraphics[width=4cm]{logo.png}\par
\vspace{2cm}
{\Large Master's Thesis\par}
\vspace{1cm}
{\Huge\bfseries Measuring Wind Speed with Ultrasound\par}
\vspace{2cm}
{\Large Anna Schmidt\par}
\vfill
Supervisor: Prof.\ Ben Weber\par
\vspace{1cm}
{\large March 2025\par}
\end{titlepage}
\section{Introduction}
Text of the first section.
\end{document}More fields with KOMA-Script
The KOMA-Script classes add \titlehead (a line at the top), \subject (the kind of document), \subtitle and \publishers (a line at the bottom) to \maketitle. titlepage=true puts all of it on a separate page.
Complete document:
\documentclass[titlepage=true]{scrartcl}
\begin{document}
\titlehead{Department of Physics}
\subject{Master's Thesis}
\title{Measuring Wind Speed with Ultrasound}
\subtitle{A Comparison of Two Sensors}
\author{Anna Schmidt}
\date{March 2025}
\publishers{Supervisor: Prof.\ Ben Weber}
\maketitle
\section{Introduction}
Text of the first section.
\end{document}Pitfalls
\maketitlewithout\titlestops with the error "No \title given", see No \title given.\title,\authorand\dateonly store their text. Nothing is printed until\maketitle.- The page after a
titlepageenvironment has the number 1 again. Withhyperrefthat gives two pages with the same link target, see destination with the same identifier (name{page.1}) has been already used, duplicate ignored.
Compiled with pdfLaTeX from TeX Live 2023.
Related pages
- Error No \title given
- How-to Write an abstract in LaTeX
- How-to Insert an image in LaTeX
- How-to Page numbers in LaTeX
- How-to Set up a thesis in LaTeX
- Package
graphicx