summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx/ly1zplosf.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/ly1zplosf.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/ly1zplosf.fd')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/ly1zplosf.fd14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/ly1zplosf.fd b/Master/texmf-dist/tex/latex/newpx/ly1zplosf.fd
index f3e136c041d..fb669ea1b11 100644
--- a/Master/texmf-dist/tex/latex/newpx/ly1zplosf.fd
+++ b/Master/texmf-dist/tex/latex/newpx/ly1zplosf.fd
@@ -1,5 +1,7 @@
\ProvidesFile{ly1zplosf.fd}[2015/01/17 v1.0 font definition file for LY1/zpl/osf]
+\@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}{zplosf}{bx}{n}{<->ssub * zplosf/b/n}{}
\DeclareFontShape{LY1}{zplosf}{bx}{scit}{<->ssub * zplosf/b/scit}{}
\DeclareFontShape{LY1}{zplosf}{bx}{it}{<->ssub * zplosf/b/it}{}
-\DeclareFontShape{LY1}{zplosf}{m}{sl}{<-> \zpl@scaled zpl-Italic-osf-th-ly1}{}
-\DeclareFontShape{LY1}{zplosf}{b}{sl}{<->ssub * zplosf/b/it}{}
-\DeclareFontShape{LY1}{zplosf}{bx}{sl}{<->ssub * zplosf/b/it}{}
+\ifzpl@sl % point to real slanted fonts
+ \DeclareFontShape{LY1}{zplosf}{m}{sl}{<-> \zpl@scaled zpl-Slanted-osf-ly1}{}
+ \DeclareFontShape{LY1}{zplosf}{b}{sl}{<-> \zpl@scaled zpl-BoldSlanted-osf-ly1}{}
+ \DeclareFontShape{LY1}{zplosf}{bx}{sl}{<->ssub * zplosf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{LY1}{zplosf}{m}{sl}{<-> \zpl@scaled zplth-Italic-osf-ly1}{}
+ \DeclareFontShape{LY1}{zplosf}{b}{sl}{<->ssub * zplosf/m/sl}{}
+ \DeclareFontShape{LY1}{zplosf}{bx}{sl}{<->ssub * zplosf/m/sl}{}
+\fi
\DeclareFontShape{LY1}{zplosf}{b}{scsl}{<->ssub * zplosf/b/scit}{}
\DeclareFontShape{LY1}{zplosf}{bx}{scsl}{<->ssub * zplosf/b/scit}{}
\DeclareFontShape{LY1}{zplosf}{m}{scsl}{<->ssub * zplosf/m/scit}{}