add unnumbered chapters to your table of contents in latex
May 17th, 2007 by Lawrence David
i wanted to give my thesis proposal abstract a listing in the table of contents, but i didn’t want to give it an explicit chapter number. to achieve this, i prefaced by abstract with:
\addcontentsline{toc}{chapter}{\protect\numberline{}Abstract}
\chapter*{Abstract}
my abstract.
Hi!
So what should I do if I want to add an unnumbered conclusion (which is quite logical at the end of my report) ?
Thanks!
hi! past this code on your sheet
\addcontentsline{toc}section}\protect\numberline{}Conclusion}
\section*{Conclusion}
Hi!
I find that pasting \addcontentsline below \chapter*{} gives the correct page number in the table of contents for the book document class.
Thanks a lot =)
Thanks a lot! This is the simplest solution I have found. I am using it like this:
\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}
\chapter*{Main Conclusions}
\addcontentsline{toc}{chapter}{Main Conclusions}
1) Putting `\addcontentsline` after `\chapter*` correct page numbering as @Ayoe mentioned
2) I have removed the left indent