summaryrefslogtreecommitdiff
path: root/fonts/mlmodern/latex/qxmlmvtt.fd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/mlmodern/latex/qxmlmvtt.fd')
-rw-r--r--fonts/mlmodern/latex/qxmlmvtt.fd62
1 files changed, 62 insertions, 0 deletions
diff --git a/fonts/mlmodern/latex/qxmlmvtt.fd b/fonts/mlmodern/latex/qxmlmvtt.fd
new file mode 100644
index 0000000000..18e882d23f
--- /dev/null
+++ b/fonts/mlmodern/latex/qxmlmvtt.fd
@@ -0,0 +1,62 @@
+%This package provides support for the mlmodern fonts. See mlmodern.pdf
+%for more information.
+%This work may be distributed and/or modified under the conditions
+%of the LaTeX Project Public License, either version 1.3c of this
+%license or (at your option) any later version.
+%Copyright 2003--2009 by B. Jackowski and J.M. Nowacki.
+%Copyright 2021 by Daniel Benjamin Miller.
+%This work has the LPPL maintenance status "maintained".
+%The Current Maintainer of this work is Daniel Benjamin Miller.
+
+\ProvidesFile{qxmlmvtt.fd}[2021/01/11 v1.0 Font defs for mlmodern]
+\DeclareFontFamily{QX}{mlmvtt}{}
+
+\ifx\mlmtt@use@light@as@normal\@empty
+% macro defined, so we use the light variant as medium (m), and
+% medium as semi-bold (sb):
+\DeclareFontShape{QX}{mlmvtt}{sb}{n}
+ {<-> qx-mlmvtt10}{}
+\DeclareFontShape{QX}{mlmvtt}{sb}{sl}
+ {<-> qx-mlmvtto10}{}
+\DeclareFontShape{QX}{mlmvtt}{sb}{it}
+ {<->sub*mlmvtt/m/sl}{}
+%%%%%%%% light (l) and dark (b) variants:
+\DeclareFontShape{QX}{mlmvtt}{m}{n}
+ {<-> qx-mlmvtl10}{}
+\DeclareFontShape{QX}{mlmvtt}{m}{sl}
+ {<-> qx-mlmvtlo10}{}
+\DeclareFontShape{QX}{mlmvtt}{m}{it}
+ {<->sub*mlmvtt/l/sl}{}
+
+\else
+% usual setup of variants:
+\DeclareFontShape{QX}{mlmvtt}{m}{n}
+ {<-> qx-mlmvtt10}{}
+\DeclareFontShape{QX}{mlmvtt}{m}{sl}
+ {<-> qx-mlmvtto10}{}
+\DeclareFontShape{QX}{mlmvtt}{m}{it}
+ {<->sub*mlmvtt/m/sl}{}
+%%%%%%%% light (l) and dark (b) variants:
+\DeclareFontShape{QX}{mlmvtt}{l}{n}
+ {<-> qx-mlmvtl10}{}
+\DeclareFontShape{QX}{mlmvtt}{l}{sl}
+ {<-> qx-mlmvtlo10}{}
+\DeclareFontShape{QX}{mlmvtt}{l}{it}
+ {<->sub*mlmvtt/l/sl}{}
+\fi
+% bold is always bold (b):
+\DeclareFontShape{QX}{mlmvtt}{b}{n}
+ {<-> qx-mlmvtk10}{}
+\DeclareFontShape{QX}{mlmvtt}{b}{sl}
+ {<-> qx-mlmvtko10}{}
+\DeclareFontShape{QX}{mlmvtt}{b}{it}
+ {<->sub*mlmvtt/b/sl}{}
+\DeclareFontShape{QX}{mlmvtt}{bx}{n}
+ {<->ssub*mlmvtt/b/n}{}
+\DeclareFontShape{QX}{mlmvtt}{bx}{sl}
+ {<->ssub*mlmvtt/b/sl}{}
+\DeclareFontShape{QX}{mlmvtt}{bx}{it}
+ {<->sub*mlmvtt/b/sl}{}
+\endinput
+%%
+%% End of file `qxmlmvtt.fd'.