For a \documentclass{report}
, how can I make a long chapter name to wrap onto a second line in TOC ?
For example :
line-breakingtable of contents
For a \documentclass{report}
, how can I make a long chapter name to wrap onto a second line in TOC ?
For example :
Best Answer
Usually line breaks are permitted in the table of contents. Example from Marco Daniel:
Package
hyperref
If you are using package
hyperref
with a driver that does not support broken links across lines, then optionlinktocpage
helps. That allows line breaks in the title and the link is put to the page number instead.Example file:
Other classes packages
My guess with package
hyperref
can be wrong, the screen shot in the question does not show hyper links and the chapter title is set in all uppercase letters, perhaps the questioner is using a special class or package that deals with the table of contents that prevents line breaks.Justification
Or line breaks are permitted and the effect is just an ordinary overfull
\hbox
because TeX cannot find a good break point.