\documentclass[12pt,a4papaer]{article}

  \title{Generating the perfect cube}
  \author{Ger\H{o}fi Bal\'azs, Bal\'azs G\'abor \\
          kedli@inf.elte.hu, bege@inf.elte.hu}

\begin{document}

  \maketitle
  \tableofcontents
  \newpage

\end{document}

