diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/bm.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tools/bm.dtx | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/tools/bm.dtx b/Master/texmf-dist/source/latex/tools/bm.dtx index 785cbacce30..11b159cbde2 100644 --- a/Master/texmf-dist/source/latex/tools/bm.dtx +++ b/Master/texmf-dist/source/latex/tools/bm.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2017 % % The LaTeX3 Project and any individual authors listed elsewhere % in this file. @@ -22,11 +22,10 @@ % \fi % % \iffalse -%% Copyright 1996 1997 1998 1999 2002 2003 2004 2016 +%% Copyright 1996 1997 1998 1999 2002 2003 2004 2016 2017 %% David Carlisle Frank Mittelbach %% %% Development of this package was commissioned by Y&Y Inc. -%% http://www.yandy.com % % %<*dtx> @@ -37,7 +36,7 @@ %<driver>\ProvidesFile{bm.drv} % \fi % \ProvidesFile{bm.dtx} - [2016/07/07 v1.2b Bold Symbol Support (DPC/FMi)] + [2017/01/16 v1.2c Bold Symbol Support (DPC/FMi)] % % \iffalse %<*driver> @@ -1364,6 +1363,8 @@ % \begin{macro}{\bm@umathchar} % \changes{v1.2a}{2016/02/27} % {Macro added} +% \changes{v1.2a}{2017/01/16} +% {Test for zero table entry (\cs{boldmath}) added} % Version of \verb|\bm@mathchar| for \verb|\Umathchar|, this is easier % as no need to take apart the number, the match class and fam are provided % as distinct arguments. @@ -1371,14 +1372,17 @@ \def\bm@umathchar#1#2#3{% \@tempcnta#2\relax \count@\bm@table -\ifx\count@=\m@ne -% no bold +\ifnum\count@=\z@ + \bm@gr@up\boldmath{\Umathchar#1 #2 #3 }% \else - \advance\@tempcnta\count@ -\fi -\bm@xadd{\Umathchar#1\space - \the\@tempcnta\space\space - #3\space}} + \ifnum\count@=\m@ne + \else + \advance\@tempcnta\count@ + \fi + \bm@xadd{\Umathchar#1\space + \the\@tempcnta\space\space + #3\space}% +\fi} % \end{macrocode} % \end{macro} % |