I am changing style for my chapter and in turn it is affecting the Table of Contents title.

This is my table of contents page:

enter image description here

and this is my chapter page:

enter image description here

This is the code snippet:



{.\\ \Huge\bfseries}
  • 1
    Okay... so what do you want the format of the ToC chapter to look like then? – Werner Oct 25 '16 at 6:28
  • Same as the default .. – Arun Pottekat Oct 25 '16 at 6:53
  • Then move the titleformat and titlespacing commands to after the ToC... – Werner Oct 25 '16 at 6:55

\titleformat updates how the \chapter is set at the time you call it. So, if you want to delay the chapter formatting, just delay the call to \titleformat:

% ...
% ...

\chapter{A chapter}% Default formatting for \chapter

% ...

\titleformat{\chapter}% ...

\chapter{Another chapter}% New/updated formatting for \chapter

% ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.