# How to reduce the space before & after \section and \subsection [duplicate]

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

• \subsection

• \section

-

## marked as duplicate by mafp, zeroth, T. Verron, Mico, lockstepMar 6 '13 at 11:10

You can find very similar questions in the "Related" bar, e.g. Reducing spacing after headings and How to decrease spacing before chapter title? Do the answers to those questions help you? –  Hendrik Vogt Mar 6 '13 at 9:41

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

-