summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex/t1ntxtlf.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-18 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2021-05-18 03:01:12 +0000
commit97eca13a92a0b8ad423b606c8970c9ce64d9b2bf (patch)
tree7275ec8351efb8f8108d65ec87d4cc81512a295a /fonts/newtx/tex/t1ntxtlf.fd
parentd999da47ff375df843c0c9bbfd5911236dd9d40a (diff)
CTAN sync 202105180301
Diffstat (limited to 'fonts/newtx/tex/t1ntxtlf.fd')
-rw-r--r--fonts/newtx/tex/t1ntxtlf.fd21
1 files changed, 17 insertions, 4 deletions
diff --git a/fonts/newtx/tex/t1ntxtlf.fd b/fonts/newtx/tex/t1ntxtlf.fd
index 2c3182cc80..9de08e5de0 100644
--- a/fonts/newtx/tex/t1ntxtlf.fd
+++ b/fonts/newtx/tex/t1ntxtlf.fd
@@ -1,4 +1,8 @@
-\ProvidesFile{t1ntxtlf.fd}[2015/01/17 v1.0 font definition file for T1/ntx/tlf]
+\ProvidesFile{t1ntxtlf.fd}[2021/05/07 v1.1 font definition file for T1/ntx/tlf]
+
+\expandafter\ifx\csname ntx@sltrue\endcsname\relax
+ \global\newif\ntx@sl\global\ntx@sltrue%
+\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
@@ -21,9 +25,18 @@
\DeclareFontShape{T1}{ntxtlf}{bx}{n}{<->ssub * ntxtlf/b/n}{}
\DeclareFontShape{T1}{ntxtlf}{bx}{scit}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{T1}{ntxtlf}{bx}{it}{<->ssub * ntxtlf/b/it}{}
-\DeclareFontShape{T1}{ntxtlf}{m}{sl}{<-> \ntx@scaled ntx-Italic-tlf-th-t1}{}
-\DeclareFontShape{T1}{ntxtlf}{b}{sl}{<->ssub * ntxtlf/m/sl}{}
-\DeclareFontShape{T1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/m/sl}{}
+\ifntx@sl % point to real slanted fonts
+ \DeclareFontShape{T1}{ntxtlf}{m}{sl}{<-> \ntx@scaled t1xsl}{}
+ \DeclareFontShape{T1}{ntxtlf}{b}{sl}{<-> \ntx@scaled ztmbsl-tlf-t1}{}
+ \DeclareFontShape{T1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/b/sl}{}
+
+\else %point to theorem font
+ \DeclareFontShape{T1}{ntxtlf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-t1}{}
+ \DeclareFontShape{T1}{ntxtlf}{b}{sl}{<->ssub * ntxtlf/m/sl}{}
+ \DeclareFontShape{T1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/m/sl}{}
+
+\fi
+
\DeclareFontShape{T1}{ntxtlf}{b}{scsl}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{T1}{ntxtlf}{bx}{scsl}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{T1}{ntxtlf}{m}{scsl}{<->ssub * ntxtlf/m/scit}{}