Having taken note of a way to have author's names and abstracts assigned to each chapter in a memoir class document (see add authors and abstract below memoir chapter title), I've run into a bit of a snag.
I wanted to add a bit of space in the TOC, which works fine. However, if I try to have a multi-paragraph abstract, the indentation works fine in the TOC, but not in the actual chapter; somehow, the instruction to indent seems to get swallowed up.
How can I fix this? MWE and relevant output follow:
\documentclass{memoir}
\newcommand\authorabstract[1]{%
\chapterprecishere{\mbox{}\[\baselineskip]#1}%
\chapterprecistoc{\[.5\baselineskip]#1\[.5\baselineskip]}%
}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{First chapter}
% this goes into the document and the ToC
\authorabstract{Author\newline\newline First paragraph.\newline\indent Second paragraph.}
Chapter text here.
\end{document}
Correct indentation in TOC:
Missing indentation in the chapter:



\chapterpreciswhy it would have been set up that way. I'm struggling a bit to understand the fix, though. Do I take it that due to thequoteenvironment, indents (i.e.,\parindentlength) are set to 0 length and that we are effectively resetting them to the global value with\parindent\the\docparindent, similarly to passing a parameter, then? – K.G. Feuerherm Jun 03 '22 at 17:10\authorabstracis modified by adding a non zero indent to #1.quoteremains unchanged. – Simon Dispa Jun 03 '22 at 20:30