summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-17 20:37:11 +0000
committerKarl Berry <karl@freefriends.org>2021-05-17 20:37:11 +0000
commit00085afeded239f44fcdb90c9f1ba8ec7f3680be (patch)
treeeeab87cdb0d428cc1834d8b7e341a9f7956b7830 /Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd
parentd42078d58faed67af2b4e8521044e65561b1bcf1 (diff)
newtx (17may21)
git-svn-id: svn://tug.org/texlive/trunk@59238 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd
index 02c7aef37cc..7fd8882ac8d 100644
--- a/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd
+++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd
@@ -1,4 +1,8 @@
-\ProvidesFile{ly1ntxtlf.fd}[2015/01/17 v1.0 font definition file for LY1/ntx/tlf]
+\ProvidesFile{ly1ntxtlf.fd}[2021/05/08 v1.0 font definition file for LY1/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,15 @@
\DeclareFontShape{LY1}{ntxtlf}{bx}{n}{<->ssub * ntxtlf/b/n}{}
\DeclareFontShape{LY1}{ntxtlf}{bx}{scit}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{LY1}{ntxtlf}{bx}{it}{<->ssub * ntxtlf/b/it}{}
-\DeclareFontShape{LY1}{ntxtlf}{m}{sl}{<-> \ntx@scaled ntx-Italic-tlf-th-ly1}{}
-\DeclareFontShape{LY1}{ntxtlf}{b}{sl}{<->ssub * ntxtlf/m/sl}{}
-\DeclareFontShape{LY1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/m/sl}{}
+\ifntx@sl % point to real slanted fonts
+ \DeclareFontShape{LY1}{ntxtlf}{m}{sl}{<-> \ntx@scaled tyxsl}{}
+ \DeclareFontShape{LY1}{ntxtlf}{b}{sl}{<-> \ntx@scaled ztmbsl-tlf-ly1}{}
+ \DeclareFontShape{LY1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{LY1}{ntxtlf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
+ \DeclareFontShape{LY1}{ntxtlf}{b}{sl}{<->ssub * ntxtlf/m/sl}{}
+ \DeclareFontShape{LY1}{ntxtlf}{bx}{sl}{<->ssub * ntxtlf/m/sl}{}
+\fi
\DeclareFontShape{LY1}{ntxtlf}{b}{scsl}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{LY1}{ntxtlf}{bx}{scsl}{<->ssub * ntxtlf/b/scit}{}
\DeclareFontShape{LY1}{ntxtlf}{m}{scsl}{<->ssub * ntxtlf/m/scit}{}