From c2f2e7fb0b67f92926d816e013928a3546240782 Mon Sep 17 00:00:00 2001
From: Michael Grinberg <michael.grinberg@iosb.fraunhofer.de>
Date: Tue, 5 Mar 2019 01:58:07 +0100
Subject: [PATCH] =?UTF-8?q?Forderung=20des=20KSP-Verlages:=20Tabellenbesch?=
 =?UTF-8?q?riftungen=20oben=20(\captionsetup=20hat=20nicht=20funktioniert,?=
 =?UTF-8?q?=20da=20durch=20floatrow=20=C3=BCberrufen).=20Durch=20\floatset?=
 =?UTF-8?q?up[table]{style=3Dplain,capposition=3DTOP}=20erm=C3=B6glicht.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 preambel/preambel.tex | 53 +++++--------------------------------------
 1 file changed, 6 insertions(+), 47 deletions(-)

diff --git a/preambel/preambel.tex b/preambel/preambel.tex
index 28b71d6..1bb81a5 100644
--- a/preambel/preambel.tex
+++ b/preambel/preambel.tex
@@ -530,12 +530,6 @@ verbose,
 
 %% Bilder und Graphiken ==================================================
 
-%%% Doc: only dtx Package
-% float has to be loaded after listings package, see
-% https://tex.stackexchange.com/questions/316830/float-package-screws-up-list-of-listing-format-style/316843#316843
-%\usepackage{float}             % Stellt die Option [H] fuer Floats zur Verfgung  % Muss vor wrapfig
-											%% sorgt für float@addtolists-Warnung mit
-\usepackage{floatrow}           %for better aligning images and captions
 
 %%% Doc: No Documentation
 %\usepackage{latexrelease}     % wird wohl vom flafter gebraucht
@@ -631,22 +625,6 @@ verbose,
 %% pstool hat aber noch tolle Unterstützung für Matlab-Figures
 %\fi
 
-%%% Doc: http://www.ctan.org/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf
-\usepackage[%
-%	outercaption,%	(default) caption is placed always on the outside side
-%	innercaption,% caption placed on the inner side
-%	leftcaption,%  caption placed on the left side
-	rightcaption,% caption placed on the right side
-%	wide,%			caption of float my extend into the margin if necessary
-%	margincaption,% caption set into margin
-	ragged,% caption is set ragged
-]{sidecap}
-
-\renewcommand\sidecaptionsep{2em}
-%\renewcommand\sidecaptionrelwidth{20}
-\sidecaptionvpos{table}{c}
-\sidecaptionvpos{figure}{c}
-
 
 
 
@@ -1371,7 +1349,7 @@ afterskip=\myparagraphafterskip%
    %justification = centering, % zentriert
    justification = justified, % Blocksatz
    singlelinecheck = true, % false (true=bei einer Zeile immer zentrieren)
-   position = bottom %top
+   position = top %bottom
 }
 \captionsetup[lstlisting]{
    margin = 0pt,
@@ -1424,33 +1402,14 @@ afterskip=\myparagraphafterskip%
  }
 }
 
-% Aendern der Bezeichnung fuer Abbildung und Tabelle
-% \addto\captionsngerman{% "captionsgerman" fuer alte  Rechschreibung
-%   \renewcommand{\figurename}{Abb.}%
-%   \renewcommand{\tablename}{Tab.}%
-% }
-
-
-%%% Doc: ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/mcaption/mcaption.pdf
-%% Captions in Margins
-%\usepackage[%
- 	%top,%
- 	%bottom%
- %]{mcaption}
-
-%%% Example:
-% \begin{figure}
-%   \begin{margincap}[short caption]{margin caption}
-%     \centering
-%     \includegraphics{picture}
-%   \end{margincap}
-% \end{figure}
-
-
-
 % \numberwithin{figure}{chapter} %Befehl zum Kapitelweise Nummerieren der Bilder, setzt `amsmath' vorraus
 % \numberwithin{table}{chapter}  %Befehl zum Kapitelweise Nummerieren der Tabellen, setzt `amsmath' vorraus
 
+%for better aligning images and captions
+% has to be loaded after call of \captionsetup
+\usepackage{floatrow}
+\floatsetup[table]{style=plain,capposition=TOP}
+
 %% Inhaltsverzeichnis (Schrift, Aussehen) sowie weitere Verzeichnisse ====
 
 %Für TODO-Liste:
-- 
GitLab