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