commit
This commit is contained in:
parent
69bb00171e
commit
c96b9a969e
3 changed files with 69 additions and 50 deletions
|
@ -6,7 +6,6 @@
|
||||||
\DeclareOption*{\PackageWarning{fancythm}{Unknown '\CurrentOption'}}
|
\DeclareOption*{\PackageWarning{fancythm}{Unknown '\CurrentOption'}}
|
||||||
|
|
||||||
\ProcessOptions\relax
|
\ProcessOptions\relax
|
||||||
|
|
||||||
%Theorem-environments
|
%Theorem-environments
|
||||||
\RequirePackage{amsthm}
|
\RequirePackage{amsthm}
|
||||||
\RequirePackage{mdframed}
|
\RequirePackage{mdframed}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{mymath}[2021/03/31 - Math package by Maximilian Kessler (private use)]
|
\ProvidesPackage{mymath}[2021/03/31 - Math package by Maximilian Keßler (private use)]
|
||||||
|
%%%%%%Provides the basic math packages used for my lecture-note write-ups
|
||||||
|
|
||||||
%The language to pass to babel
|
%The language to pass to babel
|
||||||
\newif\ifenglish\englishtrue
|
\newif\ifenglish\englishtrue
|
||||||
|
@ -81,7 +82,8 @@
|
||||||
\RequirePackage{comment}
|
\RequirePackage{comment}
|
||||||
\RequirePackage{soul}
|
\RequirePackage{soul}
|
||||||
\RequirePackage{subfig}
|
\RequirePackage{subfig}
|
||||||
\usepackage{mathrsfs}
|
\RequirePackage{mathrsfs}
|
||||||
|
\RequirePackage{bbm}
|
||||||
\ifbeamer
|
\ifbeamer
|
||||||
\else \RequirePackage[shortlabels]{enumitem}\fi
|
\else \RequirePackage[shortlabels]{enumitem}\fi
|
||||||
\RequirePackage[colorlinks=true]{hyperref} % Hyperlinks
|
\RequirePackage[colorlinks=true]{hyperref} % Hyperlinks
|
||||||
|
|
112
operators.sty
112
operators.sty
|
@ -1,5 +1,7 @@
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{operators}[2021-04-26 - Operators package]
|
\ProvidesPackage{operators}[2021-04-27 - Operator Package]
|
||||||
|
%%%%%%%%%%%%%%%%%%mmmm
|
||||||
|
%Provides some commonly used Operators used in the write-ups of my lecture notes
|
||||||
|
|
||||||
\newif\ifenglish\englishtrue
|
\newif\ifenglish\englishtrue
|
||||||
\DeclareOption{german}{\englishfalse}
|
\DeclareOption{german}{\englishfalse}
|
||||||
|
@ -7,67 +9,83 @@
|
||||||
\DeclareOption*{\PackageWarning{operators}{Unknown '\CurrentOption'}}
|
\DeclareOption*{\PackageWarning{operators}{Unknown '\CurrentOption'}}
|
||||||
\ProcessOptions\relax
|
\ProcessOptions\relax
|
||||||
|
|
||||||
|
%Packages
|
||||||
|
\RequirePackage{amsmath}
|
||||||
|
|
||||||
% One with double line
|
\newcommand*{\One}{\ensuremath{\mathbbm{1}}}
|
||||||
\newcommand*{\IONE}{\ensuremath{\mathds{1}}}
|
|
||||||
|
|
||||||
|
%%%%%%%%%%% Operators
|
||||||
|
%Basic commands
|
||||||
|
\renewcommand\subset\subseteq
|
||||||
|
\renewcommand\supset\supseteq
|
||||||
\DeclareMathOperator{\id}{id}
|
\DeclareMathOperator{\id}{id}
|
||||||
\DeclareMathOperator{\Int}{Int}
|
|
||||||
\DeclareMathOperator{\Sym}{Sym}
|
|
||||||
\DeclareMathOperator{\supp}{supp}
|
|
||||||
\DeclareMathOperator{\Gr}{Gr}
|
|
||||||
\DeclareMathOperator{\odd}{odd}
|
|
||||||
\DeclareMathOperator{\sgn}{sgn}
|
|
||||||
\DeclareMathOperator{\im}{im}
|
\DeclareMathOperator{\im}{im}
|
||||||
\DeclareMathOperator{\rank}{rank}
|
|
||||||
\DeclareMathOperator{\conv}{conv}
|
|
||||||
\DeclareMathOperator{\coker}{coker}
|
|
||||||
\DeclareMathOperator{\dz}{dz}
|
|
||||||
\DeclareMathOperator{\ex}{ex}
|
|
||||||
\DeclareMathOperator{\dt}{dt}
|
|
||||||
\DeclareMathOperator{\Ext}{Ext}
|
|
||||||
\DeclareMathOperator{\Tor}{Tor}
|
|
||||||
\DeclareMathOperator{\Mspec}{MaxSpec}
|
|
||||||
\DeclareMathOperator{\Proj}{Proj}
|
|
||||||
\DeclareMathOperator{\QCoh}{QCoh}
|
|
||||||
\renewcommand\Im\im
|
|
||||||
\DeclareMathOperator{\Hom}{Hom}
|
|
||||||
\DeclareMathOperator{\Mor}{Mor}
|
|
||||||
\DeclareMathOperator{\End}{End}
|
|
||||||
\DeclareMathOperator{\Gal}{Gal}
|
|
||||||
\DeclareMathOperator{\MaxSpec}{MaxSpec}
|
|
||||||
\DeclareMathOperator{\Presh}{Pre-Sh}
|
|
||||||
\DeclareMathOperator{\Fun}{Fun}
|
|
||||||
\DeclareMathOperator{\Mat}{Mat}
|
|
||||||
\DeclareMathOperator{\Sh}{Sh}
|
|
||||||
\DeclareMathOperator{\dif}{diff}
|
|
||||||
\DeclareMathOperator{\opp}{opp}
|
|
||||||
%\DeclareMathOperator\ggT\relax
|
|
||||||
\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi}
|
|
||||||
\let\kgV\relax\DeclareMathOperator{\kgV}{kgV}
|
|
||||||
\DeclareMathOperator{\op}{op}
|
|
||||||
\DeclareMathOperator{\dist}{dist}
|
|
||||||
\DeclareMathOperator{\Bild}{Bild}
|
\DeclareMathOperator{\Bild}{Bild}
|
||||||
\DeclareMathOperator{\rhs}{RHS}
|
\let\ggT\relax\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi}
|
||||||
\DeclareMathOperator{\diam}{diam}
|
\let\kgV\relax\DeclareMathOperator{\kgV}{\ifenglish lcm \elese kgV\fi}
|
||||||
\DeclareMathOperator{\dx}{dx}
|
\DeclareMathOperator{\rhs}{RHS} %Right hand side
|
||||||
\DeclareMathOperator{\dy}{dy}
|
|
||||||
|
%Complex numbers
|
||||||
\DeclareMathOperator{\Impart}{Im}
|
\DeclareMathOperator{\Impart}{Im}
|
||||||
\renewcommand\Im\Impart
|
\renewcommand\Im\Impart
|
||||||
\DeclareMathOperator{\Repart}{Re}
|
\DeclareMathOperator{\Repart}{Re}
|
||||||
\renewcommand\Re\Repart
|
\renewcommand\Re\Repart
|
||||||
\renewcommand{\subset}{\subseteq}
|
|
||||||
\DeclareMathOperator{\Ob}{Ob}
|
|
||||||
|
|
||||||
|
%Linear Algebra
|
||||||
|
\DeclareMathOperator{\Sym}{Sym}
|
||||||
|
\DeclareMathOperator{\supp}{supp}
|
||||||
|
\DeclareMathOperator{\sgn}{sgn}
|
||||||
|
\DeclareMathOperator{\coker}{coker}
|
||||||
|
\DeclareMathOperator{\rank}{rank}
|
||||||
|
\DeclareMathOperator{\Mat}{Mat}
|
||||||
|
|
||||||
|
%Algebra
|
||||||
|
\DeclareMathOperator{\Gal}{Gal}
|
||||||
|
\DeclareMathOperator{\Ext}{Ext}
|
||||||
|
\DeclareMathOperator{\Tor}{Tor}
|
||||||
|
\DeclareMathOperator{\Mspec}{MaxSpec}
|
||||||
|
\DeclareMathOperator{\Sh}{Sh}
|
||||||
|
\DeclareMathOperator{\Proj}{Proj}
|
||||||
|
\DeclareMathOperator{\QCoh}{QCoh}
|
||||||
|
\DeclareMathOperator{\MaxSpec}{MaxSpec}
|
||||||
|
\DeclareMathOperator{\Presh}{Pre-Sh}
|
||||||
|
\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}
|
||||||
|
\DeclareMathOperator{\dz}{dz}
|
||||||
|
\DeclareMathOperator{\dt}{dt}
|
||||||
|
|
||||||
|
%Sets
|
||||||
|
\DeclareMathOperator{\conv}{conv}
|
||||||
|
\DeclareMathOperator{\dist}{dist}
|
||||||
|
\DeclareMathOperator{\diam}{diam}
|
||||||
|
|
||||||
%%Stochastic (Algorithmische Mathematik II)
|
%%Stochastic (Algorithmische Mathematik II)
|
||||||
\DeclareMathOperator\Bin{Bin}
|
\DeclareMathOperator\Bin{Bin}
|
||||||
\DeclareMathOperator\Ber{Ber}
|
\DeclareMathOperator\Ber{Ber}
|
||||||
\DeclareMathOperator\Geo{Geo}
|
\DeclareMathOperator\Geo{Geo}
|
||||||
\DeclareMathOperator\Poi{Poi}
|
\DeclareMathOperator\Poi{Poi}
|
||||||
|
\DeclareMathOperator{\Var}{Var}
|
||||||
|
|
||||||
|
%Topology
|
||||||
|
\DeclareMathOperator\pr{pr}
|
||||||
|
\DeclareMathOperator\Set{{\textbf{Set}}}
|
||||||
|
\DeclareMathOperator\Top{{\textbf{Top}}}
|
||||||
|
\DeclareMathOperator\CHaus{{\textbf{CHaus}}}
|
||||||
|
\def\op{^{\textbf{op}}}
|
||||||
|
|
||||||
|
% Characteristic function
|
||||||
|
\newcommand*{\cfun}{\ensuremath{\mathbbm{1}}}
|
||||||
|
|
||||||
%Synonyms for operators
|
|
||||||
\newcommand{\tensor}{\otimes}
|
|
||||||
% Nice command for | in set description (must be between \left and \right )
|
|
||||||
\newcommand{\cat}[1]{ \mathscr{#1} }
|
|
||||||
|
|
Loading…
Reference in a new issue