Title page in LaTeX
Updated:
A lab report title page is easiest to lay out by hand in the titlepage environment. You get full control: the university name at the top, the experiment title in the middle, the author and date at the bottom.
\begin{titlepage}
\centering
{\large University of Technology \par}
\vspace{4cm}
{\LARGE\bfseries Measuring the gravitational acceleration \par}
\vspace{1cm}
{\large Lab report, experiment 3 \par}
\vfill
John Smith, group 2\par
\today
\end{titlepage}The \par before the closing brace of the \LARGE group matters: without it the line spacing of a long title is computed for the normal font size and the lines crowd together. \vfill pushes the author and date to the bottom of the page.
Putting a lab report together? In CamteX you draw formulas and tables, then send the finished document to Overleaf or download it as a PDF. Try it free
\includegraphics[width=4cm]{logo.png}\par
\vspace{1cm}The logo is inserted like any image from graphicx, but without a figure environment: on a title page it needs neither a caption nor a number. Put it at the very top, before the university name.
\begin{tabular}{ll}
Instructor: & Dr Jane Doe \\
Date performed: & 12 October 2026 \\
Date submitted: & 19 October 2026
\end{tabular}The instructor, group and dates line up most easily in a table without rules: labels in the left column, values in the right. Place it before \vfill or instead of the single name at the bottom.
\title{Measuring the gravitational acceleration}
\author{John Smith}
\date{\today}
\begin{document}
\maketitle\maketitle sets the title, author and date at the top of the first page. That is enough for a short report, and a separate title page is one class option away: \documentclass[titlepage]{article}.
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[margin=2.5cm]{geometry}
\begin{document}
\begin{titlepage}
\centering
{\large University name\par}
Department of Physics\par
\vspace*{\fill}
{\LARGE\bfseries Measuring the speed of sound\\ with a resonance tube\par}
\vspace{0.8cm}
{\large Lab report, experiment 5\par}
\vspace*{\fill}
\begin{tabular}{rl}
Author: & Alex Taylor \\
Lab partner: & Sam Lee \\
Instructor: & Dr Jane Doe \\
Performed: & 12 October 2026 \\
Submitted: & 19 October 2026 \\
\end{tabular}
\end{titlepage}
\section{Aim}
The aim is to measure the speed of sound in air.
\end{document}A whole file to paste and fill in. The two \vspace*{\fill} share the free space equally, so the title stays in the middle of the page however many lines it takes. In the US, swap a4paper for letterpaper, or the margins are measured on the wrong sheet.
\begin{minipage}[c]{0.25\textwidth}
\includegraphics[width=\linewidth]{logo}
\end{minipage}\hfill
\begin{minipage}[c]{0.70\textwidth}
\raggedleft
{\large University name\par}
School of Engineering\par
\end{minipage}Two minipages with the [c] option line up on their vertical centres, so a square logo and two lines of text sit level. \hfill pushes them to opposite margins. Keep the widths below 1.0 in total, otherwise the second box drops to the next line.
\noindent
\begin{tabularx}{\textwidth}{|X|l|l|}
\hline
Name: Alex Taylor & Group: B3 & Experiment: 5 \\
\hline
Title: Speed of sound in a resonance tube & Date: 12 Oct 2026 & Mark: \\
\hline
\end{tabularx}If your course accepts a header on page one instead of a separate title page, tabularx stretches the X column to fill the line and wraps a long title. Write the month as a word: 12/10/2026 means October in the UK and December in the US.
\pagenumbering{roman}
\begin{titlepage}
Title page content
\end{titlepage}
\tableofcontents
\clearpage
\pagenumbering{arabic}
\section{Introduction}The contents page and abstract are numbered i, ii, and \pagenumbering{arabic} restarts the counter at 1 where the report itself begins. The \clearpage before the switch matters: without it the page with the contents would already get an arabic number.
\title{Speed of sound in a resonance tube}
\author{Alex Taylor}
\date{12 October 2026}
\maketitle
\begin{abstract}
Resonance lengths of 16.2 cm and 49.7 cm at 512 Hz give
$v = 2f(L_2 - L_1) = 343$ m/s.
\end{abstract}In the article class the abstract gets a small centred heading and narrower margins below the title. With \documentclass[titlepage]{article} the title and the abstract each move to a page of their own, which suits longer reports.
\vspace{2cm}
\noindent I confirm that this report is my own work.\par
\vspace{1.5cm}
\noindent
\begin{tabular}{@{}p{5cm}@{\hspace{1cm}}p{4cm}@{}}
\rule{\linewidth}{0.4pt} & \rule{\linewidth}{0.4pt} \\
Signature & Date \\
\end{tabular}Add a statement only if your course asks for one, and copy its wording from the course rules. \rule{\linewidth}{0.4pt} draws a line exactly as wide as its column, and @{} removes the cell padding so the first line starts at the margin.
\usepackage{fancyhdr}
\newcommand{\reporttitle}{Speed of sound in a resonance tube}
\newcommand{\reportauthor}{Alex Taylor}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\reporttitle}
\fancyhead[R]{\reportauthor}
\fancyfoot[C]{\thepage}
\begin{titlepage}
\centering
{\LARGE\bfseries \reporttitle\par}
\vspace{1cm}
\reportauthor
\end{titlepage}Defining the title as a command means one edit changes both the title page and the running header, so a renamed experiment never shows the old name on page 4. The titlepage environment uses the empty page style, so the header starts on the next page.
Writing your thesis in Word? Check the file against your university’s formatting rules: thesis formatting check
Common mistakes and fixes
| Wrong | Right | Why |
|---|---|---|
\begin{titlepage} \vspace{3cm} | \begin{titlepage} \vspace*{3cm} | Vertical space at the top of a page is discarded, so only the starred form moves the first line down. |
Department of Physics & Astronomy | Department of Physics \& Astronomy | A bare & is the table column separator and stops compilation with Misplaced alignment tab character. |
a.taylor_23@uni.edu | \texttt{a.taylor\_23@uni.edu} | An underscore outside math mode gives Missing $ inserted; \_ prints it and \texttt sets the address in a typewriter font. |
\begin{figure} \includegraphics{logo} \end{figure} | \includegraphics[width=4cm]{logo}\par | figure is a float, so LaTeX may carry the logo over to the next page, away from the title. |
- Spacing with empty lines: it does not work. Vertical space comes from \vspace and \vfill.
- A page number on the title page: titlepage hides it, \maketitle in the article class does not.
- \today as the date of the experiment: it prints the compilation date and changes with every revision. Type the date of the lab session by hand.
- A title typed in capitals: keep normal spelling and set the size and weight with \LARGE and \bfseries, which are easier to change later.
See also
- Accented characters in LaTeX
- Bibliography in LaTeX
- Table in LaTeX
- Cross-references in LaTeX
- Figure in LaTeX
- Chemical formulas in LaTeX
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.