4

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.

http://i.imgur.com/udRgvsa.jpg

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.

1 Answer 1

4

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:

enter image description here

\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}
4
  • Is there a way to reduce this distance between title and text in ONE specific chapter?
    – Adriano
    Commented Jun 15, 2016 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
    Commented Jun 15, 2016 at 16:52
  • Yes, precisely that space.
    – Adriano
    Commented Jun 15, 2016 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
    Commented Jun 15, 2016 at 17:30

You must log in to answer this question.

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