[table of contents]

5.6 Table of Contents issues

5.6.1 Simplified vs. full contents

The thesis guide suggests that you use a simplified table of contents that lists only chapter levels, but that you are welcome to use a more detailed table of contents if you wish. As with most, if not all of the “design” decisions made by the thesis office, this one makes very little typographic sense, and so I have left the default TOC level to be 1, i.e., chapters and sections will be listed in the TOC. If you wish to use the simplified contents format that just lists chapters, add the following to your preamble:

\setcounter{msutocdepth}{0}

5.6.2 Adding line breaks to TOC entries

If your chapter titles are very long, they sometimes fail to put any leader dots before the page number in the Table of Contents or they hyphenate a word in the title. The thesis office requires a minimum of three dots of leaders for any TOC line, and they don’t seem to like hyphenation inside TOC entries. You can solve both of these problems by putting a line break into the TOC entry title. To do this, use the optional argument of the corresponding \chapter or \section etc. command. Note that the line break needs to be preceded by \protect.

\chapter[Long chapter title that will\protect\\ break at this point] 
        {Long chapter title that will break at this point}