Hi,
I'm writing a dissertation where I'm using \hyperref command. However, because of this, if my chapter or section title becomes long enough, it does not break into a newline in the Table of contents and hence it crosses the margin.
How can I fix this? I cannot break manually since the Table of contents is generated automatically when I use \tableofcontents command.
Thanks.
Page Layout ⇒ hyperref | ToC Entries exceeding Margin
hyperref | ToC Entries exceeding Margin
Last edited by hbaromega on Thu Nov 24, 2011 7:31 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
hyperref | ToC Entries exceeding Margin
Add the breaklinks option to the options for hyperref.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10