From 872e43ad77c1783acce0c3e2973d894e596b694f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Mon, 25 Oct 2021 07:11:25 +0000 Subject: [PATCH] Merge branch 'master' into algebraic-geometry Build branch algebraic-geometry (ad29266) from kesslermaximilian/LatexPackages --- build_info.json | 22 +++++++++++----------- math/mkessler-faktor.sty | 28 ++++++++++++++-------------- math/mkessler-mathalias.sty | 5 +++-- math/mkessler-mathop.sty | 10 +++++++++- 4 files changed, 37 insertions(+), 28 deletions(-) diff --git a/build_info.json b/build_info.json index 2fb491d..621046a 100644 --- a/build_info.json +++ b/build_info.json @@ -1,8 +1,8 @@ { "build_time": "", "source files": { - "version": "v2.2.2-4", - "commit": "a805b283e29b00873943015d5189a29625519acb", + "version": "v2.2.2-13", + "commit": "ad29266e4ad52baf039adfd100c6dd6ac7e4be60", "dirty": false }, "pytex": { @@ -114,9 +114,9 @@ { "name": "mkessler-mathalias.sty", "source file": "mathalias.pysty", - "build time": "2021/10/24 08:57", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/10/25 07:11", + "source version": "v2.2.2-13", + "source commit hash": "ad29266e4ad52baf039adfd100c6dd6ac7e4be60", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -144,9 +144,9 @@ { "name": "mkessler-mathop.sty", "source file": "mathop.pysty", - "build time": "2021/10/25 07:05", - "source version": "v2.2.2-4", - "source commit hash": "a805b283e29b00873943015d5189a29625519acb", + "build time": "2021/10/25 07:11", + "source version": "v2.2.2-13", + "source commit hash": "ad29266e4ad52baf039adfd100c6dd6ac7e4be60", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -174,9 +174,9 @@ { "name": "mkessler-faktor.sty", "source file": "faktor.pysty", - "build time": "2021/10/24 08:57", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/10/25 07:11", + "source version": "v2.2.2-13", + "source commit hash": "ad29266e4ad52baf039adfd100c6dd6ac7e4be60", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false diff --git a/math/mkessler-faktor.sty b/math/mkessler-faktor.sty index 707eca0..17dab9a 100644 --- a/math/mkessler-faktor.sty +++ b/math/mkessler-faktor.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.2.2-13 (commit ad29266) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-faktor}[2021/10/24 - Faktor package that also handles cofaktors] +\ProvidesPackage{mkessler-faktor}[2021/10/25 - Faktor package that also handles cofaktors] @@ -61,26 +61,26 @@ \RequirePackage{mathtools} -\DeclareDocumentCommand{\faktor}{s m O{0.5} m O{-0.5}}{% \newfaktor[*]{#2}[#3]{#4}[#5] -> #2/#4 - \setbox0=\hbox{\ensuremath{#2}}% Store numerator +\DeclareDocumentCommand{\faktor}{s O{0.5} m O{-0.5} m}{% \newfaktor[*][#2]{#3}[#4]{#5} -> #3/#5 + \setbox0=\hbox{\ensuremath{#3}}% Store numerator \setbox1=\hbox{\ensuremath{\diagup}}% Store slash / - \setbox2=\hbox{\ensuremath{#4}}% Store denominator - \raisebox{#3\ht1}{\usebox0}% Numerator + \setbox2=\hbox{\ensuremath{#5}}% Store denominator + \raisebox{#2\ht1}{\usebox0}% Numerator \mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash / {\diagup}% regular \faktor slash - {\rotatebox{-44}{\rule[#5\ht2]{0.4pt}{-#5\ht2+#3\ht0+\ht0}}}% tilted rule as a slash + {\rotatebox{-44}{\rule[#4\ht2]{0.4pt}{-#4\ht2+#2\ht0+\ht0}}}% tilted rule as a slash \mkern-4mu% - \raisebox{#5\ht2}{\usebox2}% Denominator + \raisebox{#4\ht2}{\usebox2}% Denominator } -\DeclareDocumentCommand{\cofaktor}{s m O{-0.5} m O{0.5}}{% \newfaktor[*]{#2}[#3]{#4}[#5] -> #2/#4 - \setbox0=\hbox{\ensuremath{#2}}% Store numerator +\DeclareDocumentCommand{\cofaktor}{s m O{-0.5} m O{0.5}}{% \newfaktor[*][#2]{#3}[#4]{#5} -> #2\#4 + \setbox0=\hbox{\ensuremath{#3}}% Store numerator \setbox1=\hbox{\ensuremath{\diagdown}}% Store slash / - \setbox2=\hbox{\ensuremath{#4}}% Store denominator - \raisebox{#3\ht1}{\usebox0}% Numerator + \setbox2=\hbox{\ensuremath{#5}}% Store denominator + \raisebox{#2\ht1}{\usebox0}% Numerator \mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash / {\diagdown}% regular \faktor slash - {\rotatebox{44}{\rule[-#5\ht2]{0.4pt}{#5\ht2-#3\ht0+\ht0}}}% tilted rule as a slash + {\rotatebox{44}{\rule[-#4\ht2]{0.4pt}{#4\ht2-#2\ht0+\ht0}}}% tilted rule as a slash \mkern-4mu% - \raisebox{#5\ht2}{\usebox2}% Denominator + \raisebox{#4\ht2}{\usebox2}% Denominator } diff --git a/math/mkessler-mathalias.sty b/math/mkessler-mathalias.sty index fd94183..aecbda9 100644 --- a/math/mkessler-mathalias.sty +++ b/math/mkessler-mathalias.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.2.2-13 (commit ad29266) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathalias}[2021/10/24 - Easy aliasing for math style commands] +\ProvidesPackage{mkessler-mathalias}[2021/10/25 - Easy aliasing for math style commands] @@ -85,4 +85,5 @@ \ifmkessler@mathalias@extended \expandafter\makealiasesforwith\expandafter\mathcal\expandafter{\expandafter c\expandafter}\expandafter{\mkessler@mathalias@all} \expandafter\makealiasesforwith\expandafter\mathfrak\expandafter{\expandafter f\expandafter}\expandafter{\mkessler@mathalias@all} + \expandafter\makealiasesforwith\expandafter\mathbb\expandafter{\expandafter b\expandafter}\expandafter{\mkessler@mathalias@all} \fi diff --git a/math/mkessler-mathop.sty b/math/mkessler-mathop.sty index 85d3758..f64005c 100644 --- a/math/mkessler-mathop.sty +++ b/math/mkessler-mathop.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-4 (commit a805b28) +% Source code version: v2.2.2-13 (commit ad29266) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -171,6 +171,7 @@ \DeclareSimpleMathOperator{pr} \def\twedge{\vee} % Semantically correct macros for wedge product \def\tsmash{\wedge} % Semantically correct macro for smash product +\DeclareSimpleMathOperator{sing} %Category Theory \DeclareSimpleMathOperator{Ob} @@ -233,3 +234,10 @@ \def\norm{\@ifstar{\oldnorm}{\oldnorm*}} \DeclareMathOperator{\amalgprod}{\star} + + +\newcommand\op{\text{op}} +\newcommand\opposite{^{\op}} + +\newcommand\ab{\text{ab}} +\newcommand\abelianization{^{\ab}}