diff options
author | Karl Berry <karl@freefriends.org> | 2015-07-26 22:49:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-07-26 22:49:38 +0000 |
commit | 05e4cc432cac4d2b2e33a09be8b44d0cb8d8d252 (patch) | |
tree | a3dd022911e8d8eb20e29b8f8bfcac6536d43b3a /Master/texmf-dist | |
parent | b6caccf2267e7c7052131e09e4c2309d052f9525 (diff) |
newtx (26jul15)
git-svn-id: svn://tug.org/texlive/trunk@37961 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtx/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxmath.sty | 33 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 4 |
3 files changed, 24 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README index 82fc33fcd5c..c52f5c22a0b 100644 --- a/Master/texmf-dist/doc/fonts/newtx/README +++ b/Master/texmf-dist/doc/fonts/newtx/README @@ -1,10 +1,12 @@ 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.45 2015-07-09 +Current version: 1.451 2015-07-28 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.451 +Further revisions to newtxmath.sty to improve usage of \mathrm, \mathit, \mathbf, \mathnormal for Greek uppercase letters with text font packages having appropriate OT1-encoded fonts with uppercase Greek glyphs in the first 11 slots. Changes in version 1.45 1. Reworked math Greek so that it supports \mathnormal, and supports \mathrm and \mathit provided appropriate OT1-encoded text fonts are provided. Currently, this works with newtxtext and libertine, and will be supported by other text families after the OT1 versions are crafted. diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty index 1d5a7b0afd8..dbebf6a478e 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.45} -\def\filedate{2015/07/09} +\def\fileversion{1.451} +\def\filedate{2015/07/28} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -53,7 +53,13 @@ \newif\iftx@minion \newif\iftx@libaltvw \newif\iftx@bv \newif\iftx@ut \newif\iftx@ch \newif\iftx@crimson \newif\iftx@ot % use OT1 for operators -\tx@ottrue % true by default +\def\@tx@ptm{ptm} +\newif\iftx@ptm +\edef\tx@rmdefault{\rmdefault} +\edef\tx@encdefault{\encodingdefault} +\tx@ottrue % default is true +\let\rmdefaultB\rmdefault +\ifx\tx@rmdefault\@tx@ptm \def\rmdefaultB{ntxtlf}\fi % newtxtext \DeclareOption{timesmathacc}{\tx@tmatrue} \DeclareOption{bigdelims}{\tx@bigdelimstrue} \DeclareOption{varbb}{\tx@varbbtrue} @@ -71,8 +77,8 @@ \DeclareOption{Heuristica}{\tx@uttrue\tx@otfalse} \DeclareOption{Erewhon}{\tx@uttrue\tx@otfalse} \DeclareOption{erewhon}{\tx@uttrue\tx@otfalse} -\DeclareOption{charter}{\tx@chtrue\tx@otfalse} -\DeclareOption{xcharter}{\tx@chtrue\tx@otfalse} +\DeclareOption{charter}{\tx@chtrue} +\DeclareOption{xcharter}{\tx@chtrue} \DeclareOption{cmintegrals}{\tx@cminttrue} \DeclareOption{cmbraces}{\tx@bracestrue} \DeclareOption{noamssymbols}{\tx@amsfalse} @@ -86,7 +92,6 @@ \ExecuteOptions{% amssymbols,uprightGreek} \ProcessOptions* - % frenchmath implies uprightGreek \iftx@frenchm\tx@slantedGfalse\fi @@ -102,7 +107,7 @@ amssymbols,uprightGreek} % Use existing text fonts for operators, mathrm, etc \ifxl@otf \iftx@libertine - \ifx\rmdefault\cmr@default + \ifx\tx@rmdefault\cmr@default \renewcommand{\rmdefault}{minlibertine}% since can't load libertine twice \fi \fi @@ -110,24 +115,24 @@ amssymbols,uprightGreek} \edef\bold@wt{\ifx\iflibertine@otf\undefined b\else sb\fi} \let\tx@enc\encodingdefault \iftx@ot\let\tx@enc\ot@one\fi -\DeclareSymbolFont{operators}{\tx@enc}{\rmdefault}{m}{n} -\SetSymbolFont{operators}{bold}{\tx@enc}{\rmdefault}{\bold@wt}{n} +\DeclareSymbolFont{operators}{\tx@enc}{\rmdefaultB}{m}{n} +\SetSymbolFont{operators}{bold}{\tx@enc}{\rmdefaultB}{\bold@wt}{n} \def\operator@font{\mathgroup\symoperators} \DeclareSymbolFontAlphabet{\mathrm}{operators} \DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n} -\DeclareMathAlphabet{\mathit}{\tx@enc}{\rmdefault}{m}{it} +\DeclareMathAlphabet{\mathit}{\tx@enc}{\rmdefaultB}{m}{it} \DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n} \DeclareSymbolFontAlphabet{\mathrm}{operators} -\DeclareMathAlphabet{\mathbf}{\tx@enc}{\rmdefault}{\bold@wt}{n} -\SetMathAlphabet{\mathit}{bold}{\tx@enc}{\rmdefault}{\bold@wt}{it} +\DeclareMathAlphabet{\mathbf}{\tx@enc}{\rmdefaultB}{\bold@wt}{n} +\SetMathAlphabet{\mathit}{bold}{\tx@enc}{\rmdefaultB}{\bold@wt}{it} \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n} \SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n} % change default def of \hbar in case noamssymbols -\ifx\encodingdefault\t@one +\ifx\tx@encdefault\t@one \renewcommand{\hbar}{\raisebox{-.13ex}{\mbox{$\mathchar'11$}}\mkern-8mu h}% \else \renewcommand{\hbar}{\raisebox{-.13ex}{\mbox{$\mathchar'26$}}\mkern-8mu h}% @@ -308,7 +313,7 @@ amssymbols,uprightGreek} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Math Symols & Notations Definitions +% Math Symbols & Notations Definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\joinrel{\mathrel{\mkern-2.5mu}} %-3mu in plain TeX diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index 0c5e250093d..1178051916b 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.45} -\def\filedate{2015/07/09} +\def\fileversion{1.451} +\def\filedate{2015/07/28} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)} |