Page Layoutlistoftable extend dots to page numbers

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
expire7
Posts: 3
Joined: Sun Aug 08, 2010 7:50 am

listoftable extend dots to page numbers

Post by expire7 »

for example, if I used default setting, it will be like this
1.Intro............................... 1

Now, our theis requirement is extending the dot line to page number.
1.Intro.................................1


I checked tocloft file, but I didnot find answer. Can you help me to solve it, please?




Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: listoftable extend dots to page numbers

Post by gmedina »

Hi,

which document class are you using?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
expire7
Posts: 3
Joined: Sun Aug 08, 2010 7:50 am

Re: listoftable extend dots to page numbers

Post by expire7 »

using

\documentclass[12pt,letterpaper]{report}


thank you
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

listoftable extend dots to page numbers

Post by gmedina »

You could try playing with \cftdotsep and \cftsetpnumwidth:

Code: Select all

\documentclass[12pt,letterpaper]{report}
\usepackage{tocloft}

\cftsetpnumwidth{-0.3mm}
\renewcommand\cftdotsep{1}

\begin{document}

\tableofcontents

\section{Introduction}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
expire7
Posts: 3
Joined: Sun Aug 08, 2010 7:50 am

Re: listoftable extend dots to page numbers

Post by expire7 »

thank you, let me try :)
Post Reply