[Tex/LaTex] add space between section and subsection in TOC

spacingtable of contentstocloft

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}}

Best Answer

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