42 lines
1.3 KiB
TeX
42 lines
1.3 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{amsmath}
|
|
\RequirePackage{mathtools}
|
|
\RequirePackage{amsthm}
|
|
\RequirePackage{amssymb}
|
|
|
|
\RequirePackage{latexsym}
|
|
|
|
% Für Formeln
|
|
\RequirePackage{mathabx}
|
|
\RequirePackage{esint}
|
|
|
|
\RequirePackage{IEEEtrantools}
|
|
\RequirePackage[ngerman,ruled,vlined]{algorithm2e}
|
|
|
|
|
|
%%% Importing other custom packages
|
|
\RequirePackage{mkessler-faktor}
|
|
\RequirePackage{mkessler-mathsymb}
|
|
\RequirePackage[basic]{mkessler-mathalias}
|
|
% mkessler-mathfonts has already been imported
|
|
\RequirePackage[\if@mkessler@math@english english\else german\fi]{mkessler-operators}
|
|
\RequirePackage{mkessler-mathfig}
|
|
\RequirePackage{mkessler-unicodechar}
|
|
\RequirePackage{mkessler-mathfixes} % Load this last since it renews behaviour
|