diff options
author | Karl Berry <karl@freefriends.org> | 2015-04-08 22:18:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-04-08 22:18:53 +0000 |
commit | 390bbe5fc6a89dff9943b78ef9c98af6a0f82683 (patch) | |
tree | 183e737a15927e5a5869f35d87685ddcebf3babb /Master/texmf-dist/tex/latex/newtxsf | |
parent | 9fb19b840e4d9e14798fda5d58a99d97fd23d5d8 (diff) |
newtxsf (8apr15)
git-svn-id: svn://tug.org/texlive/trunk@36746 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtxsf')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty | 16 |
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 |