I am trying to modify my ToC to add a dot after the number in the part section (and only in ToC, I don't want to modify \thechapter command.

I did that for the chapter using this code:

\titlecontents{chapter}% <section-type>
  {\chaptername\ \thecontentslabel. \ }

But the \thecontentslabel doesn't work for the part:

    { }
    {\thecontentslabel . }

I have my dot before the number... . I Name How to add if after?

Your Answer

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

Browse other questions tagged or ask your own question.