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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.