With the package setspace
I can change the line spacing. This works quite fine. When I place the command \singlespacing
after a section it introduces additional space. MWE:
\documentclass[a4paper,11pt]{article}
\usepackage[shorthands=off,bidi=basic,english, ngerman]{babel}
\usepackage{setspace}
\onehalfspacing
\usepackage{kantlipsum}
\begin{document}
\title{merry setspace christmas test}
\author{who cares?}
\date{2011-12-19}
\maketitle
\section{Kant - 1}
\kant[1]
\subsection{Kant - 2 }
\singlespacing % <----------------------------------
\kant[2]
\end{document}
Is there a way to prevent this?