summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-22 20:13:21 +0000
committerKarl Berry <karl@freefriends.org>2021-05-22 20:13:21 +0000
commitaf973a429bcf691d7a19954d7d34792ea2456554 (patch)
tree88199becc92e900bb82555ba6e3d70f3c865ad8f /Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd
parent81cc3a871c21f9f0dd91f63d022767ecfcf39765 (diff)
newpx (22may21)
git-svn-id: svn://tug.org/texlive/trunk@59303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd b/Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd
index 813c8a8e28b..015ec403252 100644
--- a/Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd
+++ b/Master/texmf-dist/tex/latex/newpx/ly1zpllf.fd
@@ -1,5 +1,7 @@
\ProvidesFile{ly1zpllf.fd}[2015/01/17 v1.0 font definition file for LY1/zpl/lf]
+\@ifundefined{ifzpl@sl}{\global\newif\ifzpl@sl\global\zpl@sltrue}{}
+
\expandafter\ifx\csname zpl@scaled\endcsname\relax
\global\let\zpl@scaled\@empty%
\fi
@@ -21,9 +23,15 @@
\DeclareFontShape{LY1}{zpllf}{bx}{n}{<->ssub * zpllf/b/n}{}
\DeclareFontShape{LY1}{zpllf}{bx}{scit}{<->ssub * zpllf/b/scit}{}
\DeclareFontShape{LY1}{zpllf}{bx}{it}{<->ssub * zpllf/b/it}{}
-\DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zpl-Italic-tlf-th-ly1}{}
-\DeclareFontShape{LY1}{zpllf}{b}{sl}{<->ssub * zpllf/b/it}{}
-\DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/b/it}{}
+\ifzpl@sl % point to real slanted fonts
+ \DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zpl-Slanted-lf-ly1}{}
+ \DeclareFontShape{LY1}{zpllf}{b}{sl}{<-> \zpl@scaled zpl-BoldSlanted-lf-ly1}{}
+ \DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zplth-Italic-tlf-ly1}{}
+ \DeclareFontShape{LY1}{zpllf}{b}{sl}{<->ssub * zpllf/m/sl}{}
+ \DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/m/sl}{}
+\fi
\DeclareFontShape{LY1}{zpllf}{b}{scsl}{<->ssub * zpllf/b/scit}{}
\DeclareFontShape{LY1}{zpllf}{bx}{scsl}{<->ssub * zpllf/b/scit}{}
\DeclareFontShape{LY1}{zpllf}{m}{scsl}{<->ssub * zpllf/m/scit}{}