diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-21 20:13:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-21 20:13:21 +0000 |
commit | 44b32b2d63a16a1cea0784e31a91d6acfdd06dcb (patch) | |
tree | ea435f460a1391867eb3c0a361155b7cd5e4a1d5 /Master/texmf-dist/tex/latex/projlib/projlib-math.sty | |
parent | 535f726c3859c39187f594666ae9d9ea846e188a (diff) |
jxu (21apr22)
git-svn-id: svn://tug.org/texlive/trunk@63098 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-math.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/projlib-math.sty | 14 |
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 |