In my thesis work, I need to add zero chapters in table of content like table of content itself with page number, Abstract, acknowledgement, notation and introduction, but by using \tableofcontents I got only the chapters in content list those have chapter numbers. so need suggestions for this issue thanks
Asked
Active
Viewed 129 times
1
1 Answers
1
Unnumbered chapters, sections, and so on, are not included in the toc by default. If you want to add them to toc for a given level, use \addcontentsline{toc}{<level>}{<title>} right after the element where you want it. So, e.g. for a chapter:
% The unnumbered chapter
\chapter*{chaptertitle}
% The command to manually add the content entry in toc
\addcontentsline{toc}{chapter}{chaptertitle}
If you customise the layout of section titles via the titlesec package, this inclusion can be automatic with the numberless key and the explicit option, inserting a similar code in titleformat along this line:
\titleformat{name=\chapter, numberless}{...}{...}{...}{\addcontentsline{toc}{chapter}{#1} ...}
user8395964
- 51
Bernard
- 271,350
\addcontentsline{toc}{chapter}{Acknowledgrment}right after\chapter*{Acknowledgement}, &c. – Bernard Jun 27 '20 at 13:23titlesec. I don't knowmemoirwell enough to know how it can be done, but feel free to add an explanation for memoir users. – Bernard Jun 28 '20 at 19:16