summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lm/qxlmvtt.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lm/qxlmvtt.fd')
-rw-r--r--Master/texmf-dist/tex/latex/lm/qxlmvtt.fd34
1 files changed, 28 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lm/qxlmvtt.fd b/Master/texmf-dist/tex/latex/lm/qxlmvtt.fd
index ec6d688bea2..68bedd9971a 100644
--- a/Master/texmf-dist/tex/latex/lm/qxlmvtt.fd
+++ b/Master/texmf-dist/tex/latex/lm/qxlmvtt.fd
@@ -1,11 +1,31 @@
-% 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{qxlmvtt.fd}[2007/01/14 v1.3 Font defs for Latin Modern]
+\ProvidesFile{qxlmvtt.fd}[2009/08/12 v1.4 Font defs for Latin Modern]
\DeclareFontFamily{QX}{lmvtt}{}
+
+\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{QX}{lmvtt}{sb}{n}
+ {<-> qx-lmvtt10}{}
+\DeclareFontShape{QX}{lmvtt}{sb}{sl}
+ {<-> qx-lmvtto10}{}
+\DeclareFontShape{QX}{lmvtt}{sb}{it}
+ {<->sub*lmvtt/m/sl}{}
+%%%%%%%% light (l) and dark (b) variants:
+\DeclareFontShape{QX}{lmvtt}{m}{n}
+ {<-> qx-lmvtl10}{}
+\DeclareFontShape{QX}{lmvtt}{m}{sl}
+ {<-> qx-lmvtlo10}{}
+\DeclareFontShape{QX}{lmvtt}{m}{it}
+ {<->sub*lmvtt/l/sl}{}
+
+\else
+% usual setup of variants:
\DeclareFontShape{QX}{lmvtt}{m}{n}
{<-> qx-lmvtt10}{}
\DeclareFontShape{QX}{lmvtt}{m}{sl}
@@ -19,6 +39,8 @@
{<-> qx-lmvtlo10}{}
\DeclareFontShape{QX}{lmvtt}{l}{it}
{<->sub*lmvtt/l/sl}{}
+\fi
+% bold is always bold (b):
\DeclareFontShape{QX}{lmvtt}{b}{n}
{<-> qx-lmvtk10}{}
\DeclareFontShape{QX}{lmvtt}{b}{sl}