summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
index b63d0cc8198..7adf0ff57dc 100644
--- a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
+++ b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
@@ -2,8 +2,8 @@
%
% Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.01}
-\def\filedate{2015/03/22}
+\def\fileversion{1.02}
+\def\filedate{2015/04/07}
\ProvidesPackage{newtxsf}
[\filedate\space v\fileversion]
@@ -1484,8 +1484,16 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
%%%
%%% for AMS classes
%%%
-\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
-\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
+\chardef\newtxsf@openbox 131 % was 3 in ntxsya
+\DeclareRobustCommand{\textsquare}{\begingroup
+ \usefont{U}{ntxsym}{m}{n}\newtxsf@openbox\endgroup}
+\DeclareRobustCommand{\openbox}{}
+% we use \let to avoid duplicating the same replacement text
+% 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}{ntxsya}{m}{n}\thr@@\endgroup}
+%\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
\def\defaultscriptratio{.73} % default is .7
\def\defaultscriptscriptratio{.55} % default is .5