\documentclass{article} \usepackage[a4paper]{geometry} \title{ Holding the hinge together for hanging } \author{ Sam Wilson } \date{ 2017 April 30 (Sunday), 1:23PM } \begin{document} \maketitle \tableofcontents \end{document}