latex-packages/math/mkessler-math.sty

49 lines
1.6 KiB
Text
Raw Normal View History

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
\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
%%%% 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}
\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}
\RequirePackage{esint}
2021-08-26 13:41:40 +02:00
\RequirePackage{IEEEtrantools}
\RequirePackage[ngerman,ruled,vlined]{algorithm2e}
2021-08-26 13:41:40 +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