summaryrefslogtreecommitdiff
path: root/fonts/mlmodern/latex/t5mlmtt.fd
blob: 3d33b2781a0d6a9c194890fd52877bed9ba07a66 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%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{t5mlmtt.fd}[2021/01/11 v1.0 Font defs for mlmodern]
\DeclareFontFamily{T5}{mlmtt}{\hyphenchar \font\m@ne}

\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{T5}{mlmtt}{sb}{n}
     {<-8.5>   t5-mlmtt8     <8.5-9.5> t5-mlmtt9
      <9.5-11> t5-mlmtt10    <11->     t5-mlmtt12
      }{}
\DeclareFontShape{T5}{mlmtt}{sb}{it}
     {<-> t5-mlmtti10}{}
\DeclareFontShape{T5}{mlmtt}{sb}{sl}
     {<-> t5-mlmtto10}{}
\DeclareFontShape{T5}{mlmtt}{sb}{sc}
     {<-> t5-mlmtcsc10}{}
\DeclareFontShape{T5}{mlmtt}{sb}{scsl}
     {<-> t5-mlmtcso10}{}
%%%%%%%% light (l), light condensed (lc), and dark (b) variants:
\DeclareFontShape{T5}{mlmtt}{m}{n}
     {<-> t5-mlmtl10}{}
\DeclareFontShape{T5}{mlmtt}{m}{it}
     {<->sub*mlmtt/l/sl}{}
\DeclareFontShape{T5}{mlmtt}{m}{sl}
     {<-> t5-mlmtlo10}{}
\DeclareFontShape{T5}{mlmtt}{c}{n}
     {<-> t5-mlmtlc10}{}
\DeclareFontShape{T5}{mlmtt}{c}{it}
     {<->sub*mlmtt/lc/sl}{}
\DeclareFontShape{T5}{mlmtt}{c}{sl}
     {<-> t5-mlmtlco10}{}
\else
% usual setup of variants:
\DeclareFontShape{T5}{mlmtt}{m}{n}
     {<-8.5>   t5-mlmtt8     <8.5-9.5> t5-mlmtt9
      <9.5-11> t5-mlmtt10    <11->     t5-mlmtt12
      }{}
\DeclareFontShape{T5}{mlmtt}{m}{it}
     {<-> t5-mlmtti10}{}
\DeclareFontShape{T5}{mlmtt}{m}{sl}
     {<-> t5-mlmtto10}{}
\DeclareFontShape{T5}{mlmtt}{m}{sc}
     {<-> t5-mlmtcsc10}{}
\DeclareFontShape{T5}{mlmtt}{m}{scsl}
     {<-> t5-mlmtcso10}{}
%%%%%%%% light (l), light condensed (lc), and dark (b) variants:
\DeclareFontShape{T5}{mlmtt}{l}{n}
     {<-> t5-mlmtl10}{}
\DeclareFontShape{T5}{mlmtt}{l}{it}
     {<->sub*mlmtt/l/sl}{}
\DeclareFontShape{T5}{mlmtt}{l}{sl}
     {<-> t5-mlmtlo10}{}
\DeclareFontShape{T5}{mlmtt}{lc}{n}
     {<-> t5-mlmtlc10}{}
\DeclareFontShape{T5}{mlmtt}{lc}{it}
     {<->sub*mlmtt/lc/sl}{}
\DeclareFontShape{T5}{mlmtt}{lc}{sl}
     {<-> t5-mlmtlco10}{}
\fi
% bold is always bold (b):
\DeclareFontShape{T5}{mlmtt}{b}{n}
     {<-> t5-mlmtk10}{}
\DeclareFontShape{T5}{mlmtt}{b}{it}
     {<->sub*mlmtt/b/sl}{}
\DeclareFontShape{T5}{mlmtt}{b}{sl}
{<-> t5-mlmtko10}{}
\DeclareFontShape{T5}{mlmtt}{bx}{it}
     {<->sub*mlmtt/b/sl}{}
\DeclareFontShape{T5}{mlmtt}{bx}{n}
     {<->ssub*mlmtt/b/n}{}
\DeclareFontShape{T5}{mlmtt}{bx}{sl}
     {<->ssub*mlmtt/b/sl}{}
\endinput
%%
%% End of file `t5mlmtt.fd'.