diff options
Diffstat (limited to 'preamble.tex')
-rw-r--r-- | preamble.tex | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/preamble.tex b/preamble.tex index 95aff6c..37068a4 100644 --- a/preamble.tex +++ b/preamble.tex @@ -10,11 +10,11 @@ \usepackage{selnolig} \usepackage{amsmath,amsthm} \usepackage{mathtools} -\usepackage[colon=literal]{unicode-math} +\usepackage[colon=literal]{unicode-math} % TODO get rid of this since it messes up math italic correction \usepackage{enumitem} %\usepackage{graphicx} \usepackage{tcolorbox} -\usepackage[style=ext-numeric]{biblatex} +\usepackage[style=ext-alphabetic]{biblatex} \usepackage[intoc]{nomencl} \usepackage{makeidx} \usepackage{idxlayout} @@ -98,11 +98,12 @@ \DeclarePairedDelimiterX\LorentzBF[2]{\lparen}{\rparen}{#1,#2} % ---------- tcolorbox -\tcbuselibrary{skins,theorems} % add breakable library? +\tcbuselibrary{skins,theorems,breakable} % add breakable library? \tcbset{% beforeafter skip balanced=0.4\baselineskip, mythmstyle/.style={% enhanced, + breakable, sharp corners=all, interior hidden, borderline west={3pt}{0pt}{#1}, @@ -137,6 +138,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{% @@ -170,7 +175,7 @@ % ---------- nomencl \makenomenclature -\renewcommand{\nomname}{List of Symbols} +\renewcommand*{\nomname}{List of Symbols} \def\pagedeclaration#1{, \hyperlink{page.#1}{page\nobreakspace#1}} % ---------- makeidx @@ -213,8 +218,8 @@ {\catcode`\@=\active\gdef@{\mkern1mu}} % ---------- misc -\renewcommand\phi\varphi -\renewcommand\epsilon\varepsilon +%\renewcommand\phi\varphi +%\renewcommand\epsilon\varepsilon % number systems \newcommand*{\NN}{\mathbb{N}} \newcommand*{\ZZ}{\mathbb{Z}} @@ -228,9 +233,9 @@ \renewcommand{\Im}{\operatorname{Im}} % emphasis for defined terms -\newcommand{\defn}[1]{\textbf{\textit{#1}}} +\newcommand*{\defn}[1]{\textbf{\textit{#1}}} -\newcommand{\ts}[1]{\textnormal{#1}} % textual subscript +\newcommand*{\ts}[1]{\textnormal{#1}} % textual subscript % Fourier transformation % ---------------------- @@ -247,6 +252,14 @@ % Hilbert space direct sum %\newcommand{\AlgebraicDirectSum}[1]{\sideset{}{_{\!\ts{Hilb}}}\bigoplus #1} +% Test functions and distributions +% -------------- +\newcommand*{\testfun}[1]{\mathcal{D}(#1)} +\newcommand*{\distrib}[1]{\mathcal{D}'(#1)} +\newcommand*{\schwartz}[1]{\mathcal{S}(#1)} +\newcommand*{\realschwartz}[1]{\mathcal{S}_{\RR}(#1)} +\newcommand*{\tempdistrib}[1]{\mathcal{S}'(#1)} + % Fock spaces % ----------- \newcommand*{\FullFock}[1]{\mathcal{F}(#1)} @@ -258,9 +271,14 @@ % Operators % --------- -\newcommand{\Domain}[1]{\mathcal{D}(#1)} -\newcommand{\Range}[1]{\mathcal{R}(#1)} -\newcommand{\Graph}[1]{\mathcal{G}(#1)} +\newcommand*{\Domain}[1]{\mathcal{D}(#1)} +\newcommand*{\Range}[1]{\mathcal{R}(#1)} +\newcommand*{\Graph}[1]{\mathcal{G}(#1)} + +% Quadratic forms +% --------- +\newcommand*{\QF}[1]{QF(#1)} +\newcommand{\QFequal}{\overset{\text{\scriptsize QF}}{=}} % Standard Subspaces % ------------------ @@ -273,4 +291,13 @@ \newcommand*{\realorthcomp}{^\bot} % normal ordering (aka Wick ordering) -\newcommand{\normord}[1]{{\vcentcolon\mathrel{#1}\vcentcolon}} +\newcommand*{\normord}[1]{{\vcentcolon\mathrel{#1}\vcentcolon}} + +\newcommand\restr[2]{{% we make the whole thing an ordinary symbol + \left.\kern-\nulldelimiterspace % automatically resize the bar with \right + #1 % the function + \vphantom{\big|} % pretend it's a little taller at normal size + \right| {#2} % this is the delimiter + }} + +\newcommand{\defequal}{\overset{\text{\scriptsize def}}{=}} |