I am trying to adapt my thesis draft to the format specifications of my university, which mandates among other things the number of line skips before and after section and subsection titles. I am using the memoir class and the following code to enforce the line skip rules:
\setbeforesecskip{2em}
\setbeforesubsecskip{2em}
\setbeforesubsubsecskip{2em}
\setaftersecskip{1em}
\setaftersubsecskip{1em}
\setaftersubsubsecskip{1em}
My problem is that when I add the above lines to the document preamble, the first paragraph after each section and subsection is indented. If I remove them, the behavior reverts back to the default of no indentation for the first paragraph, which I want.
Could you please help with this puzzling behavior?