Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tocloft: How do I single space within entry while double space between entries...

1,583 views
Skip to first unread message

Gary

unread,
Mar 31, 2006, 12:56:18 AM3/31/06
to
I have my whole thesis formatted to the UNC silly rules...Of course
they provide no help with Latex.

Only one problem....

Does anyone know how to get the tocloft package to single space within
an entry (TOC/LOT/LOF) while double spacing between each entry?

Thanks in advance,

Gary


using book.cls

Ulrich Diez

unread,
Mar 30, 2006, 5:15:25 PM3/30/06
to
Gary wrote:

> Does anyone know how to get the tocloft package to single space within
> an entry (TOC/LOT/LOF) while double spacing between each entry?

\baselineskip = distance between base-lines of two lines of text.

tocloft-package:

What about changing \cftparskip?
[\setlength{\cftparskip}{\baselineskip}]

What about changing \cftbeforeXskip?
X \in {part, chap, sec, subsec, subsubsec, para, subpara, fig, subfig, tab, subtab} ?
[\setlength{\cftbeforesecskip}{\baselineskip}]

Ulrich

Gary

unread,
Mar 31, 2006, 3:01:32 PM3/31/06
to
That did the trick!
Thanks,
Gary

For anyone who is interested, I get very nice TOCLOFT with the
following code:
in preamble:
\usepackage{tocloft}

%and then put this where you want the lists

\newpage
%change default system wide spacing from double to single
\begin{spacing}{1}
%get rid of default spacing between chapters and sections %in tocloft
\begingroup
\renewcommand*{\addvspace}[1]{}
%single space within entries and double space between
\setlength{\cftbeforechapskip}{0.2cm}
\setlength{\cftbeforesecskip}{0.15cm}
\setlength{\cftbeforesubsecskip}{0.15cm}
\setlength{\cftbeforefigskip}{0.2cm}
\setlength{\cftbeforetabskip}{0.2cm}
%change default contents name and
%move CONTENTS to 2 in. below top of page
\setlength{\cftbeforetoctitleskip}{53 pt}
\renewcommand\contentsname{CONTENTS}
\tableofcontents
\newpage
%put LIST OF TABLES 1 in. from top of page
\setlength{\cftbeforelottitleskip}{-15 pt}
\renewcommand\listtablename{LIST OF TABLES}
\listoftables
\newpage
%put LIST OF FIGURES 1 in. from top
\setlength{\cftbeforeloftitleskip}{-15 pt}
\renewcommand\listfigurename{LIST OF FIGURES}
\listoffigures
\endgroup
%Go back to double spacining
\end{spacing}
\clearpage
\pagenumbering{arabic}
%%%%%%%%%%%%%%%%%%

0 new messages