%Font settings
\usepackage[default]{sourcesanspro}
\usepackage[T1]{fontenc}
\usepackage{lmodern}		% Latin Modern Fonts (without Bold Smal Capital Font)
\usepackage{slantsc}			% Smal Capital Letters

%Enable Mathsupport
\usepackage{mathtools}
\mathtoolsset{showonlyrefs}
%Use normal font for math
\usepackage{mathastext}		%[defaultmathsizes]

%Support for German
\usepackage[utf8]{inputenc}
\usepackage{ngerman}

%%Header & Footer styling
%\usepackage{lastpage} % number of last page 
%\usepackage{fancyhdr}
%\pagestyle{fancy}
%\lhead{\HeaderLeft}
%\chead{\HeaderCenter}
%\rhead{\HeaderRight}
%\lfoot{\FooterLeft}
%\cfoot{\FooterCenter}
%\rfoot{\FooterRight}
%\renewcommand{\headrulewidth}{1pt} %0pt for no rule, 2pt thicker etc...
%\renewcommand{\footrulewidth}{0pt}
%\setlength{\headheight}{16pt} 

%TOC
\usepackage[tocflat]{tocstyle} %is alpha but it solves the indent on sectons
\usetocstyle{standard} 

%%Index
%\usepackage{imakeidx} % Word Index
%\makeindex 

%Dokumentstyling
\linespread{1.2}%Make line spacing bigger
\setlength{\parskip}{\baselineskip/2}% paragraph sprung 
\setlength{\parindent}{0pt}% paragraph einzug
\setlength{\parsep}{0pt}   
%\usepackage{titlesec}
%\newcommand{\sectionbreak}{\clearpage}

% My own List env.
\newenvironment{myitemize}
{ \begin{itemize}
    \setlength{\itemsep}{0pt}
    \setlength{\parskip}{0.4em}
    \setlength{\parsep}{0em}     }
{ \end{itemize}                  } 

\usepackage{float} % to process all Figures in precise float [H]
\usepackage{lscape} % single pages in Landscape
%Make whitespace in tables bigger
\renewcommand\arraystretch{1.5}

%Requirements for tables
\usepackage{tabularx}  
\usepackage{spreadtab} 		%calculating in spreadtab tables requires fb and xstring
\usepackage{multirow}
\usepackage{xstring} 		% reqired by spreadtab


%Needed to rotate graphics and tables
\usepackage{rotating}

%Support for images
\usepackage{graphicx} % is included in tikz

%Support for Graphics
\usepackage{pgf,tikz}
\usetikzlibrary{%
arrows.meta,
arrows,
shapes,
shapes.misc,
shapes.symbols,
shapes.geometric,
chains,
matrix,
positioning,
shapes.multipart,
calc,
spy,
decorations,
backgrounds,
scopes,
trees
}
\usepackage{tikz-uml} 
\usepackage{ifthen}
\usepackage{xstring}
\usepackage{pgfkeys}
\usepackage{pgfplots}

%Enable URL highlighting
\usepackage{hyperref}
\hypersetup{
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    pdftoolbar=true,        % show Acrobat’s toolbar?
    pdfmenubar=true,        % show Acrobat’s menu?
    pdffitwindow=false,     % window fit to page when opened
    pdfstartview={FitH},    % fits the width of the page to the window
    pdftitle={My title},    % title
    pdfauthor={Author},     % author
    pdfsubject={Subject},   % subject of the document
    pdfcreator={Creator},   % creator of the document
    pdfproducer={Producer}, % producer of the document
    pdfkeywords={keyword1, key2, key3}, % list of keywords
    pdfnewwindow=true,      % links in new PDF window
    colorlinks=false,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links (change box color with linkbordercolor)
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=cyan           % color of external links
}
\urlstyle{same}
%autolable sections:
\let\orisectionmark\sectionmark
\renewcommand\sectionmark[1]{\label{sec:#1}\orisectionmark{#1}}
%autolable subsections:
\let\orisubsectionmark\subsectionmark
\renewcommand\subsectionmark[1]{\label{subsec:#1}\orisubsectionmark{#1}}

%Material theme colours
\definecolor{red}{HTML}{F44336}
\definecolor{pink}{HTML}{E91E63}
\definecolor{purple}{HTML}{9C27B0}
%\definecolor{blue}{HTML}{2196F3}
\definecolor{brown}{HTML}{795548}
\definecolor{cyan}{HTML}{00BCD4}
\definecolor{darkgray}{HTML}{616161}
\definecolor{gray}{HTML}{9E9E9E}
\definecolor{lightgray}{HTML}{E0E0E0}
\definecolor{lime}{HTML}{CDDC39}
\definecolor{olive}{HTML}{827717}
\definecolor{orange}{HTML}{FF9800}
\definecolor{teal}{HTML}{009688}
\definecolor{yellow}{HTML}{FFEB3B}
\definecolor{green}{HTML}{388E3C}





