🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #296

Re: Formatting \tableofcontents

#296
From: 48ganelin
Date: Tue, 21 Jul 1992 23:02
34 lines
1310 bytes

>I've got a problem with the formatting of \tableofcontents.
>
>Having a two-digit sectionnumber and a two-digit 
>subsectionnumber the output of these two numbers in
>the table of contents collides with the name of the
>\subsection. There is too less space between number and text.
>
>Question: Is there an easy solution in LaTeX ?

It is the second time for the last month I saw this question? May be it 
should be included to FAQ?

The solution is to modify the lines

\def\l@table\l@figure
\def\l@figure{\dottedtocline{1}{1.5em}{2.3em}}

You may add

\makeatletter
\def\l@table\l@figure
\def\l@figure{\dottedtocline{1}{2.5em}{2.3em}}
\makeatother

at the begining of your file.

Comment:
It looks very strange that being so adjustable,  LaTeX has these parameters
as exact numbers instead of being definitions. You should delve in to find
what to do.

Pavel Ganelin.
Technical Details
Message-ID: <1992Jul21.190205.1@cuavax.dnet.cua.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!news.cua.edu!cuavax.dnet.cua.edu!48ganelin

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!news.cua.edu!cuavax.dnet.cua.edu!48ganelin
From: 48ganelin@cuavax.dnet.cua.edu
Subject: Re: Formatting \tableofcontents
Message-ID: <1992Jul21.190205.1@cuavax.dnet.cua.edu>
Lines: 34
Sender: news@netcon.cua.edu (USENET News System)
Organization: The Catholic University of America
Date: Tue, 21 Jul 1992 23:02:05 GMT