summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd
index e88d20a8c95..4976001133f 100644
--- a/Master/texmf-dist/tex/latex/newtx/ot1ntxth-lf.fd
+++ b/Master/texmf-dist/tex/latex/newtx/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}{}