summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd')
-rw-r--r--Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd14
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd b/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd
index eecb9ab48be..7af903d8e2d 100644
--- a/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.fd
+++ b/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-OsF.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-Italic-osf-swash-ot1
}{}
+% changed 2019-06-21 for theorem fonts
\DeclareFontShape{OT1}{Cochineal-OsF}{m}{sl}{
- <-> ssub * Cochineal-OsF/m/it
+ <-> \Cochineal@@scale Cochineal-Italic-\coch@prefix-th-ot1
}{}
\DeclareFontShape{OT1}{Cochineal-OsF}{m}{scsl}{