summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/variablelm/omsvlmsy.fd
blob: abc76ce17be9b9601021c2356563ebe0f51bd426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%
% This file is an extended version of the file 'omslmsy.fd' which
% belongs to the Latin Modern package. The work is released
% under the GUST Font License.
% It provides a mechanism for scaling the typeface.
%
% The original font description files are included in modern TeX
% distributions or are available via http://ctan.org/pkg/lm
%
\ProvidesFile{omsvlmsy.fd}[2017/02/10 v1.0 font defs for variable Latin Modern]

\expandafter\ifx\csname alphabet@scale\endcsname\relax
 \let\alphabet@@scale\@empty
\else
 \edef\alphabet@@scale{s*[\csname alphabet@scale\endcsname]}%
\fi

\DeclareFontFamily{OMS}{vlmsy}{\skewchar\font48 }
\DeclareFontShape{OMS}{vlmsy}{m}{n}{%
         <-5.5> \alphabet@@scale lmsy5
      <5.5-6.5> \alphabet@@scale lmsy6
      <6.5-7.5> \alphabet@@scale lmsy7
      <7.5-8.5> \alphabet@@scale lmsy8
      <8.5-9.5> \alphabet@@scale lmsy9
      <9.5->    \alphabet@@scale lmsy10
      }{}
\DeclareFontShape{OMS}{vlmsy}{b}{n}{%
       <-6> \alphabet@@scale lmbsy5
      <6-8> \alphabet@@scale lmbsy7
      <8->  \alphabet@@scale lmbsy10
      }{}
\endinput