summaryrefslogtreecommitdiff
path: root/fonts/variablelm/tex/omlvlmm.fd
blob: 35e35b7f1d4949f743e79e0c7e2357118f35d207 (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
33
34
%
% This file is an extended version of the file 'omllmm.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{omlvlmm.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{OML}{vlmm}{\skewchar\font127 }
\DeclareFontShape{OML}{vlmm}{m}{it}%
     {<-5.5>    \alphabet@@scale lmmi5
      <5.5-6.5> \alphabet@@scale lmmi6
      <6.5-7.5> \alphabet@@scale lmmi7
      <7.5-8.5> \alphabet@@scale lmmi8
      <8.5-9.5> \alphabet@@scale lmmi9
      <9.5-11>  \alphabet@@scale lmmi10
      <11->     \alphabet@@scale lmmi12
      }{}
\DeclareFontShape{OML}{vlmm}{b}{it}{%
      <-6>  \alphabet@@scale lmmib5
      <6-8> \alphabet@@scale lmmib7
      <8->  \alphabet@@scale lmmib10
      }{}
\DeclareFontShape{OML}{vlmm}{bx}{it}%
     {<-> sub*vlmm/b/it}{}
\endinput