I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my school.
I have been trying with titlesec
but I can't get some details working. Specifically the followings:
-
no bold-face;
-
The line 'CHAPTER Page' has to appear on every page of the ToC. Same with the line 'Figure Page' for the LoF and 'TABLE Page' for the LoT;
-
Single spacing between chapter and its section but double spacing between chapters
-
If the title is more than one line long, it should follow the format in Figure 2.1, i.e there are spaces before 1884
Best Answer
Here's a possible solution.
titletoc
andtocloft
packages to customize the ToC, LoF and LoT titles and entries as required. Firther customization might be required for the titles, but this might depend on the general layout for the chapter titles and this information was not provided in the question.tocbibind
packge was used to automatically include the LoF and the LoT in the table of contents.The
afterpage
package can be used to produce the corresponding headings in every page of the ToC, the LoF and the LoT; since these lists typically span few pages, one can userespectively, in the appropriate locations in the body of the document.
book
document class (instead of usingreport
) to profit from the\frontmatter
,\mainmatter
(and\backmatter
) commands.The code:
An image of the obtained ToC:
an Image of the obtained LoF: