Document ClassesHow to remove dotted lines in table of contents?

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
huddiex
Posts: 5
Joined: Tue Mar 09, 2010 4:33 pm

How to remove dotted lines in table of contents?

Post by huddiex »

Hello everybody!
can anyone tell me how to remove dotted lines in the Table of Contents?
Here's the preview.
TOC
TOC
mytoc.JPG (48.61 KiB) Viewed 10258 times
Last edited by huddiex on Wed Mar 10, 2010 11:38 am, 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.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to remove dotted lines in table of contents?

Post by localghost »

Please upload attachments to the forum server (see Board Rules). External links can get lost with time and later make a problem incomprehensible.

You have to modify the \@dotsep register. The lines below go into the preamble.

Code: Select all

\makeatletter
\renewcommand\@dotsep{140}   % default value 4.5
\makeatother
If necessary, set the register to a higher value.


Best regards and welcome to the board
Thorsten
huddiex
Posts: 5
Joined: Tue Mar 09, 2010 4:33 pm

Re: How to remove dotted lines in table of contents?

Post by huddiex »

Thanks a lot Thorsten, its really works!
Cheers :)
jackin836
Posts: 1
Joined: Wed Dec 08, 2010 6:40 am

Re: How to remove dotted lines in table of contents?

Post by jackin836 »

Dear Thorsten,
It worked like a charm. Thank you so much. Your post helped me a lot !!

-jackin
Post Reply