Peter Baumgartner <peter.baumgartner <at> donau-uni.ac.at> writes:

In the meanwhile I found the solution in an German TeX forum. 
<http://mrunix.de/forums/showthread.php?t=65804>
I will share it here if someone else has the same problem:

The tight option of the package shorttoc does not work if \parskip is set. 

There are several option to solve the problem:
1.) use the package tocstyle from the KOMA-Script package
\usepackage{tocstyle}
...

\cleardoublepage
\addchap*{Table of Contents (Summary)}
\showtoc [\value {tocdepth}=0]{toc} %adapt this value to your needs

be aware that tocstyle is still experimental (alpha version).

2.) Without tocstyle: Generate once a .toc file with \tableofcontents{} and than
put the following code into your page where the short version of your table of
contents should appear:

\cleardoublepage
\addchap{Table of Contents (Summary)}
\begingroup   
\makeatletter
\...@tocdepth=0 %adapt this value to your needs
\setlength{\parskip}...@}%
    \setlength{\parindent}...@}%
    \setlength{\parfillskip}...@\@plus 1fil}%
    \csname tocbasic@@bef...@hook\endcsname
    \csname t...@toc@bef...@hook\endcsname
    \input{\jobname.toc}%
    \csname t...@toc@af...@hook\endcsname
    \csname tocbasic@@af...@hook\endcsname
\endgroup 

3.) I used the occurrence of this problem to learn more about typographical
reasons why paragraph indentation is much better than separation. So I could
stick with shorttoc ...


Reply via email to