summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README9
-rw-r--r--Master/texmf-dist/fonts/tfm/public/newtx/ntxmi15.tfmbin2224 -> 1940 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/newtx/ntxmi17.tfmbin2204 -> 1924 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/newtx/ntxmi5.tfmbin2208 -> 1916 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/newtx/ntxmi7.tfmbin2196 -> 1904 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/newtx/ntxmi15.vfbin2184 -> 2068 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/newtx/ntxmi17.vfbin2200 -> 1568 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/newtx/ntxmi5.vfbin2156 -> 2044 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/newtx/ntxmi7.vfbin2172 -> 1548 bytes
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty48
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxtext.sty4
-rw-r--r--Master/texmf-dist/tex/latex/newtx/omlntxmi.fd29
12 files changed, 81 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index cc5114acc39..53af5b441a5 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -1,10 +1,17 @@
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.452 2015-08-08
+Current version: 1.46 2015-08-29
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.46
+There are several changes to newtxmath, all related to its subscript rendering.
+(i) A new option, nonewtxmathopt, prevents the use of optical sizes for mathematical subscripts. This can in some cases improve the rendering in cases where spacing is problematic.
+(ii) Inspired by the subscriptcorrection option in mtpro2, a similar option is now available in newtxmath. It is designed for use only when Times math fonts are being used.
+(iii) The optical sizes in newtxmath (Times) have been refined to work around some spacing issues.
+(iv) A new option, scalesubdrop, changes the fontdimens sigma_16 and sigma_17 by a multiplicative factor. E.g., scalesubdrop=1.4 will change the drop of the subscript to 40% more than its default value.
+
Changes in version 1.452
Modified encoding files for T1 and LY1 so that << and >> ligatures work as expected.
diff --git a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi15.tfm b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi15.tfm
index 1795c53be72..2a8078634f7 100644
--- a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi15.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi15.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi17.tfm b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi17.tfm
index 68d35769de5..50d5dae1587 100644
--- a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi17.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi17.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi5.tfm b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi5.tfm
index 8d36fd656d1..70a30fbde73 100644
--- a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi5.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi5.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi7.tfm b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi7.tfm
index 258196d1dd4..433f87cfb71 100644
--- a/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi7.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/newtx/ntxmi7.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi15.vf b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi15.vf
index 4491a21ed3f..2fd0890c570 100644
--- a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi15.vf
+++ b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi15.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi17.vf b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi17.vf
index f050c19e903..044f372501c 100644
--- a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi17.vf
+++ b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi17.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi5.vf b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi5.vf
index 8c79410f98a..9f3e6544a42 100644
--- a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi5.vf
+++ b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi5.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi7.vf b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi7.vf
index d342872cb04..4f193fdd49d 100644
--- a/Master/texmf-dist/fonts/vf/public/newtx/ntxmi7.vf
+++ b/Master/texmf-dist/fonts/vf/public/newtx/ntxmi7.vf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index e136dacdb58..3ea9457e135 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.452}
-\def\filedate{2015/08/08}
+\def\fileversion{1.46}
+\def\filedate{2015/08/29}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -28,6 +28,7 @@
\xl@otftrue
\fi
\fi
+\newif\iftx@noopt
\newcommand{\cmr@default}{cmr}
\def\ly@one{LY1}
\def\t@one{T1}
@@ -36,6 +37,8 @@
\input{binhex}
\let\ntxmath@scaled\@empty
\define@key{ntxmath}{scaled}[1.0]{\def\ntxmath@scaled{s*[#1]}}
+\define@key{ntxmath}{scalesubdrop}[1.0]{\DeclareRobustCommand{\ntx@scalesub}{%
+\fontdimen16\font=#1\fontdimen16\font\fontdimen17\font=#1\fontdimen17\font}}
\DeclareOption*{%
\begingroup
\edef\x{\endgroup
@@ -60,6 +63,10 @@
\tx@ottrue % default is true
\let\rmdefaultB\rmdefault
\ifx\tx@rmdefault\@tx@ptm \def\rmdefaultB{ntxtlf}\fi % newtxtext
+\newcommand\enablesbcorrection{\AtBeginDocument{\mathcode`\_=\string"8000 \catcode`\_=12\relax}}
+\newcommand\disablesbcorrection{\catcode`\_=8\relax}
+\DeclareOption{nosubscriptcorrection}{\disablesbcorrection}
+\DeclareOption{subscriptcorrection} {\enablesbcorrection}
\DeclareOption{timesmathacc}{\tx@tmatrue}
\DeclareOption{bigdelims}{\tx@bigdelimstrue}
\DeclareOption{varbb}{\tx@varbbtrue}
@@ -89,8 +96,10 @@
\DeclareOption{largelibfigs}{\tx@largelibfigstrue}
\DeclareOption{liby}{\tx@libytrue}
\DeclareOption{frenchmath}{\tx@frenchmtrue}
+\DeclareOption{nonewtxmathopt}{\tx@noopttrue}
+\DeclareOption{scale}{\tx@noopttrue}
\ExecuteOptions{%
-amssymbols,uprightGreek}
+amssymbols,uprightGreek,nosubscriptcorrection}
\ProcessOptions*
% frenchmath implies uprightGreek
\iftx@frenchm\tx@slantedGfalse\fi
@@ -311,7 +320,38 @@ amssymbols,uprightGreek}
\def\equalht#1{\tx@XXX #1\@nil}
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Subscript correction code
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begingroup
+ \catcode`\_=13
+ \gdef_{\futurelet\next\s@@b}
+\endgroup
+\def\s@@b{\ifcat\relax\noexpand\next\expandafter\sb\else
+ \expandafter\s@@b@\fi}
+\def\s@@b@#1{\sb{\futurelet\next\sb@#1}}
+\def\sb@{%
+ \ifx\next\space@\def\next@. {\futurelet\next\sb@}\else
+ \def\next@.{%
+ \ifx\next f\mkern-\tw@ mu\else
+ \ifx\next j\mkern-\tw@ mu\else
+ \ifx\next p\mkern-\@ne mu\else
+ %\ifx\next t\mkern\@ne mu\else
+ \ifx\next y\mkern-\@ne mu\else
+ \ifx\next A\mkern-\tw@ mu\else
+ \ifx\next B\mkern-\@ne mu\else
+ \ifx\next D\mkern-\@ne mu\else
+ \ifx\next H\mkern-\@ne mu\else
+ \ifx\next I\mkern-\@ne mu\else
+ \ifx\next K\mkern-\@ne mu\else
+ \ifx\next L\mkern-\@ne mu\else
+ \ifx\next M\mkern-\@ne mu\else
+ \ifx\next N\mkern-0.5mu\else
+ \ifx\next P\mkern-\@ne mu\else
+ \ifx\next X\mkern-\@ne mu\else
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}%
+ \fi
+ \next@.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbols & Notations Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
index d3d38bf062e..c14667f8169 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.452}
-\def\filedate{2015/08/08}
+\def\fileversion{1.46}
+\def\filedate{2015/08/29}
\ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
\message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)}
diff --git a/Master/texmf-dist/tex/latex/newtx/omlntxmi.fd b/Master/texmf-dist/tex/latex/newtx/omlntxmi.fd
index ba411f516c7..38a38956e4e 100644
--- a/Master/texmf-dist/tex/latex/newtx/omlntxmi.fd
+++ b/Master/texmf-dist/tex/latex/newtx/omlntxmi.fd
@@ -4,15 +4,28 @@
%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
\ProvidesFile{omlntxmi.fd}
- [2012/03/22 Fontinst v1.933 font definitions for OML/ntxmi.]
+ [2015/08/25 Fontinst v1.933 font definitions for OML/ntxmi.]
\expandafter\ifx\csname ntxmath@scaled\endcsname\relax
\let\ntxmath@scaled\@empty%
\fi
+\def\tx@donoopt{\newif\iftx@noopt}
+\expandafter\ifx\csname tx@nooptfalse\endcsname\relax
+ \tx@donoopt
+\fi
\DeclareFontFamily{OML}{ntxmi}{\skewchar\font127 }
+
\ifx\X@s@v@rg\undefined
+\iftx@noopt % no optical sizes
+\DeclareFontShape{OML}{ntxmi}{m}{it}{
+ <-> \ntxmath@scaled ntxmi
+}{}
+\DeclareFontShape{OML}{ntxmi}{b}{it}{
+ <-> \ntxmath@scaled ntxbmi
+}{}
+\else % optical sizes
\DeclareFontShape{OML}{ntxmi}{m}{it}{
<-6.3> \ntxmath@scaled ntxmi5
<6.3-8.6> \ntxmath@scaled ntxmi7 % from 6.3 up to, but not including, 8.6
@@ -23,6 +36,15 @@
<6.3-8.6> \ntxmath@scaled ntxbmi7 % from 6.3 up to, but not including, 8.6
<8.6-> \ntxmath@scaled ntxbmi%
}{}
+\fi %tx@noopt
+\else %\X@s@v@rg is defined
+\iftx@noopt
+\DeclareFontShape{OML}{ntxmi}{m}{it}{
+ <-> \ntxmath@scaled ntxmi1
+}{}
+\DeclareFontShape{OML}{ntxmi}{b}{it}{
+ <-> \ntxmath@scaled ntxbmi1
+}{}
\else
\DeclareFontShape{OML}{ntxmi}{m}{it}{
<-6.3> \ntxmath@scaled ntxmi15
@@ -34,7 +56,10 @@
<6.3-8.6> \ntxmath@scaled ntxbmi17 % from 6.3 up to, but not including, 8.6
<8.6-> \ntxmath@scaled ntxbmi1%
}{}
-\fi
+\fi %tx@noopt
+\fi %\X@s@v@rg
+
+
\DeclareFontShape{OML}{ntxmi}{l}{it}{<->ssub * ntxmi/m/it}{}
\DeclareFontShape{OML}{ntxmi}{bx}{it}{<->ssub * ntxmi/b/it}{}