summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/fonts/newtxsf/README5
-rw-r--r--Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty16
2 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxsf/README b/Master/texmf-dist/doc/fonts/newtxsf/README
index be945ee9260..787b5c0c2e4 100644
--- a/Master/texmf-dist/doc/fonts/newtxsf/README
+++ b/Master/texmf-dist/doc/fonts/newtxsf/README
@@ -2,7 +2,10 @@ This small package provides a math package that amounts to modifications of the
http://www.ctan.org/license/lppl1.3
for the details of that license.
-Current version: 1.01
+Current version: 1.02
+
+Changes in version 1.02
+1. Corrected definitions of \textsquare and \openbox in newtxsf.sty. (Thanks, Jean-François Burnol.)
Changes in version 1.01
Changed AMSa and AMSb to their replacements in newtx 1.43. This should not affect output, but may make more efficient use of math families.
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