I would like to customize the layout of my toc. I want the first page of the toc to look like the other pages (i.e., the header "Contents" shoud be removed, the headline should be like the one on the second page and the toc should start at the top of the page). How can this be done?

MWE:

\documentclass[twoside]{book}
\usepackage{fancyhdr}
\begin{document}
\pagestyle{fancy}
\def\chaptermark#1{\markboth{\footnotesize\thechapter.\ \textsc{#1}}{}}
\tableofcontents
\chapter{Chapter}
\chapter{Chapter}
\end{document}


I suggest you use the tocloft package.

\documentclass[twoside]{book}
%% set parameters of "fancy" page style
\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\footrulewidth}{0pt}

%% tocloft package for easy customization of ToC
\usepackage{tocloft}
\renewcommand\contentsname{}
\tocloftpagestyle{fancy}
\setlength\cftbeforetoctitleskip{0pt}
\setlength\cftaftertoctitleskip{0pt}

\begin{document}
\frontmatter % optional
\tableofcontents

\mainmatter % or: \cleardoublepage

• I had to adjust the values for \cftbeforetoctitleskip and \cftaftertoctitleskip but know it works, thank you – Martin Dec 29 '16 at 10:34
• I choose -30ptfor both. Then the toc starts approximately at the same height as on the subsequent pages – Martin Dec 29 '16 at 10:57