summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-08 22:18:15 +0000
committerKarl Berry <karl@freefriends.org>2015-04-08 22:18:15 +0000
commit7d0323672e7671b05adecd11768583b8cc70d798 (patch)
tree1613d9790c1afed98ba2ffc9c3e550c41738f206 /Master/texmf-dist/tex/latex/newpx/newpxmath.sty
parent5bc2a07ff38a7daf59322a36b9df8b0d8178c502 (diff)
newpx (8apr15)
git-svn-id: svn://tug.org/texlive/trunk@36744 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/newpxmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxmath.sty15
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