summaryrefslogtreecommitdiff
path: root/fonts/newtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-29 03:01:15 +0000
committerNorbert Preining <norbert@preining.info>2019-12-29 03:01:15 +0000
commitd42fde796d40a1fe4936ff2a7d96c1524109db7a (patch)
treea2be29755911215c0aeb936a73aac6df70e7ba93 /fonts/newtx
parent1d29cc334a5a588ee0a0678be215be65df74d6aa (diff)
CTAN sync 201912290301
Diffstat (limited to 'fonts/newtx')
-rw-r--r--fonts/newtx/README9
-rw-r--r--fonts/newtx/tex/newtxmath.sty115
-rw-r--r--fonts/newtx/tex/untxmia.fd30
3 files changed, 93 insertions, 61 deletions
diff --git a/fonts/newtx/README b/fonts/newtx/README
index fa038a04f9..5150d2e2cf 100644
--- a/fonts/newtx/README
+++ b/fonts/newtx/README
@@ -1,10 +1,15 @@
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.62 2019-12-26
+Current version: 1.622 2019-12-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.622
+Fixed a bad bug inadvertently introduced in 1.621.
+Changes in version 1.621
+Changes to newtxmath.sty to resolve conflicts with icdthesis.cls.
+
Changes in version 1.62
1. Changed the definition of \Bbbk to point to the lower-case K in the selected Blackboard Bold alphabet.
2. Added New Century Schoolbook (option NC) to the list of fonts with enhanced math support in newtxmath.
@@ -29,7 +34,7 @@ Changes in version 1.608
2. This version really does include the new names for slanted Greek letters.
Changes in version 1.607
-1. Modified txmiaX.{pfb,tfm}, changing Delta, Sigma and epsilon1 (lunate epsilon symbol) so thay would relate better to the bold, italic and bold italic versions.
+1. Modified txmiaX.{pfb,tfm}, changing Delta, Sigma and epsilon1 (lunate epsilon symbol) so they would relate better to the bold, italic and bold italic versions.
2. Reworked the sixteen tfm files ntx-*f-ot1.tfm, renaming them to replace "ot1" with "ot1r", and then regenerating the sixteen as virtual fonts based on the ot1r versions but with capital Greek taken from tx[b]miaX abd NewTX[B]MI. These now serve as the the ot1 font versions having capital Greeks in the first eleven slots.
3. The slanted greek letters may now be specified as, e.g., \itGamma, as well as the existing \Gammit.
(Thanks to Holger Gerhardt, who spotted the inconsistencies these modifications address.)
diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty
index 4e0d9868ed..576f3754fd 100644
--- a/fonts/newtx/tex/newtxmath.sty
+++ b/fonts/newtx/tex/newtxmath.sty
@@ -11,8 +11,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.62}
-\def\filedate{2019/12/25}
+\def\fileversion{1.622}
+\def\filedate{2019/12/28}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -86,6 +86,7 @@
% Currently (2019-12-11) only txmath, libertine, XCharter, ebgaramond, stickstoo, utopia, nc and cochineal have been enhanced.
\newif\iftx@cochf % switch to long f
\newif\iftx@cochrho % switch to long rho
+\newif\iftx@fourier
%\show\rmdefault
\edef\tx@rmdefault{\rmdefault}
\edef\tx@encdefault{\encodingdefault}
@@ -236,6 +237,7 @@
\DeclareOption{stix2}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55
\DeclareOption{stickstoo}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55
\DeclareOption{nc}{\tx@nctrue\tx@ntxmathfalse} % added in 1.62
+\DeclareOption{ncf}{\tx@nctrue\tx@ntxmathfalse\tx@fouriertrue} % added in 1.622
\DeclareOption{cochf}{\tx@cochftrue} % added in 1.604
\DeclareOption{cochrho}{\tx@cochrhotrue} % added in 1.604
\DeclareOption{alty}{\tx@XChaltytrue} % only in XCharter, added im 1.611
@@ -404,10 +406,17 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\DeclareFontSubstitution{OML}{ntxebgmi}{m}{it}
\else
\iftx@nc
- \def\tx@subs{newtx-nc-subs.tex}
- \DeclareSymbolFont{letters}{OML}{zncmi}{m}{it}
- \SetSymbolFont{letters}{bold}{OML}{zncmi}{b}{it}
- \DeclareFontSubstitution{OML}{zncmi}{m}{it}
+ \iftx@fourier
+ \def\tx@subs{newtx-ncf-subs.tex}
+ \DeclareSymbolFont{letters}{OML}{zncfmi}{m}{it}
+ \SetSymbolFont{letters}{bold}{OML}{zncfmi}{b}{it}
+ \DeclareFontSubstitution{OML}{zncfmi}{m}{it}
+ \else
+ \def\tx@subs{newtx-nc-subs.tex}
+ \DeclareSymbolFont{letters}{OML}{zncmi}{m}{it}
+ \SetSymbolFont{letters}{bold}{OML}{zncmi}{b}{it}
+ \DeclareFontSubstitution{OML}{zncmi}{m}{it}
+ \fi
\else
\def\tx@subs{newtx-subs.tex}
\DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
@@ -766,10 +775,10 @@ amssymbols,uprightGreek,nosubscriptcorrection}
%\DeclareMathDelimiter{(}{\mathopen}{operators}{40}{largesymbols}{0}
%\DeclareMathDelimiter{)}{\mathclose}{operators}{41}{largesymbols}{1}
%\iftx@bigdelims
- \DeclareMathDelimiter{\lgroup}{\mathopen}{largesymbols}{58}{largesymbols}{58}
- \DeclareMathDelimiter{\rgroup}{\mathclose}{largesymbols}{59}{largesymbols}{59}
- \DeclareMathDelimiter{\lmoustache}{\mathopen}{largesymbols}{64}{largesymbols}{64}
- \DeclareMathDelimiter{\rmoustache}{\mathclose}{largesymbols}{65}{largesymbols}{65}
+ \re@DeclareMathDelimiter{\lgroup}{\mathopen}{largesymbols}{58}{largesymbols}{58}
+ \re@DeclareMathDelimiter{\rgroup}{\mathclose}{largesymbols}{59}{largesymbols}{59}
+ \re@DeclareMathDelimiter{\lmoustache}{\mathopen}{largesymbols}{64}{largesymbols}{64}
+ \re@DeclareMathDelimiter{\rmoustache}{\mathclose}{largesymbols}{65}{largesymbols}{65}
\DeclareMathDelimiter{/}{\mathopen}{symbols}{157}{largesymbols}{14}
\DeclareMathDelimiter{(}{\mathopen}{symbols}{185}{largesymbols}{0}
\DeclareMathDelimiter{)}{\mathclose}{symbols}{186}{largesymbols}{1}
@@ -782,30 +791,30 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\DeclareMathDelimiter{\lbrace}{\mathopen}{symbols}{102}{largesymbols}{8}
\DeclareMathDelimiter{\rbrace}{\mathclose}{symbols}{103}{largesymbols}{9}
\DeclareMathDelimiter{\langle}{\mathopen}{symbols}{104}{largesymbols}{10}
- %\DeclareMathDelimiter{<}{\mathopen}{letters}{60}{largesymbols}{140}
+ %\re@DeclareMathDelimiter{<}{\mathopen}{letters}{60}{largesymbols}{140}
\DeclareMathDelimiter{\rangle}{\mathclose}{symbols}{105}{largesymbols}{11}
- %\DeclareMathDelimiter{>}{\mathclose}{letters}{62}{largesymbols}{141}
- \DeclareMathSymbol{\mid}{\mathrel}{symbols}{106}
+ %\re@DeclareMathDelimiter{>}{\mathclose}{letters}{62}{largesymbols}{141}
+ \re@DeclareMathSymbol{\mid}{\mathrel}{symbols}{106}
\DeclareMathDelimiter{|}{\mathord}{symbols}{106}{largesymbols}{12}
\DeclareMathDelimiter{\arrowvert}{\mathord}{symbols}{106}{largesymbols}{60}% 60
\DeclareMathDelimiter{\vert}{\mathord}{symbols}{106}{largesymbols}{12}
- \DeclareMathSymbol{\parallel}{\mathrel}{symbols}{107}
- \DeclareMathDelimiter{\Arrowvert}{\mathord}{symbols}{107}{largesymbols}{61}%61
- \DeclareMathDelimiter{\Vert}{\mathord}{symbols}{107}{largesymbols}{13}
+ \re@DeclareMathSymbol{\parallel}{\mathrel}{symbols}{107}
+ \re@DeclareMathDelimiter{\Arrowvert}{\mathord}{symbols}{107}{largesymbols}{61}%61
+ \re@DeclareMathDelimiter{\Vert}{\mathord}{symbols}{107}{largesymbols}{13}
\let\|=\Vert
- \DeclareMathDelimiter{\updownarrow}{\mathrel}{symbols}{108}{largesymbols}{63}
- \DeclareMathDelimiter{\Updownarrow}{\mathrel}{symbols}{109}{largesymbols}{119}
- \DeclareMathDelimiter{\llbracket}{\mathopen}{symbols}{201}{largesymbolsTXA}{18}
+ \re@DeclareMathDelimiter{\updownarrow}{\mathrel}{symbols}{108}{largesymbols}{63}
+ \re@DeclareMathDelimiter{\Updownarrow}{\mathrel}{symbols}{109}{largesymbols}{119}
+ \re@DeclareMathDelimiter{\llbracket}{\mathopen}{symbols}{201}{largesymbolsTXA}{18}
\let\lBrack=\llbracket
- \DeclareMathDelimiter{\rrbracket}{\mathclose}{symbols}{202}{largesymbolsTXA}{19}
+ \re@DeclareMathDelimiter{\rrbracket}{\mathclose}{symbols}{202}{largesymbolsTXA}{19}
\let\rBrack=\rrbracket
-\DeclareMathDelimiter{\lvert} {\mathopen} {symbols}{106}{largesymbols}{12}
-\DeclareMathDelimiter{\rvert} {\mathclose} {symbols}{106}{largesymbols}{12}
-\DeclareMathDelimiter{\lVert} {\mathopen} {symbols}{107}{largesymbols}{13}
-\DeclareMathDelimiter{\rVert} {\mathclose} {symbols}{107}{largesymbols}{13}
+\re@DeclareMathDelimiter{\lvert} {\mathopen} {symbols}{106}{largesymbols}{12}
+\re@DeclareMathDelimiter{\rvert} {\mathclose} {symbols}{106}{largesymbols}{12}
+\re@DeclareMathDelimiter{\lVert} {\mathopen} {symbols}{107}{largesymbols}{13}
+\re@DeclareMathDelimiter{\rVert} {\mathclose} {symbols}{107}{largesymbols}{13}
-\DeclareMathDelimiter{\smlbrace}{\mathopen}{lettersA}{62}{largesymbols}{8}
-\DeclareMathDelimiter{\smrbrace}{\mathclose}{lettersA}{63}{largesymbols}{9}
+\re@DeclareMathDelimiter{\smlbrace}{\mathopen}{lettersA}{62}{largesymbols}{8}
+\re@DeclareMathDelimiter{\smrbrace}{\mathclose}{lettersA}{63}{largesymbols}{9}
\re@DeclareMathSymbol{\Perp}{\mathrel}{symbols}{205} % was symbolsC
\re@DeclareMathSymbol{\nPerp}{\mathrel}{symbols}{206} % was symbolsC
@@ -887,7 +896,7 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\else\ifx\encodingdefault\ly@one
\re@DeclareMathAccent{\bar}{\mathalpha}{operators}{175}
\re@DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
- \DeclareMathAccent{\tilde}{\mathalpha}{operators}{152}
+ \re@DeclareMathAccent{\tilde}{\mathalpha}{operators}{152}
\fi\fi\fi
\fi
%
@@ -2077,32 +2086,32 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\let\varsigma\varsigmaup
\let\varphi\varphiup
\let\varkappa\varkappaup
- \DeclareMathSymbol{A}{\mathalpha}{operators}{65}
- \DeclareMathSymbol{B}{\mathalpha}{operators}{66}
- \DeclareMathSymbol{C}{\mathalpha}{operators}{67}
- \DeclareMathSymbol{D}{\mathalpha}{operators}{68}
- \DeclareMathSymbol{E}{\mathalpha}{operators}{69}
- \DeclareMathSymbol{F}{\mathalpha}{operators}{70}
- \DeclareMathSymbol{G}{\mathalpha}{operators}{71}
- \DeclareMathSymbol{H}{\mathalpha}{operators}{72}
- \DeclareMathSymbol{I}{\mathalpha}{operators}{73}
- \DeclareMathSymbol{J}{\mathalpha}{operators}{74}
- \DeclareMathSymbol{K}{\mathalpha}{operators}{75}
- \DeclareMathSymbol{L}{\mathalpha}{operators}{76}
- \DeclareMathSymbol{M}{\mathalpha}{operators}{77}
- \DeclareMathSymbol{N}{\mathalpha}{operators}{78}
- \DeclareMathSymbol{O}{\mathalpha}{operators}{79}
- \DeclareMathSymbol{P}{\mathalpha}{operators}{80}
- \DeclareMathSymbol{Q}{\mathalpha}{operators}{81}
- \DeclareMathSymbol{R}{\mathalpha}{operators}{82}
- \DeclareMathSymbol{S}{\mathalpha}{operators}{83}
- \DeclareMathSymbol{T}{\mathalpha}{operators}{84}
- \DeclareMathSymbol{U}{\mathalpha}{operators}{85}
- \DeclareMathSymbol{V}{\mathalpha}{operators}{86}
- \DeclareMathSymbol{W}{\mathalpha}{operators}{87}
- \DeclareMathSymbol{X}{\mathalpha}{operators}{88}
- \DeclareMathSymbol{Y}{\mathalpha}{operators}{89}
- \DeclareMathSymbol{Z}{\mathalpha}{operators}{90}
+ \re@DeclareMathSymbol{A}{\mathalpha}{operators}{65}
+ \re@DeclareMathSymbol{B}{\mathalpha}{operators}{66}
+ \re@DeclareMathSymbol{C}{\mathalpha}{operators}{67}
+ \re@DeclareMathSymbol{D}{\mathalpha}{operators}{68}
+ \re@DeclareMathSymbol{E}{\mathalpha}{operators}{69}
+ \re@DeclareMathSymbol{F}{\mathalpha}{operators}{70}
+ \re@DeclareMathSymbol{G}{\mathalpha}{operators}{71}
+ \re@DeclareMathSymbol{H}{\mathalpha}{operators}{72}
+ \re@DeclareMathSymbol{I}{\mathalpha}{operators}{73}
+ \re@DeclareMathSymbol{J}{\mathalpha}{operators}{74}
+ \re@DeclareMathSymbol{K}{\mathalpha}{operators}{75}
+ \re@DeclareMathSymbol{L}{\mathalpha}{operators}{76}
+ \re@DeclareMathSymbol{M}{\mathalpha}{operators}{77}
+ \re@DeclareMathSymbol{N}{\mathalpha}{operators}{78}
+ \re@DeclareMathSymbol{O}{\mathalpha}{operators}{79}
+ \re@DeclareMathSymbol{P}{\mathalpha}{operators}{80}
+ \re@DeclareMathSymbol{Q}{\mathalpha}{operators}{81}
+ \re@DeclareMathSymbol{R}{\mathalpha}{operators}{82}
+ \re@DeclareMathSymbol{S}{\mathalpha}{operators}{83}
+ \re@DeclareMathSymbol{T}{\mathalpha}{operators}{84}
+ \re@DeclareMathSymbol{U}{\mathalpha}{operators}{85}
+ \re@DeclareMathSymbol{V}{\mathalpha}{operators}{86}
+ \re@DeclareMathSymbol{W}{\mathalpha}{operators}{87}
+ \re@DeclareMathSymbol{X}{\mathalpha}{operators}{88}
+ \re@DeclareMathSymbol{Y}{\mathalpha}{operators}{89}
+ \re@DeclareMathSymbol{Z}{\mathalpha}{operators}{90}
\fi
\re@DeclareMathSymbol{\varg}{\mathord}{lettersA}{181} % was 49
\re@DeclareMathSymbol{\vary}{\mathord}{lettersA}{182} % was 50
diff --git a/fonts/newtx/tex/untxmia.fd b/fonts/newtx/tex/untxmia.fd
index 680c092568..b3f71b5ec6 100644
--- a/fonts/newtx/tex/untxmia.fd
+++ b/fonts/newtx/tex/untxmia.fd
@@ -72,12 +72,30 @@
<-> \ntxmath@scaled zutbmia
}{}
\else
- \DeclareFontShape{U}{ntxmia}{m}{it}{
- <-> \ntxmath@scaled ntxmia
- }{}
- \DeclareFontShape{U}{ntxmia}{b}{it}{
- <-> \ntxmath@scaled ntxbmia
- }{}
+ \iftx@nc
+ \iftx@fourier
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled zncfmia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled zncfbmia
+ }{}
+ \else
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled zncmia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled zncbmia
+ }{}
+ \fi
+ \else
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled ntxmia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled ntxbmia
+ }{}
+ \fi
\fi
\fi
\fi