\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ The carpet in Rosie O&#039;Grady&#039;s, Fremantle }

\author{ Sam Wilson }

\date{ 2010 January 4 (Monday), 5:17PM }

\begin{document}
\maketitle
\tableofcontents



\end{document}
