summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/skmath
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/skmath')
-rw-r--r--Master/texmf-dist/tex/latex/skmath/skmath.sty30
1 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/skmath/skmath.sty b/Master/texmf-dist/tex/latex/skmath/skmath.sty
index 8ace6a186b0..90179e3402b 100644
--- a/Master/texmf-dist/tex/latex/skmath/skmath.sty
+++ b/Master/texmf-dist/tex/latex/skmath/skmath.sty
@@ -1,7 +1,7 @@
%% This is file `skmath.sty', generated from `skmath.tex' (key `package').
%% skmath improved math commands
%%
-%% Copyright (C) 2012-2015 by Simon Sigurdhsson <sigurdhsson@gmail.com>
+%% Copyright (C) 2012-2016 by Simon Sigurdhsson <sigurdhsson@gmail.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -20,7 +20,7 @@
\RequirePackage{expl3,l3keys2e,xparse}
\ProvidesExplPackage{skmath}
- {2015/01/05}{0.4}{improved math commands}
+ {2016/06/25}{0.4a}{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!}
@@ -272,18 +272,20 @@
\RenewDocumentCommand\frac{mm}{\genfrac{}{}{}{}%
{\displaystyle #1}{\displaystyle #2}}
\prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
- \str_case_x:nnn{#1}{
- {0}{\prg_return_true:}
- {1}{\prg_return_true:}
- {2}{\prg_return_true:}
- {3}{\prg_return_true:}
- {4}{\prg_return_true:}
- {5}{\prg_return_true:}
- {6}{\prg_return_true:}
- {7}{\prg_return_true:}
- {8}{\prg_return_true:}
- {9}{\prg_return_true:}
- }{\prg_return_false:}
+ \str_case_x:nnTF{#1}{
+ {0}{}
+ {1}{}
+ {2}{}
+ {3}{}
+ {4}{}
+ {5}{}
+ {6}{}
+ {7}{}
+ {8}{}
+ {9}{}
+ }
+ {\prg_return_false:}
+ {\prg_return_false:}
}
\cs_new_nopar:Npn\__skmath_pd_vars_sum:n#1{
\tl_clear:N\l_tmpa_tl