Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using XeLaTeX and memoir to write a longer text with several parts, chapters and sections. When printing the \tableofcontents I get a spacing problem with 2-figure numbers almost overlapping the relevant section name, as per enclosed picture. I am aware that the memoir manual has a section dedicated to this theme, but the most part of it is doubledutch to me. Is there any easy way to avoid this problem?

A partial view of my ToC

share|improve this question
    
related question: (word-overlap-in-toc-with-memoir-class-and-part-subdivision)[tex.stackexchange.com/questions/31294/] –  barbara beeton Jul 9 '12 at 13:39
add comment

1 Answer

up vote 6 down vote accepted

You may want to say something like

\AtBeginDocument{
  \addtolength{\cftsectionnumwidth}{.5em}
  \addtolength{\cftsubsectionnumwidth}{.5em}
}

or even 1em: experiment with the added width. The code should go in the preamble.

The relevant section in the manual is 9.2.2

share|improve this answer
    
Your help was much welcome and very appreciated :)) Thank you! –  Paul Agos Jul 9 '12 at 8:39
    
@PaulAgos Please, read the FAQ particularly about upvoting and accepting answers. Nobody forces you to do it, but it's how contributions are rewarded. –  egreg Jul 9 '12 at 8:45
    
I apologize — didn't know that. I read the FAQ, which is cryptic enough about this subject and I don't know if it possible to vote "a posteriori". Next time I'll be more careful. Thanks again –  Paul Agos Jul 9 '12 at 9:55
    
@PaulAgos You can upvote at any time both questions and answers as soon as your reputation is over 15 (see here). You can and should upvote all answers and questions that you find useful, not only answers to your questions. This helps readers in sorting out what is considered the best answer, for instance. –  egreg Jul 9 '12 at 10:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.