summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/newtx/tex')
-rw-r--r--fonts/newtx/tex/ly1ntxlf.fd6
-rw-r--r--fonts/newtx/tex/ly1ntxosf.fd6
-rw-r--r--fonts/newtx/tex/ly1ntxth-lf.fd5
-rw-r--r--fonts/newtx/tex/ly1ntxth-osf.fd5
-rw-r--r--fonts/newtx/tex/ly1ntxth-tlf.fd5
-rw-r--r--fonts/newtx/tex/ly1ntxth-tosf.fd5
-rw-r--r--fonts/newtx/tex/ly1ntxtlf.fd6
-rw-r--r--fonts/newtx/tex/ly1ntxtosf.fd2
-rw-r--r--fonts/newtx/tex/newtx.sty9
-rw-r--r--fonts/newtx/tex/newtxtext.sty17
-rw-r--r--fonts/newtx/tex/ot1ntxlf.fd6
-rw-r--r--fonts/newtx/tex/ot1ntxosf.fd6
-rw-r--r--fonts/newtx/tex/ot1ntxth-lf.fd5
-rw-r--r--fonts/newtx/tex/ot1ntxth-osf.fd5
-rw-r--r--fonts/newtx/tex/ot1ntxth-tlf.fd5
-rw-r--r--fonts/newtx/tex/ot1ntxth-tosf.fd5
-rw-r--r--fonts/newtx/tex/ot1ntxtlf.fd6
-rw-r--r--fonts/newtx/tex/ot1ntxtosf.fd2
-rw-r--r--fonts/newtx/tex/t1ntxlf.fd7
-rw-r--r--fonts/newtx/tex/t1ntxosf.fd6
-rw-r--r--fonts/newtx/tex/t1ntxth-lf.fd5
-rw-r--r--fonts/newtx/tex/t1ntxth-osf.fd5
-rw-r--r--fonts/newtx/tex/t1ntxth-tlf.fd5
-rw-r--r--fonts/newtx/tex/t1ntxth-tosf.fd5
-rw-r--r--fonts/newtx/tex/t1ntxtlf.fd6
-rw-r--r--fonts/newtx/tex/t1ntxtosf.fd2
26 files changed, 114 insertions, 33 deletions
diff --git a/fonts/newtx/tex/ly1ntxlf.fd b/fonts/newtx/tex/ly1ntxlf.fd
index 39f830b742..034da72c29 100644
--- a/fonts/newtx/tex/ly1ntxlf.fd
+++ b/fonts/newtx/tex/ly1ntxlf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ly1ntxlf.fd}[2021/05/24 v1.0 font definition file for LY1/ntx/lf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{LY1}{ntxlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ly1ntxosf.fd b/fonts/newtx/tex/ly1ntxosf.fd
index 74671eeaeb..6fed57e4ef 100644
--- a/fonts/newtx/tex/ly1ntxosf.fd
+++ b/fonts/newtx/tex/ly1ntxosf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ly1ntxosf.fd}[2021/05/24 v1.0 font definition file for LY1/ntx/osf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{LY1}{ntxosf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ly1ntxth-lf.fd b/fonts/newtx/tex/ly1ntxth-lf.fd
index 80aba3a322..fe7b7015e0 100644
--- a/fonts/newtx/tex/ly1ntxth-lf.fd
+++ b/fonts/newtx/tex/ly1ntxth-lf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ly1ntxth-lf.fd}[2021/05/07 v1.0 font definition file for LY1/ntxth/lf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{LY1}{ntxth-lf}{\ntx@spacing}
-\DeclareFontShape{LY1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-ly1}{}
+\DeclareFontShape{LY1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-tlf-ly1}{}
\DeclareFontShape{LY1}{ntxth-lf}{m}{n}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{LY1}{ntxth-lf}{m}{sc}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{LY1}{ntxth-lf}{m}{scit}{<->ssub * ntxth-lf/m/it}{}
diff --git a/fonts/newtx/tex/ly1ntxth-osf.fd b/fonts/newtx/tex/ly1ntxth-osf.fd
index cbd55d09cb..2a57d90629 100644
--- a/fonts/newtx/tex/ly1ntxth-osf.fd
+++ b/fonts/newtx/tex/ly1ntxth-osf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ly1ntxth-osf.fd}[2021/05/07 v1.0 font definition file for LY1/ntxth/osf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{LY1}{ntxth-osf}{\ntx@spacing}
-\DeclareFontShape{LY1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-ly1}{}
+\DeclareFontShape{LY1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-ly1}{}
\DeclareFontShape{LY1}{ntxth-osf}{m}{n}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{LY1}{ntxth-osf}{m}{sc}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{LY1}{ntxth-osf}{m}{scit}{<->ssub * ntxth-osf/m/it}{}
diff --git a/fonts/newtx/tex/ly1ntxth-tlf.fd b/fonts/newtx/tex/ly1ntxth-tlf.fd
index a14e107398..a9661e2c07 100644
--- a/fonts/newtx/tex/ly1ntxth-tlf.fd
+++ b/fonts/newtx/tex/ly1ntxth-tlf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ly1ntxth-tlf.fd}[2021/05/06 v1.0 font definition file for LY1/ntxth/tlf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{LY1}{ntxth-tlf}{\ntx@spacing}
-\DeclareFontShape{LY1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-ly1}{}
+\DeclareFontShape{LY1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-tlf-ly1}{}
\DeclareFontShape{LY1}{ntxth-tlf}{m}{n}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{LY1}{ntxth-tlf}{m}{sc}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{LY1}{ntxth-tlf}{m}{scit}{<->ssub * ntxth-tlf/m/it}{}
diff --git a/fonts/newtx/tex/ly1ntxth-tosf.fd b/fonts/newtx/tex/ly1ntxth-tosf.fd
index cf298132f4..31d9ae99c0 100644
--- a/fonts/newtx/tex/ly1ntxth-tosf.fd
+++ b/fonts/newtx/tex/ly1ntxth-tosf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ly1ntxth-tosf.fd}[2021/05/07 v1.0 font definition file for LY1/ntxth/tosf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{LY1}{ntxth-tosf}{\ntx@spacing}
-\DeclareFontShape{LY1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-ly1}{}
+\DeclareFontShape{LY1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-ly1}{}
\DeclareFontShape{LY1}{ntxth-tosf}{m}{n}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{LY1}{ntxth-tosf}{m}{sc}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{LY1}{ntxth-tosf}{m}{scit}{<-> ssub * ntxth-tosf/m/it}{}
diff --git a/fonts/newtx/tex/ly1ntxtlf.fd b/fonts/newtx/tex/ly1ntxtlf.fd
index 485020c14e..b5b7253445 100644
--- a/fonts/newtx/tex/ly1ntxtlf.fd
+++ b/fonts/newtx/tex/ly1ntxtlf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ly1ntxtlf.fd}[2021/05/24 v1.0 font definition file for LY1/ntx/tlf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{LY1}{ntxtlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ly1ntxtosf.fd b/fonts/newtx/tex/ly1ntxtosf.fd
index 0d39a8a288..2c96af3342 100644
--- a/fonts/newtx/tex/ly1ntxtosf.fd
+++ b/fonts/newtx/tex/ly1ntxtosf.fd
@@ -1,6 +1,7 @@
\ProvidesFile{ly1ntxtosf.fd}[2021/05/24 v1.0 font definition file for LY1/ntx/tosf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
@@ -9,6 +10,7 @@
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
diff --git a/fonts/newtx/tex/newtx.sty b/fonts/newtx/tex/newtx.sty
index 2734fed4cc..7024807386 100644
--- a/fonts/newtx/tex/newtx.sty
+++ b/fonts/newtx/tex/newtx.sty
@@ -1,8 +1,8 @@
\NeedsTeXFormat{LaTeX2e}
%Package to simplify loading of newtxtext with newtxmath for all latex engines
-\def\fileversion{1.702}
-\def\filedate{2021/12/27}
+\def\fileversion{1.704}
+\def\filedate{2022/01/09}
\ProvidesPackage{newtx}[%
\filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for newtxtext with newtxmath]
@@ -11,7 +11,7 @@
\RequirePackage{ifthen,ifxetex,ifluatex}
\def\ntx@mathlst{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,subscriptcorrectionfile,timesmathacc,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,nonewtxmathopt,upint,smallerops,useBImacros,varg,varvw,noOT1}
-\def\ntx@textlst{type1,nofontspec,no-math,defaultfeatures,lining,lf,oldstyle,osf,tabular,t,proportional,p,defaultsups,largesc,nott,nohelv,helvratio,spcfactor,spacing,stretch,shrink,defaultfeatures,oldSS,slashedzero,theoremfont,thmlining,trueslanted,scosf,tighter,looser}
+\def\ntx@textlst{type1,nofontspec,no-math,defaultfeatures,lining,lf,oldstyle,osf,tabular,t,proportional,p,defaultsups,largesc,nott,nohelv,helvratio,spcfactor,spacing,stretch,shrink,defaultfeatures,oldSS,slashedzero,theoremfont,thmlining,thmslshape,trueslanted,scosf,tighter,looser}
%\newif\ifntx@inmath\newif\ifntx@intext
%% #2
@@ -47,7 +47,8 @@
\newif\ifntxotfmath\ntxotfmathfalse %default is type1 math
%\newif\ifntxotftext\ntxotftexttrue %default is otftext using newtxtext
%\newcommand{\ntx@optlist}{}
-
+\newif\ifntx@babel\newif\ifntx@
+%\DeclareOptionX{babel}{}
%\DeclareOptionX{type1text}[true]{%
%\@nameuse{if#1}\ntxotftextfalse\fi
%}
diff --git a/fonts/newtx/tex/newtxtext.sty b/fonts/newtx/tex/newtxtext.sty
index b5cf6eefcf..18f9a7fa4d 100644
--- a/fonts/newtx/tex/newtxtext.sty
+++ b/fonts/newtx/tex/newtxtext.sty
@@ -8,8 +8,8 @@
% Text is now directed to an extension of TeXGyreTermes rather than tx.
% 2.0 is first version of newtxtext to support both [pdf]latex and unicode latex.
-\def\fileversion{1.703}
-\def\filedate{2022/01/04}
+\def\fileversion{1.704}
+\def\filedate{2022/01/09}
\ProvidesPackage{newtxtext}[%
\filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyreTermesX]
@@ -183,6 +183,7 @@
\DeclareOptionX{shrink}{%
\def\ntx@shrink{#1}
}
+\def\ntx@thmshape{i} % other option is slanted
\def\ntx@defaultfeatures{}
\newif\ifntx@zeroslash
\def\ntx@thmlin{X} % default is to not change to lining
@@ -191,6 +192,7 @@
\DeclareOptionX{oldSS}{\advance\ntx@cnt 32 }
\DeclareOptionX{slashedzero}{\ntx@zeroslashtrue}
\DeclareOptionX{theoremfont}{\ntx@thrmtrue}
+\DeclareOptionX{thmslshape}{\def\ntx@thmshape{s}}
\DeclareOptionX{thmlining}{\edef\ntx@thmlin{l}}
\DeclareOptionX{trueslanted}{\ntx@sltrue}
\DeclareOptionX{scosf}{\ntx@scosftrue}
@@ -202,7 +204,8 @@
\gdef\ntx@shrink{.1em}\def\ntx@nolo{F}}
\ProcessOptionsX\relax
-\ifntxotf \typeout{ntxotftrue^^J}\else\typeout{ntxotffalse^^J}\fi
+%\ifntxotf \typeout{ntxotftrue^^J}\else\typeout{ntxotffalse^^J}\fi
+
\def\re@DeclareTextSymbol#1#2#3{%
\let#1=\undefined
\DeclareTextSymbol{#1}{#2}{#3}}
@@ -366,8 +369,8 @@
RawFeature=-ss05 ,
\ntx@defaultfeatures ,
}
-
-\else % type1
+
+ \else % type1
\def\ntx@spacing{%
\fontdimen2\font=\ntx@spc
\fontdimen3\font=\ntx@stretch
@@ -520,7 +523,7 @@
\hfil \raise .3ex\hbox{{%
\normalfont
{\scalefont{.6}\tlfstyle#1}}}% end hbox
- \hfil \crcr \textbigcircle}%
+ \hfil \crcr {\usefont{TS1}{ntxtlf}{m}{n}\char"4F}}%\textbigcircle}%
\egroup}
\fi
@@ -573,7 +576,7 @@
\let\ntx@sty\ntx@figurestyle
\if l\ntx@thmlin\def\ntx@sty{Lining}\fi
\newcommand{\thfamily}%{\@nameuse{ntx\ntx@figurestyle}%
- {\itshape\addfontfeatures{%
+ {\@nameuse{\if i\ntx@thmshape itshape\else slshape\fi}\addfontfeatures{%
Numbers={\ntx@figurealign,\ntx@sty} ,
RawFeature=+ss05}
} % for theorems
diff --git a/fonts/newtx/tex/ot1ntxlf.fd b/fonts/newtx/tex/ot1ntxlf.fd
index 52d10e0b78..12b058002c 100644
--- a/fonts/newtx/tex/ot1ntxlf.fd
+++ b/fonts/newtx/tex/ot1ntxlf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ot1ntxlf.fd}[2021/05/24 v1.0 font definition file for OT1/ntx/lf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{OT1}{ntxlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ot1ntxosf.fd b/fonts/newtx/tex/ot1ntxosf.fd
index 43d1895315..88727fb063 100644
--- a/fonts/newtx/tex/ot1ntxosf.fd
+++ b/fonts/newtx/tex/ot1ntxosf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ot1ntxosf.fd}[2021/05/24 v1.0 font definition file for OT1/ntx/osf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{OT1}{ntxosf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ot1ntxth-lf.fd b/fonts/newtx/tex/ot1ntxth-lf.fd
index e88d20a8c9..4976001133 100644
--- a/fonts/newtx/tex/ot1ntxth-lf.fd
+++ b/fonts/newtx/tex/ot1ntxth-lf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ot1ntxth-lf.fd}[2021/05/07 v1.0 font definition file for OT1/ntxth/lf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{OT1}{ntxth-lf}{\ntx@spacing}
-\DeclareFontShape{OT1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
+\DeclareFontShape{OT1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-tlf-ot1}{}
\DeclareFontShape{OT1}{ntxth-lf}{m}{n}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{OT1}{ntxth-lf}{m}{sc}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{OT1}{ntxth-lf}{m}{scit}{<->ssub * ntxth-lf/m/it}{}
diff --git a/fonts/newtx/tex/ot1ntxth-osf.fd b/fonts/newtx/tex/ot1ntxth-osf.fd
index 62d53017ee..1d4407405b 100644
--- a/fonts/newtx/tex/ot1ntxth-osf.fd
+++ b/fonts/newtx/tex/ot1ntxth-osf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ot1ntxth-osf.fd}[2021/05/07 v1.0 font definition file for OT1/ntxth/osf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{OT1}{ntxth-osf}{\ntx@spacing}
-\DeclareFontShape{OT1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-ot1}{}
+\DeclareFontShape{OT1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-ot1}{}
\DeclareFontShape{OT1}{ntxth-osf}{m}{n}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{OT1}{ntxth-osf}{m}{sc}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{OT1}{ntxth-osf}{m}{scit}{<->ssub * ntxth-osf/m/it}{}
diff --git a/fonts/newtx/tex/ot1ntxth-tlf.fd b/fonts/newtx/tex/ot1ntxth-tlf.fd
index f8e64dae78..3340a5faf5 100644
--- a/fonts/newtx/tex/ot1ntxth-tlf.fd
+++ b/fonts/newtx/tex/ot1ntxth-tlf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ot1ntxth-tlf.fd}[2021/05/06 v1.0 font definition file for OT1/ntxth/tlf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{OT1}{ntxth-tlf}{\ntx@spacing}
-\DeclareFontShape{OT1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
+\DeclareFontShape{OT1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-tlf-ot1}{}
\DeclareFontShape{OT1}{ntxth-tlf}{m}{n}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tlf}{m}{sc}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tlf}{m}{scit}{<->ssub * ntxth-tlf/m/it}{}
diff --git a/fonts/newtx/tex/ot1ntxth-tosf.fd b/fonts/newtx/tex/ot1ntxth-tosf.fd
index 8a683572b2..718be12894 100644
--- a/fonts/newtx/tex/ot1ntxth-tosf.fd
+++ b/fonts/newtx/tex/ot1ntxth-tosf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ot1ntxth-tosf.fd}[2021/05/07 v1.0 font definition file for OT1/ntxth/tosf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{OT1}{ntxth-tosf}{\ntx@spacing}
-\DeclareFontShape{OT1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-ot1}{}
+\DeclareFontShape{OT1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-ot1}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{n}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{sc}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{scit}{<->ssub * ntxth-tosf/m/it}{}
diff --git a/fonts/newtx/tex/ot1ntxtlf.fd b/fonts/newtx/tex/ot1ntxtlf.fd
index 60aedef327..834f377769 100644
--- a/fonts/newtx/tex/ot1ntxtlf.fd
+++ b/fonts/newtx/tex/ot1ntxtlf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{ot1ntxtlf.fd}[2021/05/24 v1.0 font definition file for OT1/ntx/tlf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{OT1}{ntxtlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/ot1ntxtosf.fd b/fonts/newtx/tex/ot1ntxtosf.fd
index 9f8629728d..f2c9f71e81 100644
--- a/fonts/newtx/tex/ot1ntxtosf.fd
+++ b/fonts/newtx/tex/ot1ntxtosf.fd
@@ -1,6 +1,7 @@
\ProvidesFile{ot1ntxtosf.fd}[2021/05/24 v1.0 font definition file for OT1/ntx/tosf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
@@ -9,6 +10,7 @@
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
diff --git a/fonts/newtx/tex/t1ntxlf.fd b/fonts/newtx/tex/t1ntxlf.fd
index 3609fb1112..412aade02d 100644
--- a/fonts/newtx/tex/t1ntxlf.fd
+++ b/fonts/newtx/tex/t1ntxlf.fd
@@ -1,14 +1,17 @@
\ProvidesFile{t1ntxlf.fd}[2021/05/24 v1.1 font definition file for T1/ntx/lf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
-
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{T1}{ntxlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/t1ntxosf.fd b/fonts/newtx/tex/t1ntxosf.fd
index d8fbf091ed..228f680d1c 100644
--- a/fonts/newtx/tex/t1ntxosf.fd
+++ b/fonts/newtx/tex/t1ntxosf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{t1ntxosf.fd}[2021/05/24 v1.1 font definition file for T1/ntx/osf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{T1}{ntxosf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/t1ntxth-lf.fd b/fonts/newtx/tex/t1ntxth-lf.fd
index 743672592a..546ac0a094 100644
--- a/fonts/newtx/tex/t1ntxth-lf.fd
+++ b/fonts/newtx/tex/t1ntxth-lf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{t1ntxth-lf.fd}[2021/05/07 v1.0 font definition file for T1/ntxth/lf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{T1}{ntxth-lf}{\ntx@spacing}
-\DeclareFontShape{T1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-t1}{}
+\DeclareFontShape{T1}{ntxth-lf}{m}{it}{<-> \ntx@scaled ntxth-ntx@thrmshape-tlf-t1}{}
\DeclareFontShape{T1}{ntxth-lf}{m}{n}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{T1}{ntxth-lf}{m}{sc}{<->ssub * ntxth-lf/m/it}{}
\DeclareFontShape{T1}{ntxth-lf}{m}{scit}{<->ssub * ntxth-lf/m/it}{}
diff --git a/fonts/newtx/tex/t1ntxth-osf.fd b/fonts/newtx/tex/t1ntxth-osf.fd
index f428e63995..d3023cbd5a 100644
--- a/fonts/newtx/tex/t1ntxth-osf.fd
+++ b/fonts/newtx/tex/t1ntxth-osf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{t1ntxth-osf.fd}[2021/05/07 v1.0 font definition file for T1/ntxth/osf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{T1}{ntxth-osf}{\ntx@spacing}
-\DeclareFontShape{T1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-t1}{}
+\DeclareFontShape{T1}{ntxth-osf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-t1}{}
\DeclareFontShape{T1}{ntxth-osf}{m}{n}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{T1}{ntxth-osf}{m}{sc}{<->ssub * ntxth-osf/m/it}{}
\DeclareFontShape{T1}{ntxth-osf}{m}{scit}{<-> ssub * ntxth-osf/m/it}{}
diff --git a/fonts/newtx/tex/t1ntxth-tlf.fd b/fonts/newtx/tex/t1ntxth-tlf.fd
index d4ace2c2ce..72e6df0715 100644
--- a/fonts/newtx/tex/t1ntxth-tlf.fd
+++ b/fonts/newtx/tex/t1ntxth-tlf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{t1ntxth-tlf.fd}[2021/05/06 v1.0 font definition file for T1/ntxth/tlf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{T1}{ntxth-tlf}{\ntx@spacing}
-\DeclareFontShape{T1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-Italic-tlf-t1}{}
+\DeclareFontShape{T1}{ntxth-tlf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-tlf-t1}{}
\DeclareFontShape{T1}{ntxth-tlf}{m}{n}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{T1}{ntxth-tlf}{m}{sc}{<->ssub * ntxth-tlf/m/it}{}
\DeclareFontShape{T1}{ntxth-tlf}{m}{scit}{<-> ssub * ntxth-tlf/m/it}{}
diff --git a/fonts/newtx/tex/t1ntxth-tosf.fd b/fonts/newtx/tex/t1ntxth-tosf.fd
index cfa6c45770..af893202a9 100644
--- a/fonts/newtx/tex/t1ntxth-tosf.fd
+++ b/fonts/newtx/tex/t1ntxth-tosf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{t1ntxth-tosf.fd}[2021/05/07 v1.0 font definition file for T1/ntxth/tosf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{T1}{ntxth-tosf}{\ntx@spacing}
-\DeclareFontShape{T1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-t1}{}
+\DeclareFontShape{T1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-t1}{}
\DeclareFontShape{T1}{ntxth-tosf}{m}{n}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{T1}{ntxth-tosf}{m}{sc}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{T1}{ntxth-tosf}{m}{scit}{<->ssub * ntxth-tosf/m/it}{}
diff --git a/fonts/newtx/tex/t1ntxtlf.fd b/fonts/newtx/tex/t1ntxtlf.fd
index bf767f4b35..a8f22c035a 100644
--- a/fonts/newtx/tex/t1ntxtlf.fd
+++ b/fonts/newtx/tex/t1ntxtlf.fd
@@ -1,13 +1,17 @@
\ProvidesFile{t1ntxtlf.fd}[2021/05/24 v1.1 font definition file for T1/ntx/tlf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
+\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
-\ifdefined\ntx@largescfalse \ntx@makelsfx\fi
+\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
+\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
\DeclareFontFamily{T1}{ntxtlf}{\ntx@spacing}
diff --git a/fonts/newtx/tex/t1ntxtosf.fd b/fonts/newtx/tex/t1ntxtosf.fd
index 17ffb65acf..6969c1f6c7 100644
--- a/fonts/newtx/tex/t1ntxtosf.fd
+++ b/fonts/newtx/tex/t1ntxtosf.fd
@@ -1,6 +1,7 @@
\ProvidesFile{t1ntxtosf.fd}[2021/05/24 v1.1 font definition file for T1/ntx/tosf]
\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
+\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
@@ -9,6 +10,7 @@
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
+\ntx@makelsfx
\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi