# How to change this specific TOC margin in memoir

How to edit this specific margin in the book I have been editing... The red arrows in the pictures below....because the TOC of this book is kind of long so it goes to the next page, and I believe that the space in the first TOC page could be better used.

I have seen some topic about SIMILAR questions, although they talk about external margins, side margins or space between items... which is not the case.

Is there a way to reduce the red arrow margin?

If necessary, I can add a MWE as well, but I am not using anything different than \tableofcontents* in this page.

The \tableofcontents is set like any other chapter under memoir and uses the chapter-related settings for spacing. Specifically, the \aftertoctitle macro governs what happens after the toc title. The default is to match \afterchaptertitle, so we can update this to suit our needs:

\documentclass{memoir}

\usepackage{blindtext}

\newlength{\aftertocskip}
\setlength{\aftertocskip}{2\baselineskip}% Space after ToC title
\renewcommand{\aftertoctitle}{\par\nobreak\vskip\aftertocskip}

\begin{document}

\tableofcontents*

\blinddocument

\end{document}

• Is there a way to reduce this distance between title and text in ONE specific chapter? – Adriano Jun 15 '16 at 16:44
• @Adriano: You mean the space below Heading on level 0 (chapter) and above Lorem ipsum on page 3 of my minimal example? – Werner Jun 15 '16 at 16:52
• Yes, precisely that space. – Adriano Jun 15 '16 at 17:24
• @Adriano: You can use {\setlength{\afterchapskip}{10pt}\chapter{A chapter}}\noindent where you adjust 10pt to suit your needs. Note that I've placed the \setlength and \chapter inside a group, so it only affects that chapter's adjustment. – Werner Jun 15 '16 at 17:30