summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/skmath/skmath.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/skmath/skmath.tex')
-rw-r--r--Master/texmf-dist/source/latex/skmath/skmath.tex33
1 files changed, 18 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/skmath/skmath.tex b/Master/texmf-dist/source/latex/skmath/skmath.tex
index a63f070a2ca..85401d8941d 100644
--- a/Master/texmf-dist/source/latex/skmath/skmath.tex
+++ b/Master/texmf-dist/source/latex/skmath/skmath.tex
@@ -1,6 +1,6 @@
%% 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
@@ -56,7 +56,7 @@
% This is where the documentation begins
\begin{document}
% Change & version info
- \version{0.4}
+ \version{0.4a}
\changes{0.1}{Initial version}
\changes{0.1c}{Moved package from \pkg{docstrip} to \pkg{skdoc}}
\changes{0.1d}{Fixed fatal documentation and package errors}
@@ -67,6 +67,7 @@
\changes{0.3a}{Added \cs{sinh}, \cs{cosh} and \cs{tanh}}
\changes{0.3b}{Detect empty arguments in trigonometric and logarithmic functions, fix \cs{ln}}
\changes{0.4}{Added \opt{notation} option, macros for complex numbers}
+ \changes{0.4a}{Replaced deprecated/removed \pkg{expl3} constructs}
% Don't forget to update the version number and release date of
% the package declaration in the implementation!
@@ -301,7 +302,7 @@
\begin{MacroCode}{package}
\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}
\end{MacroCode}
@@ -784,18 +785,20 @@ We optionally load \pkg{isomath}, depending on notation style.
{Token or string}
\begin{MacroCode}{package}
\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:}
}
\end{MacroCode}
\end{macro*}