Page Layout ⇒ hyperref | ToC Entries exceeding Margin
hyperref | ToC Entries exceeding Margin
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
hyperref | ToC Entries exceeding Margin
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10