1

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>
  [0pt]
  {\addvspace{0.7em}}
  {\chaptername\ \thecontentslabel. \ }
  {}
  {\titlerule*[1pc]{.}\contentspage}

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

{\titlecontents{part}
    [0pt]
    {\addvspace{0.7em}\centering\scshape\large}
    { }
    {\thecontentslabel . }
    {}
    [\addvspace{0.3em}]
}

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.