From 5e098aa246078165cc3b574dd5568e8b1fed2ea0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 30 Sep 2009 00:08:58 +0000 Subject: lm 2.003 (29sep09) git-svn-id: svn://tug.org/texlive/trunk@15566 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/lm/ot4lmtt.fd | 47 +++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/lm/ot4lmtt.fd') diff --git a/Master/texmf-dist/tex/latex/lm/ot4lmtt.fd b/Master/texmf-dist/tex/latex/lm/ot4lmtt.fd index 672e64f3696..9ad967f2742 100644 --- a/Master/texmf-dist/tex/latex/lm/ot4lmtt.fd +++ b/Master/texmf-dist/tex/latex/lm/ot4lmtt.fd @@ -1,11 +1,44 @@ -% 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{ot4lmtt.fd}[2007/01/14 v1.3 Font defs for Latin Modern] +\ProvidesFile{ot4lmtt.fd}[2009/08/12 v1.4 Font defs for Latin Modern] \DeclareFontFamily{OT4}{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{OT4}{lmtt}{sb}{n} + {<-8.5> rm-lmtt8 <8.5-9.5> rm-lmtt9 + <9.5-11> rm-lmtt10 <11-> rm-lmtt12 + }{} +\DeclareFontShape{OT4}{lmtt}{sb}{it} +{<-> rm-lmtti10}{} +\DeclareFontShape{OT4}{lmtt}{sb}{sl} +{<-> rm-lmtto10}{} +\DeclareFontShape{OT4}{lmtt}{sb}{sc} +{<-> rm-lmtcsc10}{} +\DeclareFontShape{OT4}{lmtt}{sb}{scsl} +{<-> rm-lmtcso10}{} +%%%%%%%% light (l), light condensed (lc), and dark (b) variants: +\DeclareFontShape{OT4}{lmtt}{m}{n} +{<-> rm-lmtl10}{} +\DeclareFontShape{OT4}{lmtt}{m}{it} + {<->sub*lmtt/l/sl}{} +\DeclareFontShape{OT4}{lmtt}{m}{sl} +{<-> rm-lmtlo10}{} +\DeclareFontShape{OT4}{lmtt}{c}{n} +{<-> rm-lmtlc10}{} +\DeclareFontShape{OT4}{lmtt}{c}{it} + {<->sub*lmtt/lc/sl}{} +\DeclareFontShape{OT4}{lmtt}{c}{sl} +{<-> rm-lmtlco10}{} + + +\else +% usual setup of variants: \DeclareFontShape{OT4}{lmtt}{m}{n} {<-8.5> rm-lmtt8 <8.5-9.5> rm-lmtt9 <9.5-11> rm-lmtt10 <11-> rm-lmtt12 @@ -31,6 +64,8 @@ {<->sub*lmtt/lc/sl}{} \DeclareFontShape{OT4}{lmtt}{lc}{sl} {<-> rm-lmtlco10}{} +\fi +% bold is always bold (b): \DeclareFontShape{OT4}{lmtt}{b}{n} {<-> rm-lmtk10}{} \DeclareFontShape{OT4}{lmtt}{b}{it} -- cgit v1.2.3