\RequirePackage{fix-cm}
\RequirePackage[german=german-x-latest]{hyphsubst}
\documentclass[pagesize,DIV=calc,%fleqn,
	paper=a4,numbers=noenddot,captions=nooneline,
	fontsize=12pt,twoside=true,parskip=false,
	%tightheadings,%headings=normal,%headings=small,
	headinclude=true,footinclude=false,%twocolumn,
	bibliography=totoc,listof=graduated,toc=graduated,
	titlepage,cleardoublepage=empty,open=right,
	pdfpagemode=UseOutlines,bookmarksopenlevel=4,
% 	pdfstartview=Fit,pdfpagelayout=TwoColumnRight,draft,
% 	showframe,
% 	thumb, % to be used with draft
% 	print, % no embedding, colorlinks, fit images, enf. by draft
	version=last]{scrreprt}

% \includeonly{
% }
% \usepackage{stampinclude}

\pdfminorversion 2
\newlength{\FABadd} % einmal oben, zweimal unten
\newcommand{\FABCOR}{3mm}
\newcommand{\FABDIV}{11}
\setlength{\FABadd}{1\baselineskip}
\usepackage[x-cp1252]{inputenx}
\usepackage[resetfonts]{cmap}
\usepackage[T1]{fontenc}
%
% % \Schriften
\usepackage{fixmath,upgreek} %nur mit CM als Mathematikschrift
% \usepackage[osf,commands]{btrumpme} % Trump Mediaval [osf,commands,scaled=1.0]
% \usepackage[commands]{bgillsans} %Gill Sans (Humanist 521) [osf,commands,scaled=1.0]
\usepackage[%onlyrm,%light,%veryoldstyle,%partialup % wie Palatino mit upgreek
	oldstylenums,slantedGreeks,narrowiints,noDcommand]{kpfonts}
\renewcommand*{\sfdefault}{5ys} %Goudy Sans von Softmaker, zu Palatino
\renewcommand{\bfdefault}{bx}
%
\usepackage{fixltx2e}
\usepackage[smallscripts]{moresize}
\usepackage{relsize}
\usepackage[raggedrightboxes,%footnotes,%document,
	newcommands]{ragged2e}
\usepackage[hang,bottom,stable,multiple,%ragged%
	]{footmisc}
% \usepackage[headsepline]{scrpage2}
\usepackage{calc}
\usepackage{graphicx}
% \usepackage{lscape}
\usepackage{xcolor}
\usepackage{subfig}
% \usepackage{picture}
% \usepackage{pdfpages}
% \usepackage{multicol}
% \usepackage{balance}
% \usepackage{flushend}% [noautobase]
% \usepackage{cuted}
\usepackage{dblfloatfix}
% \usepackage{stfloats}
% \usepackage{floatpag}
\usepackage[above,below,section
	]{placeins}
\usepackage[final,%verbose,
	tracking,kerning,%spacing,
	babel]{microtype}
\usepackage{needspace}
\usepackage{tabls}
% \usepackage{booktabs}
% \usepackage{longtable}
\usepackage{array}
% \usepackage{multirow}
% \usepackage{dcolumn}
\usepackage{remreset}
% \usepackage{cancel}
\usepackage[alwaysadjust,pointlessenum]{paralist}
% \usepackage{amsmath}
\usepackage{amssymb}
\usepackage{textcomp}
\usepackage{scrdate}
\usepackage[right]{eurosym}
\usepackage{units}
% \usepackage{cjhebrew}
% \usepackage{semtrans}
\usepackage[%polutonikogreek,%hebrew,
	russian,british,german]{babel}
\usepackage[lowtilde]{url} %[,hyphens]
\usepackage[final,pdfprintscaling=None,%verbose,
	colorlinks=false,linktocpage=true,pdfborder={0 0 1},
	hyperfootnotes=false]{hyperref}
\usepackage{FABshort}
\typearea[\FABCOR]{\FABDIV}
\addtolength{\topmargin}{-1\FABadd}
\addtolength{\textheight}{3\FABadd}
% \usepackage[includefoot, centering, heightrounded,
% 	margin=.3in,bindingoffset=.3in,
% 	showframe,
% 	]{geometry}

\nonfrenchspacing
% \addtocounter{secnumdepth}{1}

\ifFABtwocolumn\setlength{\FABindent}{1.5em}\else\setlength{\FABindent}{2em}\fi
\ifdim\parindent=0pt\else\setlength{\parindent}{\FABindent}\fi
\newcommand\np{\newline\hspace*{1.5em}}
\newif\ifFABheader
\makeatletter
	\renewcommand*{\@cite}[2]{{#1\if@tempswa , #2\fi}}
	\renewcommand*{\@biblabel}[1]{\hfill\textsc{#1}}
	\if@hincl\FABheadertrue\else\FABheaderfalse\fi
	\@removefromreset{equation}{chapter}%
	\@removefromreset{figure}{chapter}%
	\@removefromreset{table}{chapter}%
	\@removefromreset{footnote}{chapter}%
\makeatother
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
\renewcommand{\theequation}{\arabic{equation}}
\PackageSetup{babel}{%
	\addto\extrasgerman{\nonfrenchspacing}
	\addto\extrasbritish{\nonfrenchspacing}}
\newlength{\kopfhoch}
\newcommand{\Kapkopf}{%
	\renewcommand\sectionmark[1]{} \renewcommand\chaptermark[1]{%
% 	\markboth{\chaptermarkformat ##1}{\chaptermarkformat ##1}}}
	\markboth{\pagetitle}{\chaptermarkformat ##1}}}
% 	\Kopfzeile}}
\renewcommand{\Kopfzeile}{%
	\markboth{\pagetitle}{\chaptermarkformat\bibname}}
\PackageSetup[\ifFABheader%
	\pagestyle{headings}\Kapkopf%
	\setlength{\kopfhoch}{\headsep}%
	\addtolength{\kopfhoch}{\headheight}%
% 	\addtolength{\kopfhoch}{\topskip}%
		\else%
	\pagestyle{plain}\setlength{\kopfhoch}{0pt}%
	\fi]{scrpage2}{%
	\pagestyle{scrheadings}%
	\automark[chapter]{chapter}}
\PackageSetup{ragged2e}{%
	\setlength{\CenteringLeftskip}{0pt plus3em}
	\setlength{\CenteringRightskip}{0pt plus3em}
	\setlength{\RaggedRightRightskip}{0pt plus3em}
	\setlength{\RaggedLeftLeftskip}{0pt plus3em}}
\PackageSetup{footmisc}{%
	\renewcommand{\hangfootparskip}{0\baselineskip}
	\renewcommand{\hangfootparindent}{\FABindent}
	\setlength{\footnotemargin}{1.2em}}
\PackageSetup{graphicx}{%
	\DeclareGraphicsExtensions{.pdf, .png, .jpg}
	\graphicspath{{./Bild/}{../Bild/}{../../Bild/}{../../../Bild/}}
	\setkeys{Gin}{keepaspectratio}}
\ifFABdraft%
	\usepackage[german, scrtime]{prelim2e}
% 	\renewcommand{\PrelimWords}{Vorl\"aufige Version}
	\FABprinttrue
	\fi
\ifFABprint%
	\hypersetup{linktocpage=false,colorlinks=true,pdfborder={0 0 0}}
	\graphicspath{{./fit/}{../fit/}{./Bild/}{../Bild/}%
		{../../Bild/}{../../../Bild/}}
% 	\makeatletter
% 		\define@key{Gin}{width}{}
% 		\define@key{Gin}{height}{}
% 	\makeatother
	\else
	\usepackage{embedfile}
	\embedfilesetup{mimetype=text/plain}
	\embedfile{FABshort.sty}
	\embedfile{\jobname.tex}
	\renewcommand{\Embinput}[1]{\embedfile{#1}\input{#1}}
	\let\OrigInclude\include
	\renewcommand{\include}[1]{\embedfile{#1.tex}\OrigInclude{#1}}
	\fi
\ifFABthumb%
	\usepackage{draftwatermark}
	\graphicspath{{./small/}{../small/}{./Bild/}{../Bild/}%
		{../../Bild/}{../../../Bild/}}
	\setkeys{Gin}{draft=false}
	\SetWatermarkLightness{.9}
	\SetWatermarkAngle{60}
	\SetWatermarkText{Entwurf}
	\fi
\PackageSetup{cuted}{%
	\setlength{\stripsep}{0pt}}
\PackageSetup{multicol}{%
% 	\setlength{\columnsep}{1.5em}
	\multicolsep = 2pt plus 4pt minus 2pt
	\newcommand{\mycolbad}{2000}
	\setcounter{columnbadness}{\mycolbad}
	\multicoltolerance = 200}
\PackageSetup{stfloats}{%
% 	\setbaselinefloat
	\fnbelowfloat}
\PackageSetup{floatpag}{%
% 	\thisfloatpagestyle{}
% 	\floatpagestyle{scrheadings}
	\floatpagestyle{plain}
% 	\rotfloatpagestyle{plain}
	\rotfloatpagestyle{empty}
	}
\PackageSetup{caption}{%
	\captionsetup{singlelinecheck=false,
	font={sf,bf,footnotesize},textfont={md,rm},
	justification=raggedright,indention=2em}}
\addtokomafont{caption}{\footnotesize}
\setkomafont{captionlabel}{\sffamily\bfseries}
\setcapindent{2em}
\PackageSetup{subfig}{%
	\captionsetup[subfloat]{listofformat=subparens,
	nearskip=0pt,farskip=0pt}}
% \PackageSetup{microtype}{\makeatletter\ifMT@spacing
% 	\def\ {\kern0pt \space}
% 	\def\nonfrenchspacing{\microtypecontext{spacing=nonfrench}}
% 	\def\frenchspacing{\microtypecontext{spacing=}}
% 	\fi\makeatother}
\PackageSetup[{
	\newenvironment{compactitem}[1][]{\begin{itemize}}{\end{itemize}}
	\newenvironment{compactenum}[1][]{\begin{enumerate}}{\end{enumerate}}
	\newenvironment{compactdesc}{\begin{description}}{\end{description}}
	}]{paralist}{%
	\setlength{\plitemsep}{0pt} %{1ex plus.5ex minus.2ex}
	\setlength{\plparsep}{0pt} %{.5ex plus2pt} %{\parskip} %{.7ex plus.2ex minus.1ex}
	\setlength{\pltopsep}{\FABtopsep}
	\setlength{\plpartopsep}{\FABpartopsep}} %{\parskip}}
\PackageSetup{eurosym}%
	{\renewcommand{\texteuro}{\euro}}
\PackageSetup{url}{%
	\renewcommand{\UrlFont}{\upshape\ttfamily}}


\begin{document}

\pagenumbering{roman}
\include{Kap/Titel}
\cleardoublepage
\pagenumbering{arabic}
% \include{Kap/}
% \include{Kap/}
% \include{Kap/}
% \addtocontents{toc}{\protect\newpage}
% \include{Kap/}
% \include{Kap/}

\appendix
% \addtocontents{lof}{\protect\newpage}
% \addtocontents{lof}{\protect\tafelsec{Tafeln im Anhang}}
\newcommand*{\FABbibtag}{MM}
\newcommand*{\FABbibsize}{\normalsize}
\newcommand*{\FABbibitemsep}{10pt plus5pt minus3pt}
\include{Kap/LIT-PH}

\addtokomafont{caption}{\small}
\captionsetup{singlelinecheck=false,
	font={sf,bf,small},textfont={md,rm},
	justification=raggedright,indention=2em}
\renewcommand*{\figurename}{Tafel}
\setcounter{figure}{0}
% \include{Kap/Tafeln}
% \include{Kap/}

\end{document}

