I'd like the make the contents and the acknowledgements appear in the table of contents just like the picture below. Can you tell me how ?

Thanks a lot

enter image description here

Here is my MWE:

Some text
  • 2
    Please, add your MWE. – Sebastiano Jan 2 '17 at 17:32
  • \pagenumbering resets the page counter, so you have two pages numbered arabic one (acknowledgements, introduction) and one page numbered roman one (Contents). Probably the easiest way to fix it is to use the book class with \frontmatter and \mainmatter, see e.g. tex.stackexchange.com/questions/154646/… – gernot says Reinstate Monica Jan 2 '17 at 17:57

For the table of contents, use the lines


If your document class starts chapters on the next page (like article and report classes) instead on the next odd page (like book classes or report classes with the twoside option), replace \cleardoublepage by \clearpage.

For the acknowledgements, use

\chapter*{Remerciements (Acknowledgements)}
\addcontentsline{toc}{section}{\numberline{}Remerciements (Acknowledgements)}
  • Thank you this worked fine but those entries are indented in the table of contents. Is there a way to intend them a bit less ? – Alexandre Bohyn Jan 2 '17 at 17:47
  • In your example document the entries are also indented, aligned with the section entries. This is why they are also indented in my answer. If you want to have them flush left, remove \numberline{}. – gernot says Reinstate Monica Jan 2 '17 at 17:50

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.