# Avoid page breaks after parts{..} command in memoir

I am using the memoir class. I am curious whether I am misunderstanding something from the manual. I am trying to create a book where a \part(...) command does not force a new page immediately after the title. I want to add text on the same page (basically a description or abstract). I thought I could use this

\renewcommand{\afterpartskip}{\relax}


Unfortunately, the command \part{...} still forces a new page. So, I instead created this

\newenvironment{BookPart}[1]
{%
\phantomsection{}
\stepcounter{part}
\noindent{\sffamily\Huge\color{blue}Part~\thepart: #1}
\vspace*{2\baselineskip}
}
{%
\clearpage
}


A base example then is as follows:

\begin{BookPart}{Introduction}

\noindent{}This portion of the book introduces you to ...

\end{BookPart}


Absent that I would re-write primitives behind \part{...}, is this a reasonable approach? Otherwise, does this misunderstanding point to a need for clarification in the document for memoir that \part{...} always enforces a new page break regardless of how one tries to override it using \afterpartskip{...}?

You're missing a small additional declaration in the form of \nopartblankpage:

\documentclass{memoir}

\usepackage{lipsum}% Just for this example

\renewcommand{\afterpartskip}{\relax}
\nopartblankpage

\begin{document}

\part{A part}

\begin{quote}
\lipsum[1]
\end{quote}

\vfil

\chapter{A chapter}

\end{document}


Since the traditional \part ends off with \vfil\newpage, I manually inserted \vfil after whatever quote/abstract you want to place. Note that the part title-and-abstract will be vertically centred, and might shift up/down depending on the (vertical) length of the abstract.

• Thank you. This command was not in the manual that I have. FWIW, the answer was addressed also here ... tex.stackexchange.com/questions/246177/… – Jeffrey J Weimer Jul 7 '18 at 13:28
• The command is documented in the 2010-03-12 version of the manual. The latest version is 2015-11-11. – Peter Wilson Jul 7 '18 at 17:52

You can also use \openany, \openright and \openleft commands:

\documentclass{memoir}
\usepackage{lipsum}% Just for this example
\renewcommand{\afterpartskip}{\relax}

\begin{document}

\openany
\part{A part}

\openrigth
\begin{quote}
\lipsum[1]
\end{quote}

\vfil

\chapter{A chapter}