Hi guys I am trying to create the from my project report using book document class. I am facing one problem regarding toc. I have 4 pages in toc .but In the second and third page have the header and footer.(1st and 4th page do not have the header and footer) I tried and I search regarding this topic but I didn't get so please help me to remove the header and footer. here i this tried code

%----- Table of content--------------
  • 1
    Could you add a minimal working example in your question so as to understand your issue better?
    – Tanvir
    Jun 10, 2020 at 14:55
  • The answer should give the result you want, but it doesn't say why. Here's why. \tableofcontents doesn't take any arguments, so the table of contents has actually been processed by the time you request \thispagestyle{empty}. So that takes effect only on the last contents page. Jun 10, 2020 at 22:33
  • @barbarabeeton Further, \thispagestyle{...} only applies to the current page. The questioner said that there were 4 pages in the ToC so the \thispagestyle would only effect one of the 4 pages. Jun 11, 2020 at 16:59
  • Thank u guys i found it 😊 Jun 12, 2020 at 4:56

1 Answer 1


Something along the lines:

% reset the pagestyle
  • Thank u guys i found it 😊 Jun 12, 2020 at 4:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .