I use
book
or report
document class, and I need no page number on the first page of the ToC, while keep page numbers (or column titles via \pagestyle{myheadings}
), on the top of page, in the other pages of Contents.For instance, if I simply declare global
\pagestyle{empty}
, I need to remove page number from the bottom of first page of ToC.Code: Select all
\documentclass{book}
\pagestyle{empty}
\begin{document}
The Title \newpage
\thispagestyle{empty} \tableofcontents
\chapter{chapter1}\thispagestyle{empty}
\chapter{chapter2}\thispagestyle{empty}
\chapter{chapter3}\thispagestyle{empty}
\chapter{chapter4}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\chapter{This is a chapter}\thispagestyle{empty}
\end{document}
\thispagestyle{empty}
before \tableofcontents
does not affect on it due to \tableofcontents
is taken from another file.Could anybody give an advise?