From d46a477a39ac4ca8d3be7791662bcf2512e17553 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 25 Jun 2016 22:11:07 +0000 Subject: skmath (25jun16) git-svn-id: svn://tug.org/texlive/trunk@41540 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/skmath/skmath.tex | 33 +++++++++++++----------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/source/latex/skmath') 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 +%% Copyright (C) 2012-2016 by Simon Sigurdhsson %% %% 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*} -- cgit v1.2.3