From e1a26e4528eb7b9c2f462562c8265cf963f34dfb Mon Sep 17 00:00:00 2001
From: Justin Gassner <justin.gassner@mailbox.org>
Date: Thu, 20 Jun 2024 03:56:45 +0200
Subject: weiter

---
 preamble.tex | 36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)

(limited to 'preamble.tex')

diff --git a/preamble.tex b/preamble.tex
index 8479b31..fb67d0a 100644
--- a/preamble.tex
+++ b/preamble.tex
@@ -16,16 +16,15 @@
 %\usepackage{graphicx}
 \usepackage{tikz}
 \usepackage{tcolorbox}
-%\usepackage{wrapfig}
 \usepackage[style=ext-alphabetic]{biblatex}
 \usepackage[intoc,refpage]{nomencl}
 \usepackage{makeidx}
-\usepackage{idxlayout}
 \usepackage{hyperref}
 \usepackage{bookmark}
 \usepackage{hypdestopt}
 \usepackage[capitalize,nameinlink]{cleveref}
 %\usepackage{refcheck}
+%\usepackage{nag}
 
 % ---------- fontspec
 \setfontfamily\fausansoffice{FAUSansOffice}
@@ -88,8 +87,10 @@
 \DeclareMathOperator{\dom}{dom}
 \DeclareMathOperator{\ran}{ran}
 \DeclareMathOperator{\Span}{span}
+\DeclareMathOperator{\ev}{ev}
 % extend amsmath's proof environment
-\NewDocumentEnvironment{myproof}{Ob}{\IfNoValueTF{#1}{\begin{proof}}{\begin{proof}[\proofname\ of \Cref{#1}]}}{\end{proof}}
+\newenvironment{myproof}[1]{\proof[\proofname\ of \Cref{#1}]}{\endproof}
+%\NewDocumentEnvironment{myproof}{Ob}{\IfNoValueTF{#1}{\begin{proof}}{\begin{proof}[\proofname\ of \Cref{#1}]}}{\end{proof}}
 
 % ---------- mathtools
 \DeclarePairedDelimiter\abs{\lvert}{\rvert}
@@ -99,6 +100,8 @@
 \DeclarePairedDelimiter\braces{\lbrace}{\rbrace}
 \DeclarePairedDelimiter\angles{\langle}{\rangle}
 % TODO set macro with proper spacing
+\newcommand\given{\vcentcolon}
+\DeclarePairedDelimiterX\Set[1]{\lbrace}{\rbrace}{#1}
 \DeclarePairedDelimiter\bra{\lvert}{\rangle}
 \DeclarePairedDelimiter\ket{\langle}{\rvert}
 \DeclarePairedDelimiterX\innerp[2]{\langle}{\rangle}{#1,#2}
@@ -111,7 +114,7 @@
 \usetikzlibrary{arrows.meta}
 
 % ---------- tcolorbox
-\tcbuselibrary{skins,theorems,breakable} % add breakable library?
+\tcbuselibrary{skins,theorems,breakable}
 \tcbset{%
   beforeafter skip balanced=0.4\baselineskip,
   mythmstyle/.style={%
@@ -151,16 +154,10 @@
 \newenunciation{example}{gray}
 \newenunciation{remark}{gray}
 
-%\theoremstyle{definition}
-%\newtheorem{defin}
-%\renewenvironment{definition}[2]{\begin{defin}[#1]\label{#2}}{\end{defin}}
-
 % ---------- biblatex
 \addbibresource[glob]{bib/*.bib}
 \ExecuteBibliographyOptions{%
   refsegment=chapter,
-  sorting=none,
-  defernumbers,
   giveninits,
   backref,
 }
@@ -170,6 +167,7 @@
   \bookmark[level=section,italic,dest=refbm:\arabic{refsegment}]{#1}
 }
 \newcommand*{\chapterbib}{\printbibliography[segment=\therefsegment,heading=chapterbib]}
+\AddToHook{include/end}{\chapterbib}
 \DefineBibliographyStrings{english}{%
   backrefpage={ref.\ on \pno}, %TODO use \addspace ?
   backrefpages={ref.\ on \ppno}
@@ -275,7 +273,7 @@
 % --------------
 \newcommand*{\hilb}[1]{\mathcal{#1}}
 \newcommand*{\Hilb}[1]{\mathcal{#1}}
-% algebraic dircet sum
+% algebraic direct sum
 \newcommand{\AlgebraicDirectSum}[1]{\sideset{}{_{\!\ts{alg}}}\bigoplus#1}
 % Hilbert space direct sum
 %\newcommand{\AlgebraicDirectSum}[1]{\sideset{}{_{\!\ts{Hilb}}}\bigoplus #1}
@@ -283,10 +281,14 @@
 % Test functions and distributions
 % --------------
 \newcommand*{\testfun}[1]{\mathcal{D}(#1)}
-\newcommand*{\distrib}[1]{\mathcal{D}'(#1)}
-\newcommand*{\schwartz}[1]{\mathcal{S}(#1)}
+\newcommand*{\TestFunctions}[2][]{\mathcal{D}\parens[#1]{#2}}
+\newcommand*{\distrib}[1]{\mathcal{D}'(#1)} %todo replace by command below
+\newcommand*{\Distributions}[2][]{\mathcal{D}\parens[#1]{#2}}
+\newcommand*{\schwartz}[1]{\mathcal{S}(#1)} %todo replace by command below
+\newcommand*{\SchwartzFunctions}[2][]{\mathcal{S}\parens[#1]{#2}}
 \newcommand*{\realschwartz}[1]{\mathcal{S}_{\RR}(#1)}
 \newcommand*{\tempdistrib}[1]{\mathcal{S}'(#1)}
+\newcommand*{\TemperedDistributions}[2][]{\mathcal{S}'\parens[#1]{#2}}
 \newcommand*{\tempdistribnoarg}{\mathcal{S}'}
 
 % Fock spaces
@@ -314,7 +316,7 @@
 
 % Standard Subspaces
 % ------------------
-% real scalarproduct
+% real scalar product
 \DeclarePairedDelimiterXPP\realscalarp[2]{\Re}{\langle}{\rangle}{}{#1,#2}
 \DeclarePairedDelimiterXPP\symplecticp[2]{\Im}{\langle}{\rangle}{}{#1,#2}
 % symplectic complement
@@ -340,8 +342,9 @@
 \newcommand*{\vNa}[1]{\mathcal{#1}}
 \newcommand*{\localalg}[1]{\vNa{R}(#1)}
 
-% Measure Theroy
-\newcommand*{\BorelSigmaAlgebra}[2][]{\mathfrak{B}\parens[#1]{#2}}
+% Measure Theory
+\newcommand*{\SigmaAlgebra}[1]{\mathfrak{#1}}
+\newcommand*{\BorelSigmaAlgebra}[2][]{\SigmaAlgebra{B}\parens[#1]{#2}}
 
 % Lorentz and Poincaré groups, subgroups and connected components
 \newcommand*{\LorentzGroup}{\mathcal{L}}
@@ -378,6 +381,7 @@
 
 % Functional Analysis
 \newcommand*{\BoundedLinearOperators}[2][]{B\parens[#1]{#2}}
+\newcommand*{\ContinousLinearOperators}[2][]{L\parens[#1]{#2}}
 \DeclareMathOperator*{\stronglim}{s-lim}
 \DeclareMathOperator*{\weaklim}{w-lim}
 
-- 
cgit v1.2.3-70-g09d2

