math sty file
This commit is contained in:
parent
94787468d1
commit
4fc5e2978c
1 changed files with 51 additions and 0 deletions
51
jrpie-math.sty
Normal file
51
jrpie-math.sty
Normal 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
|
Reference in a new issue