From 9fb19b840e4d9e14798fda5d58a99d97fd23d5d8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 8 Apr 2015 22:18:41 +0000 Subject: newtx (8apr15) git-svn-id: svn://tug.org/texlive/trunk@36745 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/newtx/README | 6 +++++- Master/texmf-dist/tex/latex/newtx/newtxmath.sty | 15 +++++++++++---- Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 10 ++++++---- 3 files changed, 22 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README index f561aec28ee..ee37918d213 100644 --- a/Master/texmf-dist/doc/fonts/newtx/README +++ b/Master/texmf-dist/doc/fonts/newtx/README @@ -1,10 +1,14 @@ This package, initially based on txfonts, provides many fixes and enhancements to the txfonts package, splitting it into two separate packages---newtxtext and newtxmath, which may be run independently of one another. It provides scaling, improved metrics, and other options. In particular, newtxmath offers a libertine option which substitutes Linux Libertine (provided with TeXLive and MikTeX) italic and Greek letters for the default Times letters, providing a good match for the Libertine text font, which is heavier than Computer Modern but lighter than Times, and in my experience, looks very sharp and clear on the screen. -Current version: 1.433 2015-04-06 +Current version: 1.434 2015-04-07 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3 for the details of that license. +Changes in version 1.434 +1. Corrected definitions of \textsquare and \openbox in newtxmath. (Thanks, Jean-François Burnol.) +2. Added a new macro, \useproportional, to newtxtext.sty. It works analogously to \useosf, and may be useful if working with babel, where the option proportional to newtxtext should not be used is loading a math font. + Changes in version 1.433 Corrected definition of \tosfstyle in newtxtext.sty. (Thanks, Aresh Esbati.) 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} -- cgit v1.2.3