mathalias: add aliases for \mathbb{} in extended mode
Build branch topology-1 (8cc3232) from kesslermaximilian/LatexPackages
This commit is contained in:
parent
bef4c0f537
commit
9b5ae77f03
4 changed files with 28 additions and 26 deletions
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"build_time": "",
|
"build_time": "",
|
||||||
"source files": {
|
"source files": {
|
||||||
"version": "v2.2.2-3",
|
"version": "v2.2.2-10",
|
||||||
"commit": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4",
|
"commit": "8cc3232462da2584cdfaee9fb32c3ee6f345876c",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
},
|
},
|
||||||
"pytex": {
|
"pytex": {
|
||||||
|
@ -114,9 +114,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-mathalias.sty",
|
"name": "mkessler-mathalias.sty",
|
||||||
"source file": "mathalias.pysty",
|
"source file": "mathalias.pysty",
|
||||||
"build time": "2021/10/24 08:55",
|
"build time": "2021/10/24 19:18",
|
||||||
"source version": "v2.2.2-3",
|
"source version": "v2.2.2-10",
|
||||||
"source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4",
|
"source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
@ -144,9 +144,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-mathop.sty",
|
"name": "mkessler-mathop.sty",
|
||||||
"source file": "mathop.pysty",
|
"source file": "mathop.pysty",
|
||||||
"build time": "2021/10/24 08:55",
|
"build time": "2021/10/24 19:18",
|
||||||
"source version": "v2.2.2-3",
|
"source version": "v2.2.2-10",
|
||||||
"source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4",
|
"source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
@ -174,9 +174,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-faktor.sty",
|
"name": "mkessler-faktor.sty",
|
||||||
"source file": "faktor.pysty",
|
"source file": "faktor.pysty",
|
||||||
"build time": "2021/10/24 08:55",
|
"build time": "2021/10/24 19:18",
|
||||||
"source version": "v2.2.2-3",
|
"source version": "v2.2.2-10",
|
||||||
"source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4",
|
"source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -61,26 +61,26 @@
|
||||||
\RequirePackage{mathtools}
|
\RequirePackage{mathtools}
|
||||||
|
|
||||||
|
|
||||||
\DeclareDocumentCommand{\faktor}{s m O{0.5} m O{-0.5}}{% \newfaktor[*]{#2}[#3]{#4}[#5] -> #2/#4
|
\DeclareDocumentCommand{\faktor}{s O{0.5} m O{-0.5} m}{% \newfaktor[*][#2]{#3}[#4]{#5} -> #3/#5
|
||||||
\setbox0=\hbox{\ensuremath{#2}}% Store numerator
|
\setbox0=\hbox{\ensuremath{#3}}% Store numerator
|
||||||
\setbox1=\hbox{\ensuremath{\diagup}}% Store slash /
|
\setbox1=\hbox{\ensuremath{\diagup}}% Store slash /
|
||||||
\setbox2=\hbox{\ensuremath{#4}}% Store denominator
|
\setbox2=\hbox{\ensuremath{#5}}% Store denominator
|
||||||
\raisebox{#3\ht1}{\usebox0}% Numerator
|
\raisebox{#2\ht1}{\usebox0}% Numerator
|
||||||
\mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash /
|
\mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash /
|
||||||
{\diagup}% regular \faktor 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%
|
\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
|
\DeclareDocumentCommand{\cofaktor}{s m O{-0.5} m O{0.5}}{% \newfaktor[*][#2]{#3}[#4]{#5} -> #2\#4
|
||||||
\setbox0=\hbox{\ensuremath{#2}}% Store numerator
|
\setbox0=\hbox{\ensuremath{#3}}% Store numerator
|
||||||
\setbox1=\hbox{\ensuremath{\diagdown}}% Store slash /
|
\setbox1=\hbox{\ensuremath{\diagdown}}% Store slash /
|
||||||
\setbox2=\hbox{\ensuremath{#4}}% Store denominator
|
\setbox2=\hbox{\ensuremath{#5}}% Store denominator
|
||||||
\raisebox{#3\ht1}{\usebox0}% Numerator
|
\raisebox{#2\ht1}{\usebox0}% Numerator
|
||||||
\mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash /
|
\mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash /
|
||||||
{\diagdown}% regular \faktor 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%
|
\mkern-4mu%
|
||||||
\raisebox{#5\ht2}{\usebox2}% Denominator
|
\raisebox{#4\ht2}{\usebox2}% Denominator
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -85,4 +85,5 @@
|
||||||
\ifmkessler@mathalias@extended
|
\ifmkessler@mathalias@extended
|
||||||
\expandafter\makealiasesforwith\expandafter\mathcal\expandafter{\expandafter c\expandafter}\expandafter{\mkessler@mathalias@all}
|
\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\mathfrak\expandafter{\expandafter f\expandafter}\expandafter{\mkessler@mathalias@all}
|
||||||
|
\expandafter\makealiasesforwith\expandafter\mathbb\expandafter{\expandafter b\expandafter}\expandafter{\mkessler@mathalias@all}
|
||||||
\fi
|
\fi
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -168,6 +168,7 @@
|
||||||
\DeclareSimpleMathOperator{pr}
|
\DeclareSimpleMathOperator{pr}
|
||||||
\def\twedge{\vee} % Semantically correct macros for wedge product
|
\def\twedge{\vee} % Semantically correct macros for wedge product
|
||||||
\def\tsmash{\wedge} % Semantically correct macro for smash product
|
\def\tsmash{\wedge} % Semantically correct macro for smash product
|
||||||
|
\DeclareSimpleMathOperator{sing}
|
||||||
|
|
||||||
%Category Theory
|
%Category Theory
|
||||||
\DeclareSimpleMathOperator{Ob}
|
\DeclareSimpleMathOperator{Ob}
|
||||||
|
|
Loading…
Reference in a new issue