summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lm/t1lmtt.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lm/t1lmtt.fd')
-rw-r--r--Master/texmf-dist/tex/latex/lm/t1lmtt.fd45
1 files changed, 39 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lm/t1lmtt.fd b/Master/texmf-dist/tex/latex/lm/t1lmtt.fd
index d6805783c75..d771590cf3f 100644
--- a/Master/texmf-dist/tex/latex/lm/t1lmtt.fd
+++ b/Master/texmf-dist/tex/latex/lm/t1lmtt.fd
@@ -1,11 +1,42 @@
-% 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{t1lmtt.fd}[2007/01/14 v1.3 Font defs for Latin Modern]
+\ProvidesFile{t1lmtt.fd}[2009/08/12 v1.4 Font defs for Latin Modern]
\DeclareFontFamily{T1}{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{T1}{lmtt}{sb}{n}
+ {<-8.5> ec-lmtt8 <8.5-9.5> ec-lmtt9
+ <9.5-11> ec-lmtt10 <11-> ec-lmtt12
+ }{}
+\DeclareFontShape{T1}{lmtt}{sb}{it}
+{<-> ec-lmtti10}{}
+\DeclareFontShape{T1}{lmtt}{sb}{sl}
+{<-> ec-lmtto10}{}
+\DeclareFontShape{T1}{lmtt}{sb}{sc}
+{<-> ec-lmtcsc10}{}
+\DeclareFontShape{T1}{lmtt}{sb}{scsl}
+{<-> ec-lmtcso10}{}
+\DeclareFontShape{T1}{lmtt}{m}{n}
+{<-> ec-lmtl10}{}
+\DeclareFontShape{T1}{lmtt}{m}{it}
+ {<->sub*lmtt/l/sl}{}
+\DeclareFontShape{T1}{lmtt}{m}{sl}
+{<-> ec-lmtlo10}{}
+\DeclareFontShape{T1}{lmtt}{c}{n}
+{<-> ec-lmtlc10}{}
+\DeclareFontShape{T1}{lmtt}{c}{it}
+ {<->sub*lmtt/lc/sl}{}
+\DeclareFontShape{T1}{lmtt}{c}{sl}
+{<-> ec-lmtlco10}{}
+
+\else
+% usual setup of variants:
\DeclareFontShape{T1}{lmtt}{m}{n}
{<-8.5> ec-lmtt8 <8.5-9.5> ec-lmtt9
<9.5-11> ec-lmtt10 <11-> ec-lmtt12
@@ -31,6 +62,8 @@
{<->sub*lmtt/lc/sl}{}
\DeclareFontShape{T1}{lmtt}{lc}{sl}
{<-> ec-lmtlco10}{}
+\fi
+% bold is always bold (b):
\DeclareFontShape{T1}{lmtt}{b}{n}
{<-> ec-lmtk10}{}
\DeclareFontShape{T1}{lmtt}{b}{it}