Document ClassesSpacing in ToC

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
alibabazzz
Posts: 1
Joined: Sat Aug 20, 2011 7:56 pm

Spacing in ToC

Post by alibabazzz »

The latex2e style file I am using has redefined \listoftables as:

Code: Select all

\def\listoftables{%%%
    \newpage\pagestyle{plain}\pagenumbering{roman}
    \setcounter{page}{\value{@ldpage}}
    \doublesp@cing
    \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi
    \vspace*{53pt}\centerline{\Large\bf\listtablename}
    \addcontentsline{toc}{chapter}{\listtablename}
    \vskip 46pt
    \@starttoc{lot}
    \if@restonecol\twocolumn\fi
    \newpage\setcounter{@ldpage}{\value{page}}
       \addtocontents{lof}{\setstretch{1.25}}
    \pagestyle{headings}\pagenumbering{arabic}
    \normalsp@cing
    }%%%
The output has single-space between items in the same chapter. How can I make it such that items in the same chapter has double spacing? The main text of my paper has double spacing.

Thanks!
Last edited by Stefan Kottwitz on Sat Aug 20, 2011 9:59 pm, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply