summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lm/ts1lmtt.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-30 00:08:58 +0000
committerKarl Berry <karl@freefriends.org>2009-09-30 00:08:58 +0000
commit5e098aa246078165cc3b574dd5568e8b1fed2ea0 (patch)
tree29bbc130a808b30b1b79b8eb4b9584586afaa7a1 /Master/texmf-dist/tex/latex/lm/ts1lmtt.fd
parentab32512d3febc3b84765830b7a8a33a29e2c4e42 (diff)
lm 2.003 (29sep09)
git-svn-id: svn://tug.org/texlive/trunk@15566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lm/ts1lmtt.fd')
-rw-r--r--Master/texmf-dist/tex/latex/lm/ts1lmtt.fd46
1 files changed, 40 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lm/ts1lmtt.fd b/Master/texmf-dist/tex/latex/lm/ts1lmtt.fd
index 50ef321b5ce..6c06ee7fb36 100644
--- a/Master/texmf-dist/tex/latex/lm/ts1lmtt.fd
+++ b/Master/texmf-dist/tex/latex/lm/ts1lmtt.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{ts1lmtt.fd}[2007/01/14 v1.3 Font defs for Latin Modern]
+\ProvidesFile{ts1lmtt.fd}[2009/08/12 v1.4 Font defs for Latin Modern]
\DeclareFontFamily{TS1}{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{TS1}{lmtt}{sb}{n}
+ {<-8.5> ts1-lmtt8 <8.5-9.5> ts1-lmtt9
+ <9.5-11> ts1-lmtt10 <11-> ts1-lmtt12
+ }{}
+\DeclareFontShape{TS1}{lmtt}{sb}{it}
+{<-> ts1-lmtti10}{}
+\DeclareFontShape{TS1}{lmtt}{sb}{sl}
+{<-> ts1-lmtto10}{}
+\DeclareFontShape{TS1}{lmtt}{sb}{sc}
+{<-> ts1-lmtcsc10}{}
+\DeclareFontShape{TS1}{lmtt}{sb}{scsl}
+{<-> ts1-lmtcso10}{}
+%%%%%%%% light (l), light condensed (lc), and dark (b) variants:
+\DeclareFontShape{TS1}{lmtt}{m}{n}
+{<-> ts1-lmtl10}{}
+\DeclareFontShape{TS1}{lmtt}{m}{it}
+ {<->sub*lmtt/l/sl}{}
+\DeclareFontShape{TS1}{lmtt}{m}{sl}
+{<-> ts1-lmtlo10}{}
+\DeclareFontShape{TS1}{lmtt}{c}{n}
+{<-> ts1-lmtlc10}{}
+\DeclareFontShape{TS1}{lmtt}{c}{it}
+ {<->sub*lmtt/lc/sl}{}
+\DeclareFontShape{TS1}{lmtt}{c}{sl}
+{<-> ts1-lmtlco10}{}
+
+\else
+% usual setup of variants:
\DeclareFontShape{TS1}{lmtt}{m}{n}
{<-8.5> ts1-lmtt8 <8.5-9.5> ts1-lmtt9
<9.5-11> ts1-lmtt10 <11-> ts1-lmtt12
@@ -31,6 +63,8 @@
{<->sub*lmtt/lc/sl}{}
\DeclareFontShape{TS1}{lmtt}{lc}{sl}
{<-> ts1-lmtlco10}{}
+\fi
+% bold is always bold (b):
\DeclareFontShape{TS1}{lmtt}{b}{n}
{<-> ts1-lmtk10}{}
\DeclareFontShape{TS1}{lmtt}{b}{it}