diff options
Diffstat (limited to 'fonts/newtx/tex/ot1ntxth-tlf.fd')
-rw-r--r-- | fonts/newtx/tex/ot1ntxth-tlf.fd | 5 |
1 files changed, 4 insertions, 1 deletions
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}{} |