summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tools/bm.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tools/bm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tools/bm.sty21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/tools/bm.sty b/Master/texmf-dist/tex/latex/tools/bm.sty
index 235db4e1b4d..3f53cec02f5 100644
--- a/Master/texmf-dist/tex/latex/tools/bm.sty
+++ b/Master/texmf-dist/tex/latex/tools/bm.sty
@@ -34,14 +34,13 @@
%% The list of all files belonging to the LaTeX `Tools Bundle' is
%% given in the file `manifest.txt'.
%%
-%% 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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bm}
- [2016/07/07 v1.2b Bold Symbol Support (DPC/FMi)]
+ [2017/01/16 v1.2c Bold Symbol Support (DPC/FMi)]
\def\bm#1#2{%
\let\bm@pmb\install@mathalphabet
\let\bm@pmb@\getanddefine@fonts
@@ -343,13 +342,17 @@
\def\bm@umathchar#1#2#3{%
\@tempcnta#2\relax
\count@\bm@table
-\ifx\count@=\m@ne
+\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}
\def\bm@pmb#1{%
\bm@add{\bm@pmb@{#1}}}
\def\bm@pmb@#1{{%