I am trying to customize the table of contents like in figure below. enter image description here

I read the description on the link (Pretty Table of Contents). However, I am getting numerous errors. Preamble of my file looks as follows. I am also not sure where to add the code or modify the code for fancy TOC from above link.





% Adding box to the chapter





\part{Part 1}

\part{Part 2}


I will be really grateful if someone can help me.

Thanks in advance.

  • Your code is incomplete – user31729 Nov 30 '17 at 17:28
  • I have updated whole code now. – pukumarathe Nov 30 '17 at 17:33

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.