On Tuesday 31 August 2010 04:56:51 Peter Baumgartner wrote:
> I would need a short version of the table of contents. With the package
> shorttoc I could generate this condensed version of the table of contents
> but with too much vertical space between the entries. Therefore I added the
> option "tight"
>
> \usepackage[tight]{shorttoc}
>
> But there was no difference in the output. There is one line space between
> every entry of the section level with the effect that even this short toc
> version spans several pages. I can't see any difference between the options
> "loose" or "tight".
>
> Maybe it is important to say that I'm using the KOMA-Script class scrbook.
> I looked into the manuals of both packages but I couldn't find any clue.
>
> Any suggestions what I did wrong?
>
> Peter
I didn't understand exactly what you wanted to do, and I wouldn't even begin
to guess what you did or didn't do wrong, but here's how I tighten up the
table of contents in my layout file:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ### Vertically denser table of contents
\renewcommand\tableofcontents{%
\...@twocolumn
\...@restonecoltrue\onecolumn
\else
\...@restonecolfalse
\fi
\chapter*{\contentsname
\...@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
{
\normalsize\setlength{\parskip}{-6pt}\setstretch{0.9}%
% \normalsize\setlength{\parskip}{-8pt}\setstretch{0.8}%
\...@starttoc{toc}%
}
\...@restonecol\twocolumn\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I'm not smart enough to have written that. I copied the book document class's
implementation of command tableofcontents and simply tweaked its lengths. Note
that the setstretch{} command requires a special package, I think it's the
setspace package.
HTH
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt