summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cochineal/LY1Cochineal-TOsF.fd
diff options
context:
space:
mode:
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}{