summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.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/ly1ntxtosf.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/ly1ntxtosf.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd
index 32c7f2fee4c..918953a2ab9 100644
--- a/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd
+++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd
@@ -1,4 +1,8 @@
-\ProvidesFile{ly1ntxtosf.fd}[2015/01/17 v1.0 font definition file for LY1/ntx/tosf]
+\ProvidesFile{ly1ntxtosf.fd}[2021/05/08 v1.0 font definition file for LY1/ntx/tosf]
+
+\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%
@@ -23,9 +27,15 @@
\DeclareFontShape{LY1}{ntxtosf}{bx}{n}{<->ssub * ntxtosf/b/n}{}
\DeclareFontShape{LY1}{ntxtosf}{bx}{scit}{<->ssub * ntxtosf/b/scit}{}
\DeclareFontShape{LY1}{ntxtosf}{bx}{it}{<->ssub * ntxtosf/b/it}{}
-\DeclareFontShape{LY1}{ntxtosf}{m}{sl}{<-> \ntx@scaled ntx-Italic-osf-th-ly1}{}
-\DeclareFontShape{LY1}{ntxtosf}{b}{sl}{<->ssub * ntxtosf/m/sl}{}
-\DeclareFontShape{LY1}{ntxtosf}{bx}{sl}{<->ssub * ntxtosf/m/sl}{}
+\ifntx@sl % point to real slanted fonts
+ \DeclareFontShape{LY1}{ntxtosf}{m}{sl}{<-> \ntx@scaled ly1xsl-tosf}{}
+ \DeclareFontShape{LY1}{ntxtosf}{b}{sl}{<-> \ntx@scaled ztmbsl-tosf-ly1}{}
+ \DeclareFontShape{LY1}{ntxtosf}{bx}{sl}{<->ssub * ntxtosf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{LY1}{ntxtosf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
+ \DeclareFontShape{LY1}{ntxtosf}{b}{sl}{<->ssub * ntxtosf/m/sl}{}
+ \DeclareFontShape{LY1}{ntxtosf}{bx}{sl}{<->ssub * ntxtosf/m/sl}{}
+\fi
\DeclareFontShape{LY1}{ntxtosf}{b}{scsl}{<->ssub * ntxtosf/b/scit}{}
\DeclareFontShape{LY1}{ntxtosf}{bx}{scsl}{<->ssub * ntxtosf/b/scit}{}
\DeclareFontShape{LY1}{ntxtosf}{m}{scsl}{<->ssub * ntxtosf/m/scit}{}