diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/skmath/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/skmath/skmath.pdf | bin | 283968 -> 304439 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/skmath/skmath.tex | 25 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/skmath/skmath.sty | 18 |
4 files changed, 25 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/skmath/README b/Master/texmf-dist/doc/latex/skmath/README index 6c27ea912e8..a5f1ea7c351 100644 --- a/Master/texmf-dist/doc/latex/skmath/README +++ b/Master/texmf-dist/doc/latex/skmath/README @@ -17,7 +17,7 @@ %% This work consists of the file skmath.tex %% and the derived file skmath.sty. -This is version 0.5 of the skmath package, a package which provides +This is version 0.5a of the skmath package, a package which provides improved and new math commands for superior typesetting with lower effort. The following files are enclosed. diff --git a/Master/texmf-dist/doc/latex/skmath/skmath.pdf b/Master/texmf-dist/doc/latex/skmath/skmath.pdf Binary files differindex 170c185bd5d..b2ea462be55 100644 --- a/Master/texmf-dist/doc/latex/skmath/skmath.pdf +++ b/Master/texmf-dist/doc/latex/skmath/skmath.pdf diff --git a/Master/texmf-dist/source/latex/skmath/skmath.tex b/Master/texmf-dist/source/latex/skmath/skmath.tex index 424e795f6b6..d65e2a08877 100644 --- a/Master/texmf-dist/source/latex/skmath/skmath.tex +++ b/Master/texmf-dist/source/latex/skmath/skmath.tex @@ -58,7 +58,7 @@ % This is where the documentation begins \begin{document} % Change & version info - \version{0.5} + \version{0.5a} \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} @@ -72,6 +72,7 @@ \changes{0.4a}{Replaced deprecated/removed \pkg{expl3} constructs} \changes{0.4b}{Track \pkg{expl3} changes (thanks to Joseph Wright)} \changes{0.5}{Added \cs{td} and \cs{ee}} + \changes{0.5a}{Track \pkg{expl3} changes (thanks to Phelype Oleinik)} % Don't forget to update the version number and release date of % the package declaration in the implementation! @@ -305,6 +306,10 @@ is due to the redifinition of \cs{sin} (and friends), which is incompatible with the original \pkg{amsmath} definition. This is a feature, not a bug. + \item[\#29] The spacing between operator names and parentheses + is typographically incorrect. A work-around until this is + fixed in \pkg{skmath} is to use the \cs{mleftright} macro from + \pkg{mleftright} to redefine \cs{left} and \cs{right}. \end{description} If you discover any bugs in this package, please report them to the issue @@ -319,7 +324,7 @@ \begin{MacroCode}{package} \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} \end{MacroCode} @@ -818,7 +823,7 @@ 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:nnTF{#1}{ + \str_case_e:nnTF{#1}{ {0}{} {1}{} {2}{} @@ -848,7 +853,7 @@ We optionally load \pkg{isomath}, depending on notation style. \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 @@ -860,9 +865,9 @@ We optionally load \pkg{isomath}, depending on notation style. \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 } } @@ -876,12 +881,12 @@ We optionally load \pkg{isomath}, depending on notation style. \begin{MacroCode}{package} \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: @@ -920,8 +925,8 @@ We optionally load \pkg{isomath}, depending on notation style. \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} } 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} } |