From 6540ac1bea0d5b63eb47394c3a6b15536a6fcc66 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 13:02:33 +0100 Subject: hsw.sty: Use singlespacing for table of contents --- hsw.sty | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hsw.sty b/hsw.sty index 266a52b..fa1ea4d 100644 --- a/hsw.sty +++ b/hsw.sty @@ -11,6 +11,13 @@ basicstyle=\singlespacing } +\let\oldtableofcontents\tableofcontents +\def\tableofcontents{ +\begin{singlespacing} + \oldtableofcontents +\end{singlespacing} +} + \def\DBKcover{ \ifthenelse{\equal{\DBKedition}{}}{\def\edhead{}}{\def\edhead{Ed. \DBKedition}} -- cgit