From 914590824a5ba513f71e0468980616e98e50dcf9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 10 Mar 2019 21:02:00 +0000 Subject: diffcoeff (10mar19) git-svn-id: svn://tug.org/texlive/trunk@50320 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/diffcoeff') diff --git a/Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty b/Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty index 63be1a33dbc..71689c911e7 100644 --- a/Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty +++ b/Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty @@ -9,7 +9,7 @@ % \RequirePackage{expl3} \RequirePackage{xparse,l3keys2e,xtemplate} -\ProvidesExplPackage {diffcoeff} {2019/01/01} {3} +\ProvidesExplPackage {diffcoeff} {2019/03/10} {3.1} {Write differential coefficients consistently and easily.} % \keys_define:nn { diffcoeff } @@ -258,7 +258,8 @@ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % differential -% #1 = space before d (0--9); mu is assumed +% #1 variant; #2 = space in mu before d (0--9) +% note \group_end placement for \vec{x} etc \NewDocumentCommand \dl { d.. m } { \group_begin: @@ -271,9 +272,8 @@ \l__diffcoeff_orders_seq \l__diffcoeff_tot_order_tl \c_empty_tl \c_empty_seq \c_empty_tl \tl_if_in:NnTF \c__diffcoeff_digits_tl { #2 } - { \mkern #2 mu \l__diffcoeff_op_tl } - { \l__diffcoeff_op_tl #2 } - \group_end: + { \mkern #2 mu \l__diffcoeff_op_tl \group_end: } + { \l__diffcoeff_op_tl \group_end: #2 } } \NewDocumentCommand \negmu {} { \mkern -1 mu } \NewDocumentCommand \nilmu {} { \mkern 0 mu } @@ -295,7 +295,6 @@ \int_set:Nn \l__diffcoeff_vars_int { \seq_count:N \l__diffcoeff_vars_seq } \int_set:Nn \l_tmpb_int { \seq_count:N \l__diffcoeff_orders_seq } - \int_compare:nNnTF { \l__diffcoeff_vars_int } = { 1 } { \bool_set_true:N \l__diffcoeff_single_var_bool } { -- cgit v1.2.3