diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-TOsF.fd')
-rw-r--r-- | Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-TOsF.fd | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-TOsF.fd b/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-TOsF.fd index 61e96608c25..2899db6c89b 100644 --- a/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-TOsF.fd +++ b/Master/texmf-dist/tex/latex/cochineal/OT1Cochineal-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{\@empty}X} % X or l +\fi +\if l\Cochineal@@thmlin + \def\coch@tmp{tlf} +\else + \def\coch@tmp{tosf} +\fi +\global\let\coch@prefix\coch@tmp + \expandafter\ifx\csname Cochineal@scale\endcsname\relax \let\Cochineal@@scale\@empty \else @@ -70,9 +81,9 @@ \DeclareFontShape{OT1}{Cochineal-TOsF}{m}{nw}{ <-> \Cochineal@@scale Cochineal-Roman-tosf-swash-ot1 }{} - +% changed 2019-06-21 for theorem fonts \DeclareFontShape{OT1}{Cochineal-TOsF}{m}{sl}{ - <-> ssub * Cochineal-TOsF/m/it + <-> \Cochineal@@scale Cochineal-Italic-\coch@prefix-th-ot1 }{} \DeclareFontShape{OT1}{Cochineal-TOsF}{m}{scsl}{ |