Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
1  
I've not used memoir but a cursory glance at texdoc memoir suggests \setafterSskip{ skip } is what you want with S being sec or subsec and skip being whatever length you want. –  David Carlisle Dec 4 '13 at 13:48
1  
Just remember to set it to say 1sp, since anything non-negative makes it an inline section title. 1sp is very very small, but not equal to zero. –  daleif Dec 4 '13 at 14:15
    
Okay, it appears that this is not what I need cause absolutely NOTHING happens... I think I need to make \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? –  Limro Dec 4 '13 at 14:26
    
Your example minus 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 that titlesec overwrites the memoir interface. –  daleif Dec 4 '13 at 14:46
    
Uh - turns out I wrote \subSUBsection and not \subsection nose poke. It looks good now - I think this is what i need. –  Limro Dec 4 '13 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.