I have quite a long Table of Contents in which I first add the entries for List of Figures, List of Tables, and Abbreviations. However, the entire toc goes over one page. Thus, I would like to reduce the space between the first three entries (lof, lot, abb) to 1 (instead of the 1.5 that I use for the rest of the document/toc. Any idea how to solve this for only these three entries? This is my MWE:

\documentclass[12pt, a4paper]{article}
    {Table of Contents}%

  short = X ,
  long  = {X} ,
  class = abbrev






\section{Section 1}

\section{Section 2}

\section{Section 3}


You can use the \addtocontents{file}{text} macro to put text into the file file. So, at appropriate places use:

\addtocontents{toc}{\linespread{1.0}} % reduce the line spacing
\addtocontents{toc}{\linespread{1.5}} % revert to your original line spacing

I don't know if the \linespread macro is fragile or not. If it is fragile then put \protect in front of it (e.g., \protect\linespread{...}

| improve this answer | |

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.