summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/diffcoeff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-10 21:02:00 +0000
committerKarl Berry <karl@freefriends.org>2019-03-10 21:02:00 +0000
commit914590824a5ba513f71e0468980616e98e50dcf9 (patch)
tree4ec54ee17352b4cbb675d8641515f2346b0c1d92 /Master/texmf-dist/tex/latex/diffcoeff
parentd16ca4244fc78de114384a57ad8996f6e8f46f76 (diff)
diffcoeff (10mar19)
git-svn-id: svn://tug.org/texlive/trunk@50320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/diffcoeff')
-rw-r--r--Master/texmf-dist/tex/latex/diffcoeff/diffcoeff.sty11
1 files changed, 5 insertions, 6 deletions
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 }
{