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 | |
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')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxsf/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty | 16 |
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 |