diff options
Diffstat (limited to 'fonts/mlmodern/latex/t5mlmtt.fd')
-rw-r--r-- | fonts/mlmodern/latex/t5mlmtt.fd | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/fonts/mlmodern/latex/t5mlmtt.fd b/fonts/mlmodern/latex/t5mlmtt.fd new file mode 100644 index 0000000000..3d33b2781a --- /dev/null +++ b/fonts/mlmodern/latex/t5mlmtt.fd @@ -0,0 +1,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'. |