remove category specific stuff from mathop package, integrate categories package into math package
This commit is contained in:
parent
0a739e2550
commit
50e2c7c956
3 changed files with 11 additions and 37 deletions
2
PyTeX
2
PyTeX
|
@ -1 +1 @@
|
||||||
Subproject commit c8deda5af851b3072a9e235fc5fe317e70cf50e3
|
Subproject commit 75a2b137ec3acdd611593b82802fcb14c73e3090
|
|
@ -11,7 +11,7 @@ __LANGUAGE_OPTIONS_X__
|
||||||
__END_OPTIONS_X__
|
__END_OPTIONS_X__
|
||||||
|
|
||||||
%%%% Import the other custom math packages
|
%%%% Import the other custom math packages
|
||||||
\RequirePackage{mkessler-mathfont} % Load this first to ensure untouched fonts
|
\RequirePackage{__AUTHOR_ACRONYM__-mathfont} % Load this first to ensure untouched fonts
|
||||||
|
|
||||||
\RequirePackage{amsmath}
|
\RequirePackage{amsmath}
|
||||||
\RequirePackage{mathtools}
|
\RequirePackage{mathtools}
|
||||||
|
@ -29,11 +29,12 @@ __END_OPTIONS_X__
|
||||||
|
|
||||||
|
|
||||||
%%% Importing other custom packages
|
%%% Importing other custom packages
|
||||||
\RequirePackage{mkessler-faktor}
|
\RequirePackage{__AUTHOR_ACRONYM__-faktor}
|
||||||
\RequirePackage{mkessler-mathsymb}
|
\RequirePackage{__AUTHOR_ACRONYM__-mathsymb}
|
||||||
\RequirePackage[basic]{mkessler-mathalias}
|
\RequirePackage[basic]{__AUTHOR_ACRONYM__-mathalias}
|
||||||
% mkessler-mathfont has already been imported
|
% __AUTHOR_ACRONYM__-mathfont has already been imported
|
||||||
\RequirePackage[__IF__(english) english\else german\fi]{mkessler-mathop}
|
\RequirePackage[__IF__(english) english\else german\fi]{__AUTHOR_ACRONYM__-mathop}
|
||||||
\RequirePackage{mkessler-mathfig}
|
\RequirePackage{__AUTHOR_ACRONYM__-categories}
|
||||||
\RequirePackage{mkessler-unicodechar}
|
\RequirePackage{__AUTHOR_ACRONYM__-mathfig}
|
||||||
\RequirePackage{mkessler-mathfixes} % Load this last since it renews behaviour
|
\RequirePackage{__AUTHOR_ACRONYM__-unicodechar}
|
||||||
|
\RequirePackage{__AUTHOR_ACRONYM__-mathfixes} % Load this last since it renews behaviour
|
||||||
|
|
|
@ -25,13 +25,6 @@ __END_OPTIONS_X__
|
||||||
%Easily declare new distributions
|
%Easily declare new distributions
|
||||||
\newcommand\DeclareDistribution[1]{\expandafter\def\csname #1\endcsname{__PACKAGE_MACRO__(distribution){#1}}}
|
\newcommand\DeclareDistribution[1]{\expandafter\def\csname #1\endcsname{__PACKAGE_MACRO__(distribution){#1}}}
|
||||||
|
|
||||||
%%%For categories
|
|
||||||
%Introduce synonym for \operatorname
|
|
||||||
\newcommand__PACKAGE_MACRO__(category)[1]{\operatorname{\textbf{#1}}}
|
|
||||||
%Easily declare new categories
|
|
||||||
\newcommand\DeclareCategory[1]{\expandafter\def\csname #1\endcsname{__PACKAGE_MACRO__(category){#1}}}
|
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%% Operators
|
%%%%%%%%%%% Operators
|
||||||
%Basic commands
|
%Basic commands
|
||||||
\DeclareSimpleMathOperator{id}
|
\DeclareSimpleMathOperator{id}
|
||||||
|
@ -136,26 +129,6 @@ __END_OPTIONS_X__
|
||||||
\DeclareSimpleMathOperator{End}
|
\DeclareSimpleMathOperator{End}
|
||||||
\DeclareSimpleMathOperator{colim}
|
\DeclareSimpleMathOperator{colim}
|
||||||
|
|
||||||
%Categories
|
|
||||||
\DeclareCategory{Top}
|
|
||||||
\DeclareCategory{hTop}
|
|
||||||
\DeclareCategory{Set}
|
|
||||||
\DeclareCategory{CHaus}
|
|
||||||
\DeclareCategory{Grp}
|
|
||||||
\DeclareCategory{Ab}
|
|
||||||
\DeclareCategory{CRing}
|
|
||||||
\DeclareCategory{Ring}
|
|
||||||
\DeclareCategory{Vect}
|
|
||||||
\DeclareCategory{Fin}
|
|
||||||
\DeclareCategory{Ab}
|
|
||||||
\DeclareCategory{Cat}
|
|
||||||
\DeclareCategory{Mod}
|
|
||||||
\DeclareCategory{AffVar}
|
|
||||||
\DeclareCategory{Alg}
|
|
||||||
\DeclareCategory{Field}
|
|
||||||
\DeclareCategory{GrAb}
|
|
||||||
\DeclareCategory{Sch}
|
|
||||||
|
|
||||||
%Set theory
|
%Set theory
|
||||||
\DeclareSimpleMathOperator{card}
|
\DeclareSimpleMathOperator{card}
|
||||||
\DeclareSimpleMathOperator{Cd}
|
\DeclareSimpleMathOperator{Cd}
|
||||||
|
|
Loading…
Reference in a new issue