summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/skmath/skmath.sty18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/skmath/skmath.sty b/Master/texmf-dist/tex/latex/skmath/skmath.sty
index e856f324f67..94d5daad8c7 100644
--- a/Master/texmf-dist/tex/latex/skmath/skmath.sty
+++ b/Master/texmf-dist/tex/latex/skmath/skmath.sty
@@ -20,7 +20,7 @@
\RequirePackage{expl3,l3keys2e,xparse}
\ProvidesExplPackage{skmath}
- {2018/12/29}{0.5}{improved math commands}
+ {2019/10/15}{0.5a}{improved math commands}
\PassOptionsToPackage{intlimits,sumlimits,namelimits}{amsmath}
\RequirePackage{amssymb,mathtools,xfrac}
\msg_new:nnnn{skmath}{undefined-macro}{The~macro~`\token_to_str:N#1'~was~undefined!}
@@ -285,7 +285,7 @@
\RenewDocumentCommand\frac{mm}{\genfrac{}{}{}{}%
{\displaystyle #1}{\displaystyle #2}}
\prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
- \str_case_x:nnTF{#1}{
+ \str_case_e:nnTF{#1}{
{0}{}
{1}{}
{2}{}
@@ -307,7 +307,7 @@
\clist_set:Nn\l_tmpa_clist{#1}
\clist_map_inline:Nn\l_tmpa_clist{
\seq_set_split:Nnn\l_tmpa_seq{^}{##1}
- \int_compare:nT{\seq_count:N\l_tmpa_seq<\c_two}{
+ \int_compare:nT{\seq_count:N\l_tmpa_seq<2}{
\seq_put_right:Nn\l_tmpa_seq{1}
}
\seq_get_right:NN\l_tmpa_seq\l_tmpb_tl
@@ -319,20 +319,20 @@
\tl_put_right:Nx\l_tmpa_tl{\tl_use:N\l_tmpb_tl}
}
}
- \int_compare:nT{\l_tmpa_int>\c_zero}{\int_use:N\l_tmpa_int}
+ \int_compare:nT{\l_tmpa_int>\c_zero_int}{\int_use:N\l_tmpa_int}
\bool_if:NF\l_tmpa_bool{
- \int_compare:nT{\l_tmpa_int>\c_zero}{+}
+ \int_compare:nT{\l_tmpa_int>\c_zero_int}{+}
\tl_use:N\l_tmpa_tl
}
}
\prg_new_conditional:Npnn\__skmath_pd_if_vars_sum_above_one:n#1{p,T,F,TF}{
\clist_set:Nn\l_tmpa_clist{#1}
- \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one}{
+ \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one_int}{
\prg_return_true:
}{
\clist_pop:NN\l_tmpa_clist\l_tmpa_tl
\seq_set_split:NnV\l_tmpa_seq{^}{\l_tmpa_tl}
- \int_compare:nTF{\seq_count:N\l_tmpa_seq<\c_two}{
+ \int_compare:nTF{\seq_count:N\l_tmpa_seq<2}{
\prg_return_false:
}{
\prg_return_true:
@@ -358,8 +358,8 @@
\clist_map_inline:Nn\l_tmpa_clist{
\seq_set_split:Nnn\l_tmpa_seq{^}{##1}
\seq_pop:NN\l_tmpa_seq\l_tmpa_tl
- \int_set:Nn\l_tmpa_int{\c_one}
- \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero}{
+ \int_set:Nn\l_tmpa_int{\c_one_int}
+ \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero_int}{
\seq_pop:NN\l_tmpa_seq\l_tmpb_tl
\int_set:Nn\l_tmpa_int{\tl_use:N\l_tmpb_tl}
}