General\tableofcontents subsection numbers running up against text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Michael_590
Posts: 51
Joined: Wed Aug 06, 2014 6:59 pm

\tableofcontents subsection numbers running up against text

Post by Michael_590 »

If I have many subsections the last number of the subsection runs into the subsection title.

E.G.: The below "9" and "B" partially overlap in the output from the table of contents:

16.21.5.19Base Class

Thank you,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

\tableofcontents subsection numbers running up against text

Post by Johannes_B »

We had this a few days ago.

To sum it up: use package tocstyle.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply