% !TEX root = ../manual.tex
% !TEX program = xelatexmk
% !TEX spellcheck = en_GB

\section{Title}
By default, the |article|, |report| and |book| document classes come with a way to add a title. For this, you first need to define the author and title:

\begin{lstlisting}
% In your preamble
\author{Me!}
\title{A document}
% \date is optional
% It's the current date (\today) by default
\date{2015-3-21}
\end{lstlisting}

Afterwards, you can add the following inside your document.
\begin{lstlisting}
\maketitle
\end{lstlisting}
When you add the |titlepage| option to your document class, the title will have it's own page (like this document).

