diff options
Diffstat (limited to 'notes/theo2/header.tex')
-rw-r--r-- | notes/theo2/header.tex | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/notes/theo2/header.tex b/notes/theo2/header.tex new file mode 100644 index 0000000..959df6a --- /dev/null +++ b/notes/theo2/header.tex @@ -0,0 +1,73 @@ +\usepackage{braket} +\usepackage{polynom} +\usepackage{amsthm} +\usepackage{csquotes} +\usepackage{svg} +\usepackage{environ} +\usepackage{mathtools} +\usepackage{tikz,pgfplots} +\usepackage{titleps} +\usepackage{tcolorbox} +\usepackage{enumitem} +\usepackage{listings} +\usepackage{soul} +\usepackage{forest} +\usepackage{datetime} + +\pgfplotsset{width=10cm,compat=1.15} +\usepgfplotslibrary{external} +\usetikzlibrary{arrows,automata,positioning} +%\usetikzlibrary{calc,trees,positioning,arrows,arrows.meta,fit,shapes,chains,shapes.multipart} +%\tikzexternalize +\setcounter{MaxMatrixCols}{20} +\graphicspath{{assets}} + +\newpagestyle{main}{\sethead{\toptitlemarks\thesection\quad\sectiontitle}{}{\thepage}\setheadrule{.4pt}} +\pagestyle{main} + +\newtcolorbox{proof-box}{title=Beweis,colback=green!5!white,arc=0pt,outer arc=0pt,colframe=green!60!black} +\newtcolorbox{bsp-box}{title=Beispiel,colback=orange!5!white,arc=0pt,outer arc=0pt,colframe=orange!60!black} +\newtcolorbox{visu-box}{title=Visualisation,colback=cyan!5!white,arc=0pt,outer arc=0pt,colframe=cyan!60!black} +\newtcolorbox{bem-box}{title=Bemerkung,colback=white,colbacktitle=white,coltitle=black,arc=0pt,outer arc=0pt,colframe=black} +\newtcolorbox{defi-box}{title=Definition,colback=gray!5!white,arc=0pt,outer arc=0pt,colframe=gray!60!black} +\newtcolorbox{satz-box}{title=Satz,colback=gray!5!white,arc=0pt,outer arc=0pt,colframe=gray!60!black} + +\newcommand\toprove{\textbf{Zu zeigen: }} + +\newcommand\defeq{\mathrel{\vcentcolon=}} +\newcommand\defiff{\mathrel{\vcentcolon\Longleftrightarrow}} + +\newcommand\N{\mathbb{N}} +\newcommand\R{\mathbb{R}} +\newcommand\Z{\mathbb{Z}} +\newcommand\Q{\mathbb{Q}} +\newcommand\C{\mathbb{C}} +\renewcommand\P{\mathbb{P}} +\renewcommand\O{\mathcal{O}} +\newcommand\pot{\mathcal{P}} +\newcommand{\cupdot}{\mathbin{\mathaccent\cdot\cup}} +\newcommand{\bigcupdot}{\dot{\bigcup}} + +\DeclareMathOperator{\ggT}{ggT} +\DeclareMathOperator{\kgV}{kgV} + +\newlist{abc}{enumerate}{10} +\setlist[abc]{label=(\alph*)} + +\newlist{num}{enumerate}{10} +\setlist[num]{label=\arabic*.} + +\newlist{rom}{enumerate}{10} +\setlist[rom]{label=(\roman*)} + +\makeatletter +\renewenvironment{proof}[1][\proofname] {\par\pushQED{\qed}\normalfont\topsep6\p@\@plus6\p@\relax\trivlist\item[\hskip\labelsep\bfseries#1\@addpunct{.}]\ignorespaces}{\popQED\endtrivlist\@endpefalse} +\makeatother +\def\qedsymbol{\sc q.e.d.} % hmm? + +\lstset{ + basicstyle=\ttfamily, + escapeinside={(*@}{@*)}, + numbers=left, + mathescape +} |