diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/newpxmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index 94fe347c2b9..51d3e659310 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty @@ -11,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.231} -\def\filedate{2015/04/06} +\def\fileversion{1.232} +\def\filedate{2015/04/07} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] \@ifundefined{newpxmathLoaded}{}{\endinput} @@ -1452,8 +1452,15 @@ $\hfil\displaystyle{#1}\hfil$\crcr% %%% %%% for AMS classes %%% -\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} -\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} +\chardef\newpxmath@openbox 131 % was 3 in npxsya +\DeclareRobustCommand{\textsquare}{\begingroup + \usefont{U}{npxsym}{m}{n}\newpxmath@openbox\endgroup} +\DeclareRobustCommand{\openbox}{} +% the spaces below after openbox and textsquare should not be removed +\expandafter\let\csname openbox \expandafter\endcsname + \csname textsquare \endcsname +%\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} +%\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} \def\defaultscriptratio{.73} % default is .7 \def\defaultscriptscriptratio{.55} % default is .5 |