math sty file

This commit is contained in:
Josia Pietsch 2023-05-10 19:05:17 +02:00
parent 94787468d1
commit 4fc5e2978c
Signed by untrusted user who does not match committer: jrpie
GPG key ID: E70B571D66986A2D

51
jrpie-math.sty Normal file
View file

@ -0,0 +1,51 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{jrpie-math}[2022/01/30 - Main 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
% Probably, you will just want to load them separately for more
% customization
\RequirePackage{xkeyval}
\newif\ifmkessler@math@english\mkessler@math@englishtrue
\DeclareOptionX{german}{\mkessler@math@englishfalse}
\DeclareOptionX{ngerman}{\mkessler@math@englishfalse}
\DeclareOptionX{english}{\mkessler@math@englishtrue}
\DeclareOptionX*{\PackageWarning{mkessler-math}{Unknown '\CurrentOption'}}
\ProcessOptionsX*\relax
%%%% Import the other custom math packages
\RequirePackage{mkessler-mathfont} % 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[extended]{mkessler-mathalias}
\RequirePackage{mkessler-refproof}
% mkessler-mathfont has already been imported
\RequirePackage[\ifmkessler@math@english english\else german\fi]{mkessler-mathop}
\RequirePackage{mkessler-categories}
\RequirePackage{mkessler-mathfig}
\RequirePackage{mkessler-unicodechar}
\RequirePackage{mkessler-mathfixes} % Load this last since it renews behaviour
\newcommand{\defon}[1]{|_{#1}} % TODO