I'm growing tired of the extra space below \section
and \subsection
in the memoir class - it's way too big.
How can I remove it - like one use \vspace{-20pt}$
. This must be done for all \section
and \subsection
.
What I have right now:
\documentclass[12]{memoir}
%\usepackage[danish]{babel}
\linespread{1.5}
\usepackage[bf, small, raggedright, compact]{titlesec}
\usepackage{lipsum}
\begin{document}
\chapter{Chapter title}
\section{Section heading} \lipsum[1]
\subsubsection{Subsection} \lipsum[1]
\end{document}
texdoc memoir
suggests\setafterSskip{ skip }
is what you want withS
beingsec
orsubsec
andskip
being whatever length you want.1sp
, since anything non-negative makes it an inline section title.1sp
is very very small, but not equal to zero.\linespread{1}
after each\section
and\subsection
and back to 1.5 when the text starts. Should I do a redefine of the\section
or can I fix it in another way?titlesec
plus\linespread{1.5} \setaftersecskip{1sp}
seems fine by me in that there is no extra space below the\section
it is the same as between lines of text. Remember thattitlesec
overwrites thememoir
interface.