2
votes
1answer
116 views

Moving the page number in a table of contents to the left of the titles with tocloft

I would like to move the page number from the right-hand side of a table of contents to the left, using tocloft. The page number should still be right-aligned. The question has already been answered ...
3
votes
1answer
138 views

To fix alignment in text added to Table of Contents?

My school requires tables of contents formatted like this -- please note the little headings, in red: I have it almost ready, except for a pesky misalignment in the second page of the table of ...
7
votes
1answer
553 views

How do I center the table of contents title using tocloft?

I'm getting odd behavior using package tocloft to format my table of contents and center the titles "Contents", "List of Figures", and "List of Tables". Using the code suggested in the tocloft ...
3
votes
1answer
391 views

Dotted line in ToC despite \cftsetpnumwidth

Using the package tocloft I have a problem with the dotted line in my ToC. For I'm using roman page numbering I have numbers of about XXVIII or something like that which is too wide for the obviously ...
3
votes
1answer
370 views

Changing the table of contents width

In setting up a table of contents, by default the TOC spans the entire width of the page, regardless of the length of the section titles. I would like to have the entire TOC be only as wide as it ...
2
votes
0answers
28 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
0
votes
1answer
379 views

Center Contents heading in tocloft v2.3f

In the past, I believe this technique was used to center the Contents heading in the table of contents via tocloft: \documentclass{report} \usepackage{tocloft} \renewcommand{\cfttoctitlefont}{\hfill ...
5
votes
1answer
675 views

Center parts in toc with tocloft

I'm trying to create a toc in a large Latex document which uses the KOMA script. In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a ...
2
votes
1answer
416 views

Justification of captions in List of Figures when using endfloat package

I am using the endfloat package to place floats on separate pages at the end of the document, and using the caption package for control of caption formatting, but I cannot figure out how to change the ...
3
votes
1answer
473 views

How to make multiple lines in ToC horizontally align?

For single line, the content aligned nicely, but that's not the case when the it contains multiple lines. The alignment is odd: So how can I make them align nicely? Mimimum Example ...
2
votes
1answer
854 views

Why does \setlength using tocloft causes strange alignment in TOC?

The problem I'm having is to align the number and text in the TOC. I searched and found one solution is to use package tocloft, like proposed in TOC Text - numbers alignment. Then I tried to apply it ...
1
vote
1answer
647 views

How to make the subsection number and the section title share the same vertical alignment in ToC?

Background The following screenshot shows "the left part of section title" and "the left part of subsection number" have different vertical alignment lines. For 12pt option passed to \documentclass, ...