summaryrefslogtreecommitdiff
path: root/fonts/variablelm/tex/omsvlmsy.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/variablelm/tex/omsvlmsy.fd
Initial commit
Diffstat (limited to 'fonts/variablelm/tex/omsvlmsy.fd')
-rw-r--r--fonts/variablelm/tex/omsvlmsy.fd32
1 files changed, 32 insertions, 0 deletions
diff --git a/fonts/variablelm/tex/omsvlmsy.fd b/fonts/variablelm/tex/omsvlmsy.fd
new file mode 100644
index 0000000000..abc76ce17b
--- /dev/null
+++ b/fonts/variablelm/tex/omsvlmsy.fd
@@ -0,0 +1,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