2021-08-26 13:41:40 +02:00
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
|
|
\ProvidesPackage{mkessler-math}[2021/03/31 - Math package]
|
2021-09-09 21:47:21 +02:00
|
|
|
%%%%%%Collects the basic math packages used for my lecture-note write-ups
|
|
|
|
|
|
|
|
%% This just imports all the packages I use for writing up mathematics
|
|
|
|
|
2021-08-26 13:41:40 +02:00
|
|
|
|
2021-09-09 18:15:10 +02:00
|
|
|
\newif\if@mkessler@math@english\@mkessler@math@englishtrue
|
|
|
|
\DeclareOption{german}{\@mkessler@math@englishfalse}
|
|
|
|
\DeclareOption{ngerman}{\@mkessler@math@englishfalse}
|
|
|
|
\DeclareOption{english}{\@mkessler@math@englishtrue}
|
2021-08-26 13:41:40 +02:00
|
|
|
|
|
|
|
\DeclareOption*{\PackageWarning{mkessler-math}{Unknown '\CurrentOption'}}
|
|
|
|
\ProcessOptions\relax
|
|
|
|
|
2021-09-09 21:45:25 +02:00
|
|
|
%%%% Import the other custom math packages
|
|
|
|
\RequirePackage{mkessler-mathfonts} % Load this first to ensure untouched fonts
|
|
|
|
\RequirePackage{mkessler-faktor}
|
2021-09-09 22:57:00 +02:00
|
|
|
\RequirePackage[\if@mkessler@math@english english\else german\fi]{mkessler-operators}
|
2021-09-09 21:45:25 +02:00
|
|
|
\RequirePackage{mkessler-mathfig}
|
|
|
|
\RequirePackage{mkessler-mathsymb}
|
|
|
|
\RequirePackage{mkessler-unicodechar}
|
|
|
|
\RequirePackage{mkessler-mathfixes} % Load this last since it renews behaviour
|
2021-08-26 13:41:40 +02:00
|
|
|
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\RequirePackage{mathtools}
|
|
|
|
\RequirePackage{amsthm}
|
|
|
|
\RequirePackage{amssymb}
|
2021-09-08 18:57:39 +02:00
|
|
|
|
2021-08-26 13:41:40 +02:00
|
|
|
\RequirePackage{latexsym}
|
|
|
|
|
|
|
|
% Für Formeln
|
|
|
|
\RequirePackage{mathabx}
|
2021-09-08 21:01:28 +02:00
|
|
|
\RequirePackage{esint}
|
2021-08-26 13:41:40 +02:00
|
|
|
|
2021-09-08 21:01:28 +02:00
|
|
|
\RequirePackage{IEEEtrantools}
|
|
|
|
\RequirePackage[ngerman,ruled,vlined]{algorithm2e}
|
2021-08-26 13:41:40 +02:00
|
|
|
|
2021-09-08 21:01:28 +02:00
|
|
|
%%% Custom commands
|
2021-08-26 13:41:40 +02:00
|
|
|
%Short commands for \mathbb{}
|
|
|
|
\newcommand{\C}{\ensuremath{\mathbb{C}}}
|
|
|
|
\newcommand{\F}{\ensuremath{\mathbb{F}}}
|
|
|
|
\newcommand{\K}{\ensuremath{\mathbb{K}}}
|
|
|
|
\newcommand{\N}{\ensuremath{\mathbb{N}}}
|
|
|
|
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
|
|
|
|
\newcommand{\R}{\ensuremath{\mathbb{R}}}
|
|
|
|
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
|
2021-09-09 22:57:00 +02:00
|
|
|
|