From 9b5ae77f0310a09c8b3fa35c499cdad119ab5f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Sun, 24 Oct 2021 19:18:59 +0000 Subject: [PATCH] mathalias: add aliases for \mathbb{} in extended mode Build branch topology-1 (8cc3232) from kesslermaximilian/LatexPackages --- build_info.json | 22 +++++++++++----------- math/mkessler-faktor.sty | 26 +++++++++++++------------- math/mkessler-mathalias.sty | 3 ++- math/mkessler-mathop.sty | 3 ++- 4 files changed, 28 insertions(+), 26 deletions(-) diff --git a/build_info.json b/build_info.json index 72b5540..6f91cea 100644 --- a/build_info.json +++ b/build_info.json @@ -1,8 +1,8 @@ { "build_time": "", "source files": { - "version": "v2.2.2-3", - "commit": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "version": "v2.2.2-10", + "commit": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", "dirty": false }, "pytex": { @@ -114,9 +114,9 @@ { "name": "mkessler-mathalias.sty", "source file": "mathalias.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/10/24 19:18", + "source version": "v2.2.2-10", + "source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", "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/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/10/24 19:18", + "source version": "v2.2.2-10", + "source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", "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:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/10/24 19:18", + "source version": "v2.2.2-10", + "source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", "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..2ed51ca 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-10 (commit 8cc3232) % % 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 @@ -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..1a05757 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-10 (commit 8cc3232) % % 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 @@ -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 ebf3a8c..2d2484d 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-3 (commit 1113e0d) +% Source code version: v2.2.2-10 (commit 8cc3232) % % 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 @@ -168,6 +168,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}