Graphics, Figures & TablesProblem with table of contents number attached to letter

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Tempacc
Posts: 2
Joined: Thu Feb 28, 2019 2:59 pm

Problem with table of contents number attached to letter

Post by Tempacc »

Post deleted
Last edited by Tempacc on Thu Feb 28, 2019 6:00 pm, edited 2 times in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Problem with table of contents number attached to letter

Post by Stefan Kottwitz »

Welcome to the forum!

You could try:

\usepackage[tocindentauto]{tocstyle}

It adjusts the widths of the sectioning numbers automatically. You need to compile several times though, because at first it produced the table of contents then it adjusts the widths and in the last run it prints it with adjusted label width.

But check if the table of contents still looks ok for you afterwards.

Stefan
LaTeX.org admin
Tempacc
Posts: 2
Joined: Thu Feb 28, 2019 2:59 pm

Problem with table of contents number attached to letter

Post by Tempacc »

Post deleted
Last edited by Tempacc on Thu Feb 28, 2019 6:01 pm, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Problem with table of contents number attached to letter

Post by Stefan Kottwitz »

Try

\usetocstyle{standard}

Stefan
LaTeX.org admin
Post Reply