Entries in my KOMA-script TOC spread too close from the page numbers: enter image description here

One solution is to use a short title and insert in it a line-break, but this is not an acceptable solution.

I am trying to modify the tocrmarge. Here are my attempts, but all compile with errors:

% one and one only of the following

My understanding of LaTeX is not good enough. I need help to write correctly the command please.

EDIT: add a MWE (not so minimal in the preambul)

\documentclass[english,enlargefirstpage, full]{scrbook}

\renewcommand{\sectfont}{\normalfont\bfseries} %\slshape} %\rmfamily}





\title{my book title}
\subtitle{my book subtitle}
\chapter{\emph{chapter 1}}
\chapter{\emph{chapter 2 title is very long and should look uggly}}

And its result (not as uggly as in my real document):

enter image description here

EDIT: Here is the successful build log (in a pastbin, since otherwise I exceed the Stack Exchange 30,000 characters body limit.

  • Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    May 17, 2014 at 9:26
  • I would rather say, that for some reason your entry name is too long. Did you consider a short entry for the toc such as \section[shorttitle]{long title}?
    – user31729
    May 17, 2014 at 9:27
  • No, the title cannot be shorten.
    – lalebarde
    May 17, 2014 at 10:00
  • Your example does not compile
    – user31729
    May 17, 2014 at 18:45
  • I have added the successful build log in the OP. I will try to modify the MWE to be really minimal, hoping it will help. Possibly you don't have the french stuff in your setup ?
    – lalebarde
    May 18, 2014 at 6:37

2 Answers 2


add into the preamble:

\renewcommand*\@pnumwidth{3em}%%%%%%%%%%%%%%%  the width of the page number

enter image description here

Your preamble looks a bit weird ...

  • Thanks Herbert ! For the weirdness of the preambul, I do agree with you. I am considering using texmaker instead of LyX, what will give me full control on things.
    – lalebarde
    May 19, 2014 at 7:18

I have solved this with one of the two following solutions:





You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .