10 Title Page

Apart from the document class, the preamble allows you to specify other document details, such as the author, date and title among others. These can later appear in the title page if you decide to put it in the document. Similarly to table of contents, the title will appear wherever you decide to place its markup tag, regardless of the location in the document.

\documentclass{article}

\title{Sample LaTeX document}

\date{20 April 2019}
\author{John Doe \\  
Department of Politics and International Studies \\ 
University of Warwick}


\begin{document}
\maketitle
\end{document}