Hi!
Is it possible to tune LaTeX to break automatically long (sub)section titles in the Table of Contents?
Hi!
Is it possible to tune LaTeX to break automatically long (sub)section titles in the Table of Contents?
You can manually set the title that appears in the TOC like this:
\section[Lorem ipsum]{Lorem ipsum dolor sit amet}
That way the "long title" appears on the section itself, and the "short title" appears in the TOC. I haven't tried it, but it might be possible to use the same number of words in the square brackets but insert manual line-breaks with \\
.