I'm writing a thesis and I'm trying to make the Table of Contents single spaced. This question was asked before and I tried the following solution in my .tex file:


but it didn't work (everything compiles fine but the Table of Contents is still double spaced). I looked into the .cls file I'm using - iitthesis.cls - which prefer not to change; I found this:

% \ssp : single-spacing
% \dsp : double-spacing
% \tsp : triple-spacing
\hfill Page\@starttoc{toc}} 

So, is it the case that \dsp{TABLE OF CONTENTS\\} is overriding \begin{singlespace}? And if yes, how do I solve this? Should I define \tableofcontents in my .tex file as a new command that will override the one in the .cls file?

  • Thanks Jon for you answer. I did what you suggested and found out that it's not even the dsp line. It's actually the \ssp line that determines that space, which means the table of contents should be single-spaced using this class. However, I see it as double-spaced, and when I change \ssp to \dsp it gets even worse, so now I need to figure out why single-space looks like double-space... – user247866 Sep 27 '12 at 3:34
  • @jon Here it is: iit.edu/graduate_college/academic_affairs/pdfs/iitthesis – user247866 Sep 27 '12 at 3:51

I think the problem resides in the definition of \Chapter. (The 'double spacing' is by design.) It seems like a very strange .cls file, and I'm not certain about the precise nature of the problem you are having, but the following might be the fix you are looking for:

  \addtocontents{toc}{\protect%\vspace*{3pt}%  <--- commented out 
     \makebox[0.75in][r]{\thechapter.}\hspace*{3pt} \uppercase{#1}}
  \addtocontents{toc}{\protect%\vspace*{10pt}%  <--- commented out

For what it's worth, this seems like a pretty hacky way to get a chapter command up and running. If it is possible, you may want to consider using a more up to date (and much more flexible) document class --- although this may be out of your control.

  • it didn't fix the problem but thanks for trying! I think you're right, I should use a different document class. – user247866 Sep 30 '12 at 2:05
  • @user247866 -- Well, it is very difficult to fix 'the' problem when you don't post an example for others to use. I think this solution fixes a 'problem' (like I said, the double spacing is by design), but it's hard for me to know whether it is yours.... – jon Sep 30 '12 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.