I am having trouble formatting the ToC for a book. I have long chapter titles which wrap onto two lines of ToC text. The problem is that the second line of a single chapter title is aligned with the chapter number, but I need it to align with the beginning of the title text on the first line:

enter image description here

I am using the titletoc package.

\usepackage[paperwidth=5in, paperheight=8in, bindingoffset=0.375in, top=0.7in, bottom=0.7in, left=0.5in, right=0.5in]{geometry}
\usepackage {setspace}


\titlecontents{chapter}% <section-type>
  [0pt]% <left>
  {\small}% <above-code>
  {\thecontentslabel . \quad}% <numbered-entry-format>
  {}% <numberless-entry-format>
  {\hfill\contentspage}% <filler-page-format>

%Begin Document


\chapter{Order Of Visualization}

\chapter{How To Attract To Yourself The Things You Desire}


2 Answers 2


Use the argument for the <left> margin in \titleformat:

enter image description here



\titlecontents{chapter}% <section-type>
  [1.5em]% [0pt]% <left>
  {\small}% <above-code>
  {\hspace*{-1.5em}\makebox[1.5em][l]{\thecontentslabel.}}% <numbered-entry-format>
  {}% <numberless-entry-format>
  {\hfill\contentspage}% <filler-page-format>



\chapter{Lorem ipsum dolor sit amet, consectetur adipiscing elit.}

\chapter{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut mattis sapien id purus tincidunt imperdiet.}


You can adjust 1.5em to suit your needs. It's the default used by the book document class.

  • Thank you for your help. It worked well. However, I just saw that some page numbers are not aligned right. Do you know how I could force them to be on the right?
    – Lisa
    Nov 11, 2018 at 0:49
  • @Lisa: You need to be more specific. All the page numbers in a minimal example ToC are right aligned.
    – Werner
    Nov 11, 2018 at 3:11

Here there is a solution to this problem. I tried it on your MWE and it looks like it's working. I hope it solves your problem too.

You must log in to answer this question.

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