diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd')
-rw-r--r-- | Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd b/Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd index 53b1d746140..5afe9e33184 100644 --- a/Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd +++ b/Master/texmf-dist/tex/latex/libertinust1math/ls2libertinust1mathex.fd @@ -4,19 +4,23 @@ extensions LS2 % font definitions] \DeclareFontFamily{LS2}{libertinust1mathex}{} -\expandafter\ifx\csname LinuxLibertine@scale\endcsname\relax - \let\LinuxLibertine@@scale\@empty +\expandafter\ifx\csname LinuxLibertineT@scale\endcsname\relax + \expandafter\ifx\csname LibertinusSerif@scale\endcsname\relax + \let\LibertinusMath@@scale\@empty + \else + \edef\LibertinusMath@@scale{s*[\LibertinusSerif@scale]} + \fi \else - \edef\LinuxLibertine@@scale{s*[\csname LinuxLibertine@scale\endcsname]}% + \edef\LibertinusMath@@scale{s*[\LinuxLibertineT@scale]}% \fi \expandafter\ifx\csname libus@scale\endcsname\relax -% \let\LinuxLibertine@@scale\@empty +% \let\LibertinusMath@@scale\@empty \else - \edef\LinuxLibertine@@scale{s*[\csname LinuxLibertine@scale\endcsname]}% + \edef\LibertinusMath@@scale{s*[\libus@scale]}% \fi -\DeclareFontShape{LS2}{libertinust1mathex}{m}{n} {<-> \LinuxLibertine@@scale libertinust1-mathex}{} +\DeclareFontShape{LS2}{libertinust1mathex}{m}{n} {<-> \LibertinusMath@@scale libertinust1-mathex}{} \DeclareFontShape{LS2}{libertinust1mathex}{b}{n}{<->ssub * libertinust1mathex/m/n}{} \DeclareFontShape{LS2}{libertinust1mathex}{b}{it}{<->ssub * libertinust1mathex/m/n}{} |