diff options
author | Karl Berry <karl@freefriends.org> | 2015-04-08 22:18:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-04-08 22:18:41 +0000 |
commit | 9fb19b840e4d9e14798fda5d58a99d97fd23d5d8 (patch) | |
tree | 2b4dd96e6ffaacfb0c1afe8a7ea349b6e7b40286 /Master/texmf-dist/tex/latex/newtx | |
parent | 7d0323672e7671b05adecd11768583b8cc70d798 (diff) |
newtx (8apr15)
git-svn-id: svn://tug.org/texlive/trunk@36745 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxmath.sty | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 10 |
2 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty index c9c6a204388..ec3580bb8db 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty @@ -10,8 +10,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.433} -\def\filedate{2015/04/06} +\def\fileversion{1.434} +\def\filedate{2015/04/07} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -1655,8 +1655,15 @@ $\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\newtxmath@openbox 131 % was 3 in ntxsya +\DeclareRobustCommand{\textsquare}{\begingroup + \usefont{U}{ntxsym}{m}{n}\newtxmath@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}{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 diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index 4858d54f699..37655b9c211 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.433} -\def\filedate{2015/04/06} +\def\fileversion{1.434} +\def\filedate{2015/04/07} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)} @@ -15,6 +15,8 @@ \renewcommand*{\familydefault}{\rmdefault} \def\useosf{\edef\ntx@figurestyle{osf}} \@onlypreamble\useosf +\def\useproportional{\edef\ntx@figurealign{}} +\@onlypreamble\useproportional \def\ntx@figurestyle{lf}% default is lining figure style \def\ntx@figurealign{t}% default is tabular figure alignment @@ -45,8 +47,8 @@ \DeclareOption{oldstyle}{\useosf} \DeclareOption{osf}{\useosf} \DeclareOption{tabular}{\edef\ntx@figurealign{t}} -\DeclareOption{p}{\edef\ntx@figurealign{}} -\DeclareOption{proportional}{\edef\ntx@figurealign{}} +\DeclareOption{p}{\useproportional} +\DeclareOption{proportional}{\useproportional} %\DeclareOption{sups}{\ntx@defaultsupsfalse} \DeclareOption{scosf}{\ntx@scosftrue} \ExecuteOptions{lining,tabular} |