My take on this, demonstrated using a minimal example (and not the whole mess that is my .cls):
Code: Select all
\documentclass{memoir}
\nonzeroparskip
\setlength{\parindent}{0pt}
\setbeforesecskip{0pt}
\setaftersecskip{0.1pt} % curiously enough I can't use 0pt here
\begin{document}
Text before heading.
\section*{foobar}
Text after heading.
\end{document}
beforeskip + \parskip (of text font) + \baselineskip (of heading font)
3.5 Heading Title
afterskip + \parskip (of heading font) + \baselineskip (of text font)
The question though then is this: How do I get rid of this \parskip that gets added automatically? I couldn't even find a hook after the heading title that would allow for the dirty solution of automatically adding a \vspace{-\parskip} after every title. My search which command to redefine to get this right without creating even more side-effects didn't get me anywhere so far so I'd be very glad if anybody here could help me out.
Many thanks in advance!