summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-math.sty')
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-math.sty14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-math.sty b/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
index 4ad7cedd089..5eae9022fa6 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
@@ -19,7 +19,7 @@
\RequirePackage{l3keys2e}
\ProvidesExplPackage
{projlib-math}
- {2022/04/03} {}
+ {2022/04/18} {}
{Efficient math setup}
\keys_define:nn { projlib-math }
@@ -92,7 +92,7 @@
}
\cs_generate_variant:Nn \__projlib_math_define_operator:nnn { nee }
-\NewDocumentCommand \DefineOperator { s O{} m O{} }
+\NewDocumentCommand \DefineMathOperator { s O{} m O{} }
{
\tl_if_blank:nTF { #2 }
{
@@ -102,14 +102,15 @@
\projlib_math_define_operator:nnn { #1 } { #3 } { #2 }
}
}
+\NewCommandCopy \DefineOperator \DefineMathOperator
\msg_new:nnn { projlib-math }
{ shortcut-not-define }
- { The~shortcut~"\iow_char:N \\#1"~cannot~be~defined,~a~command~with~the~same~name~has~already~existed. }
+ { The~symbol~/~shortcut~"\iow_char:N \\#1"~cannot~be~defined,~a~command~with~the~same~name~has~already~existed. }
\msg_new:nnn { projlib-math }
{ shortcut-type-not-define }
- { The~shortcut~type~"#1"~is~not~available,~a~command~with~the~same~name~has~already~existed. }
+ { The~symbol~/~shortcut~type~"#1"~is~not~available,~a~command~with~the~same~name~has~already~existed. }
\keys_define:nn { projlib-math-shortcut }
{
@@ -184,7 +185,7 @@
{
\cs_if_exist:cTF { #1 }
{
- \msg_warning:nnn { projlib-math } { shortcut-type-not-define } { #1 }
+ \msg_warning:nnn { projlib-math } { shortcut-not-define } { #1 }
}
{
\exp_args:Nno \use:n
@@ -194,7 +195,7 @@
}
\cs_generate_variant:Nn \__projlib_math_define_shortcut:nn { ee }
-\NewDocumentCommand \DefineShortcut { s O{} m O{} }
+\NewDocumentCommand \DefineMathSymbol { s O{} m O{} }
{
\tl_if_blank:nTF { #2 }
{
@@ -204,6 +205,7 @@
\projlib_math_define_shortcut:nnn { #1 } { #3 } { #2 }
}
}
+\NewCommandCopy \DefineShortcut \DefineMathSymbol
\cs_new:Nn \__projlib_math_list_of_symbols_entry:nnnn
% #1 = column one width