6

Is it possible to create more space before a new section in TOC? I would like more space where the arrows are: enter image description here

I tried using \cftchapafterpnum{\vskip3pt} - but that does not give the effect I'm looking for.

\cftsetindents{subsubsection}{0.7in}{0.5in} %laver subsubsections indtrykket mindre.        
 %\renewcommand\cftchapafterpnum{\vskip3pt}
%\renewcommand\cftsecafterpnum{\vskip5pt}
\singlespacing
\setlength{\cftbeforetoctitleskip}{-1em} 
\addtocontents{toc}{\vskip-15pt}
\tableofcontents{\thispagestyle{empty}}
1
  • Do you want to have this skip for any section?
    – user31729
    Commented Nov 12, 2015 at 17:26

1 Answer 1

9

If the skip should be increased before any \section entry \cftbeforesecskip is the right command to be changed.

Adjust the value to your needs.

\documentclass{book}

\usepackage{tocloft}
\usepackage{blindtext}

\renewcommand{\cftbeforesecskip}{10pt}

\begin{document}
\tableofcontents
\chapter{A chapter}
\section{A section}
\subsection{A subsection}
\addcontentsline{toc}{subsection}{Delklusion}
\section{Another section}
\subsection{Another subsection}
\end{document}

enter image description here

2
  • How to you make so the "delkonklusion" is without spacing before? :) Your setup/layout is exact what i want - but my add spacing before "delkonklusion" as well...
    – LAmtorp
    Commented Nov 18, 2015 at 12:17
  • @LAmtorp: Untested: \addcontentsline{toc}{section}{Delkonklusion} -- give it a try please
    – user31729
    Commented Nov 18, 2015 at 21:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .