[Tex/LaTex] ToC on the title page in a report

table of contentstitles

I am writing a thesis, and as long as it's a draft, I would like to keep the amount of non-content to a minimum. That said, I would like my title page to be just a heading with the name of the thesis, a short abstract and the ToC.

The ToC itself is problematic for me. Using report, the ToC does reserve a full page for itself, probably given the chapter-style heading. I have tried several packages (like minitoc, titletoc, …) to no avail, I have tried redefining the command, but that only worked in article mode.

So I only need the contents of the ToC, without the heading (or without the heading forcing a new page), to be generated.

Best Answer

Use the internal command \@starttoc{toc} to typeset the contents of the ToC. Additionally, use the notitlepage class option.

\documentclass[notitlepage]{report}

\makeatletter
\newcommand*{\toccontents}{\@starttoc{toc}}
\makeatother

\begin{document}

\author{(Author)}
\title{(Title)}
\maketitle

\toccontents

\chapter{foo}

\end{document}

enter image description here

Related Question