%!TEX root=MathIng.tex

\usepackage[utf8]{inputenc}
\usepackage{amsmath}

\usepackage{framed}


\usepackage{adjustbox} %Tikz picture in table vertical aligment


%\usepackage{geometry}
%\geometry{%
%  verbose, 
%  tmargin=2.5cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.5cm,marginpar=1.8cm,
%  showframe % <=========================================================
%}

\usepackage[top=2.5cm,bottom=3cm,left=2.5cm,right=2cm,twoside,a4paper,layout=a4paper, asymmetric]{geometry}%,showframe,showcrop,asymmetric]{geometry}



\usepackage{enumerate}
\usepackage{hyperref}
%\usepackage[intlimits, fleqn]{amsmath} 
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage{makeidx}
\usepackage{graphicx}
%\usepackage{asymptote}
\usepackage{pgf,tikz,pgfplots}


\usepackage{tkz-euclide}


\usetikzlibrary{angles, arrows.meta, quotes, calc, babel, fadings, quotes}

\usetikzlibrary{intersections,through,backgrounds}


\usepackage[framemethod=tikz]{mdframed}


\usepackage{marginnote}

%\pgfplotsset{compat=1.15}
\pgfplotsset{compat=newest}

%\usepackage{mathrsfs}
%\usepackage[pacioli}

\usepackage{systeme} % für lineare gleichungssystems

\usetikzlibrary{arrows}
\usetikzlibrary{positioning}
\usepackage[ngerman]{babel}
\usepackage{float}

\usepackage{stmaryrd}

%\usepackage{arev}  %math
%\usepackage{pacioli}


%\usepackage[T1]{fontenc}
%\usepackage{librefranklin}
%\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif

%\usepackage[sfmath]{kpfonts} %% sfmath option only to make math in sans serif. Probablye only for use when base font is sans serif.
%\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
%\usepackage[T1]{fontenc}

%\usepackage{arev}

\usepackage[T1]{fontenc}
%\usepackage{tgadventor}

\usepackage{cmbright}


\usepackage{longtable}

\usepackage{pgfplots}
%\usepackage{pythontex}

\usepackage{nicefrac} %1/2

\definecolor{burlywood}{rgb}{0.87, 0.72, 0.53}

%\newcommand{\iu}{{i\mkern1mu}}  org

\newcommand{\iu}{{\mathbf{i}}}

%\usepackage[autostyle]{csquotes} %Anführungszeichen
%\MakeOuterQuote{"}

\usepackage[customcolors]{hf-tikz}




\usepackage[locale=DE]{siunitx} 

%\usepackage{showframe} 
%\usepackage{flowfram}

\usepackage{empheq}
\usepackage[most]{tcolorbox}

%\usepackage{tgadventor}
%\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
%\usepackage[T1]{fontenc}

%Ausblenden der Seitenzahl auf den Part-Seiten
\makeatletter
\renewcommand\part{%
	\if@openright
	\cleardoublepage
	\else
	\clearpage
	\fi
	\thispagestyle{empty}%
	\if@twocolumn
	\onecolumn
	\@tempswatrue
	\else
	\@tempswafalse
	\fi
	\null\vfil
	\secdef\@part\@spart}
\makeatother

\definecolor{cobalt}{rgb}{0.0, 0.28, 0.67}
\addtokomafont{chapter}{\textcolor{cobalt}}
\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
\addtokomafont{section}{\textcolor{coolblack}}
%\usepackage[0T1]{fontenc}

%\usepackage{setspace}
%\onehalfspacing% Zeilenabstand 1,5

\setlength{\parindent}{0em} 

\definecolor{mybluei}{RGB}{28,138,207}

\mdtheorem[
  backgroundcolor=lightgray!5!white,
  frametitlefont=\sffamily\bfseries\color{white},
  linecolor=mybluei,
  frametitlebackgroundcolor=mybluei,
    frametitlerule=true,
  topline=false,
  rightline=false,
  leftline=false,
]{definition}{Defintion}[chapter]


\mdtheorem[
  frametitlebackgroundcolor=blue!20!black,
  linecolor=blue!60!black,
  frametitlefont=\sffamily\bfseries\color{white},
  %frametitlebackgroundcolor=blue!40!white,
  frametitlerule=true,
  topline=false,
  %bottomline=false,
  rightline=false,
  leftline=false,
]{beispiel}{Beispiel}[chapter]



\mdtheorem[
  linecolor=burlywood,
  frametitlefont=\sffamily\bfseries\color{white},
  frametitlebackgroundcolor=burlywood,
]{satz}{Satz}[chapter]


\mdtheorem[
 frametitlefont=\sffamily\bfseries\color{blue},
  %frametitlebackgroundcolor=red,
]{aufgabe}{Aufgabe}[chapter]


\usepackage{amsthm}
%\newtheorem{thm}{Theorem}[chapter]
%\newtheorem{definition}[thm]{Definition}

%\new45theorem{thmb}{Theorem}[]
%\newtheorem{beispiel}[thmb]{Beispiel}

\everymath{\displaystyle}

\usepackage{mathtools}


\DeclarePairedDelimiter\abs{\lvert}{\rvert}%
\DeclarePairedDelimiter\norm{\lVert}{\rVert}%


\usepackage{array}
\newcolumntype{x}[1]{>{\centering\arraybackslash\hspace{0pt}}p{#1}}

\newcommand{\Anfz}[1]{\glqq\hspace{0.1mm}#1\hspace{0.9mm}\grqq{}}

%Kapitel-Nummer wieder von vorn beginnend bei einem neuen Part

\makeatletter
\@addtoreset{chapter}{part}
\makeatother 
