9

How to reduce the space before and after titles specified by \section and \subsection

  • \subsection

\subsubsection


  • \section

\section

13

You can use the \titleformat* from the titlesec package:

\documentclass{article}

\usepackage{titlesec}
\titlespacing*{\section}{0pt}{1.1\baselineskip}{\baselineskip}

\begin{document}
\section{First}
asdkfjhsakdjfhsdaf
\section{Second}
asldfhsajldfh
\end{document}

For more details, see section 3.2 in the manual: http://tug.ctan.org/tex-archive/macros/latex/contrib/titlesec/titlesec.pdf

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.