summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-23 20:56:12 +0000
committerKarl Berry <karl@freefriends.org>2019-06-23 20:56:12 +0000
commit926a641b7207115964a7dec7895970c380cb0af4 (patch)
treea479caec5b9de8a0d0a1b56d11a633ce241e590a /Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
parentdfc849d78aaa5dcb694fc32ff9c9eece4f8b0f88 (diff)
cochineal (23jun19)
git-svn-id: svn://tug.org/texlive/trunk@51429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd')
-rw-r--r--Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd14
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd b/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
index 34bb15a3145..1d0fa80520e 100644
--- a/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
+++ b/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
@@ -7,6 +7,17 @@
\global\let\Cochineal@@swashQ\@empty
\fi
+\expandafter\ifx\csname Cochineal@@thmtab\endcsname\relax%
+ \global\let\Cochineal@@thmtab\@empty % empty or t
+ \xdef\Cochineal@@thmlin{X} % X or l
+\fi
+\if l\Cochineal@@thmlin
+ \def\coch@tmp{lf}
+\else
+ \def\coch@tmp{osf}
+\fi
+\xdef\coch@prefix{\Cochineal@@thmtab\coch@tmp}
+
\expandafter\ifx\csname Cochineal@scale\endcsname\relax
\let\Cochineal@@scale\@empty
\else
@@ -39,8 +50,9 @@
<-> \Cochineal@@scale Cochineal-Roman-tosf-swash-ly1
}{}
+% changed 2019-06-21 for theorem fonts
\DeclareFontShape{LY1}{Cochineal-TOsF}{m}{sl}{
- <-> ssub * Cochineal-TOsF/m/it
+ <-> \Cochineal@@scale Cochineal-Italic-\coch@prefix-th-ly1
}{}
\DeclareFontShape{LY1}{Cochineal-TOsF}{m}{scsl}{