summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-09-18 22:12:04 +0000
committerKarl Berry <karl@freefriends.org>2013-09-18 22:12:04 +0000
commit40a59cc8d27afec206f3857dadfe213f7c9b3e20 (patch)
tree48b35bbd9afe62ba466b5a7cff5d930e6202b6eb /Master/texmf-dist/source
parentfe16d630d11241071f190c9562fb44e9dbfd62ff (diff)
lxfonts (18sep13)
git-svn-id: svn://tug.org/texlive/trunk@31692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/fonts/lxfonts/lxfonts.dtx86
1 files changed, 46 insertions, 40 deletions
diff --git a/Master/texmf-dist/source/fonts/lxfonts/lxfonts.dtx b/Master/texmf-dist/source/fonts/lxfonts/lxfonts.dtx
index 9c38b6ffcee..3125432370e 100644
--- a/Master/texmf-dist/source/fonts/lxfonts/lxfonts.dtx
+++ b/Master/texmf-dist/source/fonts/lxfonts/lxfonts.dtx
@@ -3,6 +3,7 @@
\begingroup
\input docstrip.tex
\keepsilent
+\askforoverwritefalse
\preamble
______________________________________________________
@@ -19,21 +20,21 @@ Read the README test file for further details about installation
\endpostamble
-\generateFile{lxfonts.sty}{f}{\from{lxfonts.dtx}{lxsty}}
-\generateFile{ot1llcmss.fd}{f}{\from{lxfonts.dtx}{lxot1ssfd}}
-\generateFile{ot1lcmtt.fd}{f}{\from{lxfonts.dtx}{lxot1ttfd}}
-\generateFile{t1llcmss.fd}{f}{\from{lxfonts.dtx}{lxt1ssfd}}
-\generateFile{t1lcmtt.fd}{f}{\from{lxfonts.dtx}{lxt1ttfd}}
-\generateFile{ts1llcmss.fd}{f}{\from{lxfonts.dtx}{lxts1ssfd}}
-\generateFile{omlllcmm.fd}{f}{\from{lxfonts.dtx}{lxomlmmfd}}
-\generateFile{omsllcmsy.fd}{f}{\from{lxfonts.dtx}{lxomssyfd}}
-\generateFile{omxllcmex.fd}{f}{\from{lxfonts.dtx}{lxomxexfd}}
-\generateFile{ulmsa.fd}{f}{\from{lxfonts.dtx}{lxumsafd}}
-\generateFile{ulmsb.fd}{f}{\from{lxfonts.dtx}{lxumsbfd}}
-\generateFile{ullasy.fd}{f}{\from{lxfonts.dtx}{lxultxfd}}
-\generateFile{lxfonts.map}{f}{\from{lxfonts.dtx}{lxmap}}
-\generateFile{lgrllcmss.fd}{f}{\from{lxfonts.dtx}{lxlgrfd}}
-\generateFile{lgrlcmtt.fd}{f}{\from{lxfonts.dtx}{lxlgrttfd}}
+\generate{\file{lxfonts.sty}{\from{lxfonts.dtx}{lxsty}}}
+\generate{\file{ot1llcmss.fd}{\from{lxfonts.dtx}{lxot1ssfd}}}
+\generate{\file{ot1llcmtt.fd}{\from{lxfonts.dtx}{lxot1ttfd}}}
+\generate{\file{t1llcmss.fd}{\from{lxfonts.dtx}{lxt1ssfd}}}
+\generate{\file{t1llcmtt.fd}{\from{lxfonts.dtx}{lxt1ttfd}}}
+\generate{\file{ts1llcmss.fd}{\from{lxfonts.dtx}{lxts1ssfd}}}
+\generate{\file{omlllcmm.fd}{\from{lxfonts.dtx}{lxomlmmfd}}}
+\generate{\file{omsllcmsy.fd}{\from{lxfonts.dtx}{lxomssyfd}}}
+\generate{\file{omxllcmex.fd}{\from{lxfonts.dtx}{lxomxexfd}}}
+\generate{\file{ulmsa.fd}{\from{lxfonts.dtx}{lxumsafd}}}
+\generate{\file{ulmsb.fd}{\from{lxfonts.dtx}{lxumsbfd}}}
+\generate{\file{ulllasy.fd}{\from{lxfonts.dtx}{lxultxfd}}}
+\generate{\file{lxfonts.map}{\from{lxfonts.dtx}{lxmap}}}
+\generate{\file{lgrllcmss.fd}{\from{lxfonts.dtx}{lxlgrfd}}}
+\generate{\file{lgrllcmtt.fd}{\from{lxfonts.dtx}{lxlgrttfd}}}
\def\tmpa{plain}
\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi
@@ -44,7 +45,7 @@ Read the README test file for further details about installation
% \iffalse
%<*driver>
\documentclass{ltxdoc}
-\ProvidesFile{lxfonts.dtx}[2013/09/15 v.2.0 Documented TeX file for
+\ProvidesFile{lxfonts.dtx}[2013/09/18 v.2.0a Documented TeX file for
the LXfonts bundle]
\GetFileInfo{lxfonts.dtx}
\title{The LXfonts bundle}
@@ -286,7 +287,7 @@ the LXfonts bundle]
\@ifpackageloaded{amsfonts}{\@AMSfontstrue}{}
\def\rmdefault{llcmss} % no roman
\def\sfdefault{llcmss}
- \def\ttdefault{lcmtt}
+ \def\ttdefault{llcmtt}
\def\itdefault{sl}
\def\sldefault{sl}
\def\bfdefault{bx}
@@ -307,7 +308,7 @@ the LXfonts bundle]
\DeclareMathAlphabet {\mathbf}{OT1}{llcmss}{bx}{n}
\DeclareMathAlphabet {\mathsf}{OT1}{llcmss}{m}{n}
\DeclareMathAlphabet {\mathit}{OT1}{llcmss}{m}{sl}
- \DeclareMathAlphabet {\mathtt}{OT1}{lcmtt}{m}{n}
+ \DeclareMathAlphabet {\mathtt}{OT1}{llcmtt}{m}{n}
\SetMathAlphabet\mathsf{bold}{OT1}{llcmss}{bx}{n}
\SetMathAlphabet\mathit{bold}{OT1}{llcmss}{bx}{sl}
@@ -343,9 +344,9 @@ the LXfonts bundle]
I did not load the LaTeX symbol fonts\MessageBreak
because its glyphs are already provided by the AMS fonts\MessageBreak}
\else
- \input{ullasy.fd}
- \SetSymbolFont{lasy}{normal}{U}{llasy}{m}{n}
- \SetSymbolFont{lasy}{bold}{U}{llasy}{b}{n}
+ \input{ulllasy.fd}
+ \SetSymbolFont{lasy}{normal}{U}{lllasy}{m}{n}
+ \SetSymbolFont{lasy}{bold}{U}{lllasy}{b}{n}
\fi
\fi
% \end{macrocode}
@@ -410,13 +411,13 @@ the LXfonts bundle]
%<*lxot1ttfd>
% \fi
% \begin{macrocode}
-\DeclareFontFamily{OT1}{lcmtt}{\hyphenchar\font\m@ne}
-\DeclareFontShape{OT1}{lcmtt}{m}{n}{<-> [1.25]cmtt8}{}
-\DeclareFontShape{OT1}{lcmtt}{m}{it}{<-> [1.25]cmti8}{}
-\DeclareFontShape{OT1}{lcmtt}{m}{sl}{<-> ssub* lcmtt/m/it}{}
-\DeclareFontShape{OT1}{lcmtt}{bx}{n}{<-> ssub* lmcmtt/m/n}{}
-\DeclareFontShape{OT1}{lcmtt}{bx}{it}{<-> ssub* lmcmtt/m/it}{}
-\DeclareFontShape{OT1}{lcmtt}{bx}{sl}{<-> ssub* lcmtt/m/it}{}
+\DeclareFontFamily{OT1}{llcmtt}{\hyphenchar\font\m@ne}
+\DeclareFontShape{OT1}{llcmtt}{m}{n}{<-> [1.25]cmtt8}{}
+\DeclareFontShape{OT1}{llcmtt}{m}{it}{<-> [1.25]cmti8}{}
+\DeclareFontShape{OT1}{llcmtt}{m}{sl}{<-> ssub* llcmtt/m/it}{}
+\DeclareFontShape{OT1}{llcmtt}{bx}{n}{<-> ssub* llcmtt/m/n}{}
+\DeclareFontShape{OT1}{llcmtt}{bx}{it}{<-> ssub* llcmtt/m/it}{}
+\DeclareFontShape{OT1}{llcmtt}{bx}{sl}{<-> ssub* llcmtt/m/it}{}
% \end{macrocode}
% \iffalse
%</lxot1ttfd>
@@ -457,18 +458,22 @@ the LXfonts bundle]
% at the design size of 8pt, but the italic one does not; therefore for
% homogeneity I thought it was better to use them at a design size of 10pt
% without any scaling. The differences are so tiny, that are invisible at
-% naked eye..
+% naked eye.
+% But since the |lcmtt| family is already defined as a standard family, we
+% need a different family name in order to avoid confusion; this is because
+% we use a single size to be enlarged or shrunk as it is done with the main
+% text font.
% \iffalse
%<*lxt1ttfd>
% \fi
% \begin{macrocode}
- \DeclareFontFamily{T1}{lcmtt}{\hyphenchar\font\m@ne}
- \DeclareFontShape{T1}{lcmtt}{m}{n}{<-> ec-lmtt10}{}
- \DeclareFontShape{T1}{lcmtt}{m}{it}{<-> ec-lmtti10}{}
- \DeclareFontShape{T1}{lcmtt}{m}{sl}{<-> ssub* lcmtt/m/it}{}
- \DeclareFontShape{T1}{lcmtt}{bx}{n}{<-> ssub* lcmtt/m/n}{}
- \DeclareFontShape{T1}{lcmtt}{bx}{it}{<-> ssub* lcmtt/m/it}{}
- \DeclareFontShape{T1}{lcmtt}{bx}{sl}{<-> ssub* lcmtt/m/it}{}
+ \DeclareFontFamily{T1}{llcmtt}{\hyphenchar\font\m@ne}
+ \DeclareFontShape{T1}{llcmtt}{m}{n}{<-> ec-lmtt10}{}
+ \DeclareFontShape{T1}{llcmtt}{m}{it}{<-> ec-lmtti10}{}
+ \DeclareFontShape{T1}{llcmtt}{m}{sl}{<-> ssub* llcmtt/m/it}{}
+ \DeclareFontShape{T1}{llcmtt}{bx}{n}{<-> ssub* llcmtt/m/n}{}
+ \DeclareFontShape{T1}{llcmtt}{bx}{it}{<-> ssub* llcmtt/m/it}{}
+ \DeclareFontShape{T1}{llcmtt}{bx}{sl}{<-> ssub* llcmtt/m/it}{}
% \end{macrocode}
% \iffalse
%</lxt1ttfd>
@@ -579,14 +584,15 @@ the LXfonts bundle]
%
% \subsection{The \LaTeX\ symbol fonts}
% The same treatment is used for the \LaTeX\ symbol fonts as it was done with
-% the \AMS\ fonts.
+% the teletype text font: a different family name, but one font to be enlarged
+% or shrunk as the main text font..
% \iffalse
%<*lxultxfd>
% \fi
% \begin{macrocode}
-\DeclareFontFamily{U}{llasy}{}
-\DeclareFontShape{U}{llasy}{m}{n}{<-> llasy8}{}
-\DeclareFontShape{U}{llasy}{b}{n}{<-> llasyb8}{}
+\DeclareFontFamily{U}{lllasy}{}
+\DeclareFontShape{U}{lllasy}{m}{n}{<-> llasy8}{}
+\DeclareFontShape{U}{lllasy}{b}{n}{<-> llasyb8}{}
% \end{macrocode}
% \iffalse
%</lxultxfd>