From b2296d33f0565f0eb1ad960e16c3eb3d58ee49fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= <max@maximilian-kessler.de>
Date: Sun, 13 Jun 2021 14:57:44 +0200
Subject: [PATCH] add back stuff,

---
 operators.sty | 57 ++++++++++++++++++++++++++++-----------------------
 1 file changed, 31 insertions(+), 26 deletions(-)

diff --git a/operators.sty b/operators.sty
index 94fc41c..ab061e6 100644
--- a/operators.sty
+++ b/operators.sty
@@ -12,7 +12,6 @@
 %Packages
 \RequirePackage{amsmath}
 
-
 %%%%%%%%%%% Operators
 %Basic commands
 \renewcommand\subset\subseteq
@@ -23,6 +22,7 @@
 \let\ggT\relax\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi}
 \let\kgV\relax\DeclareMathOperator{\kgV}{\ifenglish lcm \elese kgV\fi}
 \DeclareMathOperator{\rhs}{RHS} %Right hand side
+\DeclareMathOperator{\lhs}{LHS} %Left hand side
 
 %Complex numbers
 \DeclareMathOperator{\Impart}{Im}
@@ -37,6 +37,7 @@
 \DeclareMathOperator{\coker}{coker}
 \DeclareMathOperator{\rank}{rank}
 \DeclareMathOperator{\Mat}{Mat}
+\DeclareMathOperator{\ev}{ev}
 
 %Algebra
 \DeclareMathOperator{\Gal}{Gal}
@@ -51,15 +52,6 @@
 \DeclareMathOperator{\Fun}{Fun}
 \newcommand{\tensor}{\otimes}
 
-%Category Theory
-\DeclareMathOperator{\Ob}{Ob}
-\newcommand{\cat}[1]{ \mathscr{#1} }
-\DeclareMathOperator{\Hom}{Hom}
-\DeclareMathOperator{\Mor}{Mor}
-\DeclareMathOperator{\End}{End}
-\DeclareMathOperator{\opposite}{opp}
-\newcommand\opp{^{\opposite}}
-
 %Analysis
 \DeclareMathOperator{\dx}{dx}
 \DeclareMathOperator{\dy}{dy}
@@ -68,34 +60,57 @@
 
 %Sets
 \DeclareMathOperator{\conv}{conv}
-\DeclareMathOperator{\cone}{cone}
 \DeclareMathOperator{\dist}{dist}
 \DeclareMathOperator{\diam}{diam}
 
 %%Stochastic (Algorithmische Mathematik II)
-\DeclareMathOperator\Bin{Bin}
-\DeclareMathOperator\Ber{Ber}
-\DeclareMathOperator\Geo{Geo}
-\DeclareMathOperator\Poi{Poi}
+\newcommand\distribution[1]{\operatorname{#1}}
+\newcommand\DeclareDistribution[1]{\expandafter\def\csname #1\endcsname{\distribution{#1}}}
+\DeclareDistribution{Bin}
+\DeclareDistribution{Ber}
+\DeclareDistribution{Geo}
+\DeclareDistribution{Poi}
+\DeclareDistribution{Unif}
 \DeclareMathOperator{\Var}{Var}
+\DeclareMathOperator{\Cov}{Cov}
 
 %Topology
 \DeclareMathOperator\pr{pr}
 \def\twedge{\vee}
 \def\tsmash{\wedge}
 
+%Category Theory
+\DeclareMathOperator{\Ob}{Ob}
+\newcommand{\cat}[1]{ \mathscr{#1} }
+\DeclareMathOperator{\Hom}{Hom}
+\DeclareMathOperator{\Mor}{Mor}
+\DeclareMathOperator{\End}{End}
+\DeclareMathOperator{\opposite}{\textbf{opp}}
+\newcommand\opp{^{\opposite}}
+\newcommand\op{^{\opposite}}
+
 %Categories
 \newcommand\category[1]{\operatorname{\textbf{#1}}}
 \newcommand\DeclareCategory[1]{\expandafter\def\csname #1\endcsname{\category{#1}}}
 \DeclareCategory{Top}
+\DeclareCategory{hTop}
 \DeclareCategory{Set}
 \DeclareCategory{CHaus}
 \DeclareCategory{Grp}
 \DeclareCategory{Ab}
+\DeclareCategory{CRing}
 \DeclareCategory{Vect}
 \DeclareCategory{Fin}
 \DeclareCategory{Ab}
-\def\op{^{\textbf{op}}}
+\DeclareCategory{Cat}
+\DeclareMathOperator{\colim}{colim}
+
+
+
+% Characteristic function
+\newcommand*{\cfun}{\ensuremath{\mathbbm{1}}}
+\newcommand*{\One}{\ensuremath{\mathbbm{1}}}
+
 
 %Set theory
 \DeclareMathOperator\card{card}
@@ -103,13 +118,3 @@
 \DeclareMathOperator\Ord{Ord}
 \DeclareMathOperator\otp{otp}
 \DeclareMathOperator\Card{Card}
-
-% Characteristic function
-\newcommand*{\cfun}{\ensuremath{\mathbbm{1}}}
-\newcommand*{\One}{\ensuremath{\mathbbm{1}}}
-
-
-\DeclareMathOperator\lhs{LHS}
-
-
-