latex-packages/math/mkessler-math.sty
Maximilian Keßler 7c5b9a2249 fix typo
2021-09-09 22:57:00 +02:00

48 lines
1.6 KiB
TeX

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-math}[2021/03/31 - Math package]
%%%%%%Collects the basic math packages used for my lecture-note write-ups
%% This just imports all the packages I use for writing up mathematics
\newif\if@mkessler@math@english\@mkessler@math@englishtrue
\DeclareOption{german}{\@mkessler@math@englishfalse}
\DeclareOption{ngerman}{\@mkessler@math@englishfalse}
\DeclareOption{english}{\@mkessler@math@englishtrue}
\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}
\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
\RequirePackage{amsmath}
\RequirePackage{mathtools}
\RequirePackage{amsthm}
\RequirePackage{amssymb}
\RequirePackage{latexsym}
% Für Formeln
\RequirePackage{mathabx}
\RequirePackage{esint}
\RequirePackage{IEEEtrantools}
\RequirePackage[ngerman,ruled,vlined]{algorithm2e}
%%% Custom commands
%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}}}