I have come across a weird phenomenom: When I compile the following code, the spacing between chapter header and the text with the equations is different than initially defined. As you can see the spacing between the chapter header of chapter 2 and the text there is smaller (as defined). But this will just occur when Chapter 1 extends one page. When Chapter 1 with the equations is just one page long (i.e. when I comment out the last two equations), the defined spacing is intact. Does anyone know how to fix that?
My code:
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
% Preamble
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
\documentclass[12pt,a4paper,twoside]{report} %openright
%Schriftart Arial - ACHTUNG: Compile with XeLaTeX (not PDFLaTeX)!
\usepackage{fontspec}
\defaultfontfeatures{Scale = MatchLowercase}
\setmainfont{Arial}[Scale = 1.0]
%Seitenlayout
\usepackage[top=2.5cm, bottom=2cm, left=2.5cm, right=2.5cm,paper=a4paper]{geometry}
%Deutsche Umlaute
\usepackage{ngerman}
%Zitierungen in der richtigen Reihenfolge
\usepackage{cite}
%Längenangaben für den Abstand zwischen zwei Absätzen.
\usepackage{parskip}
%Zeilenabstand ändern
\usepackage[onehalfspacing]{setspace}
%Farbige Texte etc
\usepackage{color}
%Graphiken und Bilder
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{psfrag}
\usepackage{wrapfig}
%Tabellenumgebung
\usepackage{tabularx}
\usepackage{booktabs} %\toprule, \midrule, \bottomrule
%Mathematische Symbole und Zeichen
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
%Algorithm Package
\usepackage[ruled,vlined]{algorithm2e}
%Kopfzeile
\usepackage{fancyhdr}
%Kapitelanzeige und -platzierung im Text
\usepackage[clearempty]{titlesec}
\titleformat{\chapter}{\normalfont\fontsize{16pt}{0}\bfseries}{\thechapter.}{9pt}{}
\titleformat{\section}{\normalfont\fontsize{14pt}{0}\bfseries}{\thesection}{9pt}{}
\titleformat{\subsection}{\normalfont\fontsize{12pt}{0}\bfseries}{\thesubsection}{9pt}{}
\titlespacing*{\chapter}{0pt}{-22pt}{4pt}
%Verzeichnisse
\usepackage[notindex, nottoc, numbib]{tocbibind}
%Formatierung Inhaltsverzeichnis
\usepackage{titletoc}
\contentsmargin{2em}
\dottedcontents{chapter}[21pt]{\addvspace{15pt}\bfseries}{20pt}{9.5pt}
\dottedcontents{section}[50pt]{\addvspace{3pt}}{2.3em}{9.5pt}
\dottedcontents{subsection}[89pt]{\addvspace{3pt}}{3.2em}{9.5pt}
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
% Formatierung der Kopfzeile
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
\setlength{\headheight}{0.6cm}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[EL,OR]{\fontsize{8}{10} \selectfont \thepage}
\fancyhead[ER,OL]{\fontsize{8}{10} \selectfont \leftmark}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[EL,OR]{\fontsize{8}{10} \selectfont \thepage}
\fancyhead[ER,OL]{\fontsize{8}{10} \selectfont \nouppercase \leftmark}
}
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
% Anfang von Dokumententext
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
\begin{document}
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
% Beginn des Inhalts
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
\pagenumbering{arabic}
\chapter{Einleitung}
Dies ist ein Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
\section{Mathematische Gleichungen}
Dies ist ein Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
\begin{align}\label{eq:Fuehrungsubertragungsfunktion1}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion2}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion3}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion4}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion5}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion6}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion7}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion8}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion9}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion10}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\begin{align}\label{eq:Fuehrungsubertragungsfunktion11}
G_w(s) = \frac{G_S(s)G_R(s)}{1+G_S(s)G_R(s)}
\end{align}
\chapter{Kapitelüberschrift}
Text
\section{Überschrift 2}
Text
\subsection{Überschrift 3}
Text
\subsection{Überschrift 3}
Text
\section{Überschrift 2}
\end{document}
Image 1: Chapter 1 extends one page, spacing of Chapter 1 is off (0.9 cm):

Image 2: Chapter 1 extends one page, spacing of Chapter 2 is intact (0.7 cm):

Image 3: Chapter 1 does not extend one page, spacing of Chapter 1 is intact (0.7 cm):

\usepackage{ngerman}? It's obsolete and unmaintained. Much better is\usepackage[ngerman]{babel}. Do you really needpsfrag? – egreg May 31 '19 at 21:23psfrag, since I indeed don't need it in my current document, it came from the template I was given. Thanks! – TeXlearner May 31 '19 at 22:18