diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lm/ly1lmtt.fd')
-rw-r--r-- | Master/texmf-dist/tex/latex/lm/ly1lmtt.fd | 46 |
1 files changed, 40 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lm/ly1lmtt.fd b/Master/texmf-dist/tex/latex/lm/ly1lmtt.fd index c0691675728..41c714776cf 100644 --- a/Master/texmf-dist/tex/latex/lm/ly1lmtt.fd +++ b/Master/texmf-dist/tex/latex/lm/ly1lmtt.fd @@ -1,11 +1,43 @@ -% This file belongs to the Latin Modern package. The work is released under -% the GUST Font License. See the MANIFEST.txt and README.eng files -% for the details. For the most recent version of this license see -% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt or -% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt +% This file belongs to the Latin Modern package. The work is released +% under the GUST Font License. See the MANIFEST-Latin-Modern.txt and +% README-Latin-Modern.txt files for the details. For the most recent version of +% this license see http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt +% or http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt -\ProvidesFile{ly1lmtt.fd}[[2007/01/14 v1.3 Font defs for Latin Modern] +\ProvidesFile{ly1lmtt.fd}[[2009/08/12 v1.4 Font defs for Latin Modern] \DeclareFontFamily{LY1}{lmtt}{\hyphenchar \font\m@ne} + +\ifx\lmtt@use@light@as@normal\@empty +% macro defined, so we use the light variant as medium (m), and +% medium as semi-bold (sb): +\DeclareFontShape{LY1}{lmtt}{sb}{n} + {<-8.5> texnansi-lmtt8 <8.5-9.5> texnansi-lmtt9 + <9.5-11> texnansi-lmtt10 <11-> texnansi-lmtt12 + }{} +\DeclareFontShape{LY1}{lmtt}{sb}{it} +{<-> texnansi-lmtti10}{} +\DeclareFontShape{LY1}{lmtt}{sb}{sl} +{<-> texnansi-lmtto10}{} +\DeclareFontShape{LY1}{lmtt}{sb}{sc} +{<-> texnansi-lmtcsc10}{} +\DeclareFontShape{LY1}{lmtt}{sb}{scsl} +{<-> texnansi-lmtcso10}{} +%%%%%%%% light (l), light condensed (lc), and dark (b) variants: +\DeclareFontShape{LY1}{lmtt}{m}{n} +{<-> texnansi-lmtl10}{} +\DeclareFontShape{LY1}{lmtt}{m}{it} + {<->sub*lmtt/l/sl}{} +\DeclareFontShape{LY1}{lmtt}{m}{sl} +{<-> texnansi-lmtlo10}{} +\DeclareFontShape{LY1}{lmtt}{c}{n} +{<-> texnansi-lmtlc10}{} +\DeclareFontShape{LY1}{lmtt}{c}{it} + {<->sub*lmtt/lc/sl}{} +\DeclareFontShape{LY1}{lmtt}{c}{sl} +{<-> texnansi-lmtlco10}{} + +\else +% usual setup of variants: \DeclareFontShape{LY1}{lmtt}{m}{n} {<-8.5> texnansi-lmtt8 <8.5-9.5> texnansi-lmtt9 <9.5-11> texnansi-lmtt10 <11-> texnansi-lmtt12 @@ -31,6 +63,8 @@ {<->sub*lmtt/lc/sl}{} \DeclareFontShape{LY1}{lmtt}{lc}{sl} {<-> texnansi-lmtlco10}{} +\fi +% bold is always bold (b): \DeclareFontShape{LY1}{lmtt}{b}{n} {<-> texnansi-lmtk10}{} \DeclareFontShape{LY1}{lmtt}{b}{it} |