5

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}}
  • Do you want to have this skip for any section? – user31729 Nov 12 '15 at 17:26
6

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

  • 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 Nov 18 '15 at 12:17
  • @LAmtorp: Untested: \addcontentsline{toc}{section}{Delkonklusion} -- give it a try please – user31729 Nov 18 '15 at 21:40

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.