Log changes
[latex2e.git] / latex2e-20151001 / base / cmfonts.fdd
blob3f9f355ab587140e267cd2c91da9a6aa83739897
1 % \iffalse meta-comment
3 % Copyright 1993-2015
4 % The LaTeX3 Project and any individual authors listed elsewhere
5 % in this file. 
6
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
9
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 %    http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX 
16 % version 2005/12/01 or later.
17
18 % This file has the LPPL maintenance status "maintained".
19
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
23
24 % The list of derived (unpacked) files belonging to the distribution 
25 % and covered by LPPL is defined by the unpacking scripts (with 
26 % extension .ins) which are part of the distribution.
27
28 % \fi
29 % \CheckSum{295}
31 %\iffalse        This is a META comment
33 % File `cmfonts.fdd'.
34 % Copyright (C) 1989-1999 Frank Mittelbach and Rainer Sch\"opf,
35 % all rights reserved.
37 %<OMLccm,   >\ProvidesFile{omlccm.fd}
38 %<OMLcmm,   >\ProvidesFile{omlcmm.fd}
39 %<OMLcmr,   >\ProvidesFile{omlcmr.fd}
40 %<OMScmr,   >\ProvidesFile{omscmr.fd}
41 %<OMScmsy,  >\ProvidesFile{omscmsy.fd}
42 %<OMXcmex,  >\ProvidesFile{omxcmex.fd}
43 %<OT1ccr,   >\ProvidesFile{ot1ccr.fd}
44 %<OT1cmdh,  >\ProvidesFile{ot1cmdh.fd}
45 %<OT1cmfib, >\ProvidesFile{ot1cmfib.fd}
46 %<OT1cmfr,  >\ProvidesFile{ot1cmfr.fd}
47 %<OT1cmr,   >\ProvidesFile{ot1cmr.fd}
48 %<OT1cmss,  >\ProvidesFile{ot1cmss.fd}
49 %<OT1cmtt,  >\ProvidesFile{ot1cmtt.fd}
50 %<OT1cmvtt, >\ProvidesFile{ot1cmvtt.fd}
51 %<OT2cmr,   >\ProvidesFile{ot2cmr.fd}
52 %<OT2cmss,  >\ProvidesFile{ot2cmss.fd}
53 %<T1ccr,    >\ProvidesFile{t1ccr.fd}
54 %<T1cmdh,   >\ProvidesFile{t1cmdh.fd}
55 %<T1cmfib,  >\ProvidesFile{t1cmfib.fd}
56 %<T1cmfr,   >\ProvidesFile{t1cmfr.fd}
57 %<T1cmr,    >\ProvidesFile{t1cmr.fd}
58 %<T1cmss,   >\ProvidesFile{t1cmss.fd}
59 %<T1cmtt,   >\ProvidesFile{t1cmtt.fd}
60 %<T1cmvtt,  >\ProvidesFile{t1cmvtt.fd}
61 %<TS1cmr,   >\ProvidesFile{ts1cmr.fd}
62 %<TS1cmss,  >\ProvidesFile{ts1cmss.fd}
63 %<TS1cmtt,  >\ProvidesFile{ts1cmtt.fd}
64 %<TS1cmvtt, >\ProvidesFile{ts1cmvtt.fd}
65 %<Ucmr,     >\ProvidesFile{ucmr.fd}
66 %<Ucmss,    >\ProvidesFile{ucmss.fd}
67 %<Ucmtt,    >\ProvidesFile{ucmtt.fd}
68 %<*driver,  >
69              \ProvidesFile{cmfonts.drv}
70 %</driver,  >
71         [2014/09/29 v2.5h Standard LaTeX font definitions]
73 %<*driver>
74 \documentclass{ltxdoc}
75 \GetFileInfo{cmfonts.drv}
76 \providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
77 \title{The file \texttt{cmfonts.fdd} for use with
78       \LaTeXe.\thanks{This file has version
79            number \fileversion, dated \filedate.}}
80 \date{\filedate}\author{Frank Mittelbach \and Rainer Sch\"opf}
81 \begin{document}
82 \MaintainedByLaTeXTeam{latex}
83 \maketitle
84  \DocInput{cmfonts.fdd}
85 \end{document}
86 %</driver>
88 %\fi
91
92 % \changes{v2.5e}{1997/06/16}{Replaced reference to DC-fonts by ec
93 %    fonts.}
94 % \changes{v2.5c}{1997/05/26}{Removed spaces in and around arguments
95 %    to \cs{DeclareFontShape} and \cs{EC@family}.}
96 % \changes{v2.4j}{1996/11/20}{lowercase filenames /1044}
97 % \changes{v2.4h}{1996/05/19}{Added CM variable typewriter family}
98 % \changes{v2.4g}{1996/05/17}
99 %      {Force \cs{hyphenchar} of OT1 fonts to 45, in case
100 %       \cs{defaulthyphenchar} has changed.}
101 % \changes{v2.4g}{1996/05/17}
102 %      {Remove some spurious extra empty arguments to
103 %       \cs{DeclareFontFamily} calls}
104 % \changes{v2.4d}{1995/12/01}
105 %      {Documentation changes from Ulrik Vieth /1989}
106 % \changes{v2.4d}{1995/12/01}
107 %      {Dont force T1 hyphenchar to 127. latex/1853}
108 % \changes{v2.4c}{1995/11/07}{Use decimal rather than octal character
109 % specification for \cs{hyphenchar} and \cs{skewchar} so that there is
110 % no problem with an active quote character.} 
111 % \changes{v2.4a}{1995/10/22}{Added support for new (v1.2) DC fonts
112 %    and text companion fonts (TS1 encoding).}
113 % \changes{v2.3d}{1994/11/02}{Added more font substitutions for
114 %    \cs{pounds}.} 
115 % \changes{v2.3d}{1994/10/30}{Added OMLcmr.fd and OMScmr.fd.}
116 % \changes{v2.3b}{1994/05/12}{Added \cs{ProvidesFile} commands}
117 % \changes{v2.3a}{1994/05/03}{Included definitions for
118 %                             AMS-supplied cm fonts.}
119 % \changes{v2.2f}{1994/02/07}{Added missing size 10.95 for
120 %             cmr/b/n and cmr/m/ui.}
121 % \changes{v2.2e}{1994/02/02}{Corrected encoding scheme U.}
122 % \changes{v2.2d}{1994/01/27}{Replaced most ssub with sub}
123 % \changes{v2.2a}{1993/12/13}{Removed \cs{CodelineIndex} from the
124 %                           driver code.}
126 % \changes{v2.1a}{1993/10/17}{Shape u renamed to ui.}
127 % \changes{v2.1a}{1993/10/17}{File renamed to cmfonts.fdd.}
131 % \section{Introduction}
133 % This file contains the external font information needed to load
134 % the Computer Modern fonts designed by Don Knuth and distributed with
135 % \TeX.
137 % From this file all {\ttfamily.fd} files (font definition files) for
138 % the Computer Modern fonts, both with old encoding (|OT1|) and Cork
139 % encoding (|T1|) are generated. The Cork encoded fonts are known
140 % under the name ec fonts.
142 % \section{Customization}
144 % If you plan to install the AMS font package or if you have it
145 % already installed, please note that within this package there are
146 % additional sizes of the Computer Modern symbol and math italic
147 % fonts.  With the release of \LaTeXe, these AMS `extracm' fonts have
148 % been included in the \LaTeX\ font set. Therefore, the math |.fd| files
149 % produced here assume the presence of these AMS extensions.
151 % For text fonts in \texttt{T1} encoding, the directive |new| selects
152 % the new (version 1.2) DC fonts.
154 % For the text fonts in \texttt{OT1} and \texttt{U} encoding,
155 % the optional \dst{} directive |ori| selects a conservatively
156 % generated set of font definition files,
157 % which means that only the basic font sizes coming with an old
158 % \LaTeX~2.09 installation are included into the |\DeclareFontShape|
159 % commands.  However, on many installations, people have added missing
160 % sizes by scaling up or down available Metafont sources. For example,
161 % the Computer Modern Roman italic font |cmti| is only available in
162 % the sizes 7, 8, 9, and 10pt. Nevertheless one could generate it for
163 % the sizes 5, and 6pt by using the source from |cmti7| scaled
164 % downwards. The corresponding enlarged font set is generated if the
165 % \dst{} directive |ori| is not used.
167 % When you generate the |.fd| files using the installation script
168 % |cmfonts.ins| distributed with \LaTeXe, the enlarged font set is
169 % selected.
170 % If you want to select the conservative set of |.fd| files, you have to
171 % replace statements like
172 % \begin{verbatim}
173 %   \generateFile{OT1cmr.fd}{t}{\from{cmfonts.fdd}{fd,OT1cmr}}
174 %\end{verbatim}
175 % with
176 % \begin{verbatim}
177 %   \generateFile{OT1cmr.fd}{t}{\from{cmfonts.fdd}{fd,OT1cmr,ori}}
178 %\end{verbatim}
179 % in the installation script, or more exactly by copying the
180 % installation script to a file with a new name and change that copy.
182 % \StopEventually{}
184 % \section{The \texttt{docstrip} modules}
186 % The following modules are used to direct \texttt{docstrip} in
187 % generating external files:
188 % \begin{center}
189 % \begin{tabular}{ll}
190 %   driver & produce a documentation driver file \\
191 %   nowarn & produce |.fd| files that do not warn about substitutions\\
192 %   ori    & make conservative |.fd| files\\
193 %   new    & select version 1.2 DC fonts\\
194 %   ec     & select EC fonts\\
195 %   fd     & produce a font definition file (actually no longer used)\\[2pt]
196 %   OMLccm   & make Concrete Roman Math italic\\
197 %   OMLcmm   & make Computer Modern Math italic\\
198 %   OMLcmr   & make Computer Modern Roman (math italic encoding)\\
199 %   OMScmr   & make Computer Modern Roman (math symbol encoding)\\
200 %   OMScmsy  & make Computer Modern Symbols \\
201 %   OMXcmex  & make Computer Modern large Symbols\\
202 %   OT1ccr   & make Concrete Roman (old encoding) \\
203 %   OT1cmdh  & make Computer Modern Dunhill (old encoding)\\
204 %   OT1cmfib & make Computer Modern Fibonacci (old encoding)\\
205 %   OT1cmfr  & make Computer Modern Funny (old encoding)\\
206 %   OT1cmr   & make Computer Modern Roman (old encoding)\\
207 %   OT1cmss  & make Computer Modern Sans (old encoding)\\
208 %   OT1cmtt  & make Computer Modern Typewriter (old encoding)\\
209 %   OT1cmvtt & make Computer Modern Variable Typewriter (old encoding)\\
210 %   OT2cmr   & make Computer Modern Roman (old cyrillic encoding)\\
211 %   OT2cmss  & make Computer Modern Sans (old cyrillic encoding)\\
212 %   T1ccr    & make Concrete Roman (Cork encoding)\\
213 %   T1cmdh   & make Computer Modern Dunhill (Cork encoding)\\
214 %   T1cmfib  & make Computer Modern Fibonacci (Cork encoding)\\
215 %   T1cmfr   & make Computer Modern Funny (Cork encoding)\\
216 %   T1cmr    & make Computer Modern Roman (Cork encoding)\\
217 %   T1cmss   & make Computer Modern Sans (Cork encoding)\\
218 %   T1cmtt   & make Computer Modern Typewriter (Cork encoding)\\
219 %   T1cmvtt  & make Computer Modern Variable Typewriter (Cork
220 %                encoding)\\
221 %   TS1cmr   & make Computer Modern Roman text companion fonts\\
222 %   TS1cmss  & make Computer Modern Sans text companion fonts\\
223 %   TS1cmtt  & make Computer Modern Typewriter text companion fonts\\
224 %   TS1cmvtt & make Computer Modern Variable Typewriter text
225 %                companion fonts\\
226 %   Ucmr     & make Computer Modern Roman (unknown encoding)\\
227 %   Ucmss    & make Computer Modern Sans (unknown encoding)\\
228 %   Ucmtt    & make Computer Modern Typewriter (unknown encoding)\\
229 % \end{tabular}
230 % \end{center}
231 % A typical \texttt{docstrip} command file would then have entries like:
232 % \begin{verbatim}
233 %\generateFile{OT1cmr.fd}{t}{\from{cmfonts.fdd}{fd,OT1cmr}}
234 %\end{verbatim}
237 %  \section{The font definition files}
239 %    As always we begin by identifying the latest version of the files
240 %    in the \textsf{log} file. The explicit spaces are necessary in an
241 %    |.fd| file and the |\string| guards against situations where |`|,
242 %    |<| or |>| is active.
243 % \changes{v2.2g}{1994/02/15}{Removed surplus \cs{string}}
245 %  \subsection{Fonts with Cork encoding (\texttt{T1})}
247 %    We start with the DC-fonts. These are Computer Modern fonts
248 %    reimplemented originally by Norbert Schwarz, and since release~1.2
249 %    by J\"org Knappen.
250 %    You can get them from \TeX{}
251 %    archives and from \TeX{} organizations. We strongly recommend
252 %    that you use them because they are encoded in the approved
253 %    standard encoding for text fonts.
255 %  \subsubsection{Commands for fonts with the `EC' naming scheme}
256 %    Before the declarations for the individual fonts, first define
257 %    some abbreviations that may be used as most of the fonts in the
258 %    `new' dc font distribution come in the same range of sizes.
259 %    The same is true for the ec fonts, with a somewhat enlarged font
260 %    size range.
261 % \changes{v2.5f}{1998/01/10}{Added larger sizes for ec fonts only
262 %    (thanks to Christian Cornelssen)}
263 %    \begin{macrocode}
264 %<*new|ec>
265 %<*!tt>
266 \providecommand{\EC@family}[5]{%
267   \DeclareFontShape{#1}{#2}{#3}{#4}%
268   {<5><6><7><8><9><10><10.95><12><14.4>%
269 %<ec>   <17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
270 %<!ec>   <17.28><20.74><24.88>genb*#5}{}}
271 %</!tt>
272 %    \end{macrocode}
273 % For monospaced fonts, the normal interpolation breaks down below
274 % 8pt, so scale the 8pt fonts instead.
275 % \changes{v2.5f}{1998/01/10}{Added larger sizes for ec fonts only
276 %    (thanks to Christian Cornelssen)}
277 %    \begin{macrocode}
278 %<*tt>
279 \providecommand{\EC@ttfamily}[5]{%
280   \DeclareFontShape{#1}{#2}{#3}{#4}%
281   {<5><6><7><8>#50800%
282 %<ec>  <9><10><10.95><12><14.4><17.28><20.74><24.88><29.86>%
283 %<ec>  <35.83>genb*#5}{}}
284 %<!ec>  <9><10><10.95><12><14.4><17.28><20.74><24.88>genb*#5}{}}
285 %</tt>
286 %</new|ec>
287 %    \end{macrocode}
289 %  \subsubsection{The Computer Modern Roman}
291 %    This family is available in the shapes |n|, |sl|, |it|, |sc|, and
292 %    |ui|.
293 %    \begin{macrocode}
294 %<*T1cmr>
295 \DeclareFontFamily{T1}{cmr}{}
296 %<*!new&!ec>
297 \DeclareFontShape{T1}{cmr}{m}{n}{%
298       <5><6><7><8><9>gen*dcr%
299       <10><10.95>dcr10%
300       <12><14.4>dcr12%
301       <17.28><20.74><24.88>dcr17}{}
302 \DeclareFontShape{T1}{cmr}{m}{sl}{%
303       <5><6><7><8>dcsl8%
304       <9>dcsl9%
305       <10><10.95>dcsl10%
306       <12><14.4>dcsl12%
307       <17.28><20.74><24.88>dcsl17%
308       }{}
309 \DeclareFontShape{T1}{cmr}{m}{it}{%
310       <5><6>dcti7%
311       <7><8><9>gen*dcti%
312       <10><10.95>dcti10%
313       <12><14.4>dcti12%
314       <17.28><20.74><24.88>dcti17%
315       }{}
316 \DeclareFontShape{T1}{cmr}{m}{sc}{%
317       <5><6><7><8><9><10><10.95>dccsc10%
318       <12><14.4>dccsc12%
319       <17.28><20.74><24.88>dccsc17%
320       }{}
321 \DeclareFontShape{T1}{cmr}{m}{ui}{%
322       <5><6>dcu7%
323       <7><8><9>gen*dcu%
324       <10><10.95>dcu10%
325       <12><14.4>dcu12%
326       <17.28><20.74><24.88>dcu17%
327       }{}
328 %    \end{macrocode}
329 %    There is a bold `|b|' series, but unfortunately only the normal
330 %    shape is available in this series.
331 %    \begin{macrocode}
332 %<+T1cmr>%%%%%%% bold series
333 \DeclareFontShape{T1}{cmr}{b}{n}{%
334       <5><6><7><8><9>gen*dcb%
335       <10><10.95>dcb10%
336       <12><14.4>dcb12%
337       <17.28><20.74><24.88>dcb17%
338       }{}
339 %    \end{macrocode}
340 %    Finally there is a bold extended series `|bx|' with the shapes
341 %    |n|, |sl|, and |it|.
342 %    \begin{macrocode}
343 %<+T1cmr>%%%%%%%% bold extended series
344 \DeclareFontShape{T1}{cmr}{bx}{n}{%
345       <5><6><7><8><9>gen*dcbx%
346       <10><10.95>dcbx10%
347       <12><14.4><17.28><20.74><24.88>dcbx12%
348       }{}
349 \DeclareFontShape{T1}{cmr}{bx}{sl}{%
350       <5><6><7><8><9>gen*dcbxsl%
351       <10><10.95>dcbxsl10%
352       <12><14.4><17.28><20.74><24.88>dcbxsl12%
353       }{}
354 \DeclareFontShape{T1}{cmr}{bx}{it}{%
355       <5><6><7><8><9><10><10.95>dcbxti10%
356       <12><14.4>dcbxti12%
357       <17.28><20.74><24.88>dcbxti17%
358       }{}
359 %</!new&!ec>
360 %    \end{macrocode}
361 % \changes{v2.4d}{1995/12/01}
362 %      {Ulrik Vieth. Add ui shape /1989}
363 %    \begin{macrocode}
364 %<*new>
365 \EC@family{T1}{cmr}{m}{n}{dcr}
366 \EC@family{T1}{cmr}{m}{sl}{dcsl}
367 \EC@family{T1}{cmr}{m}{it}{dcti}
368 \EC@family{T1}{cmr}{m}{sc}{dccc}
369 \EC@family{T1}{cmr}{bx}{n}{dcbx}
370 \EC@family{T1}{cmr}{b}{n}{dcb}
371 \EC@family{T1}{cmr}{bx}{it}{dcbi}
372 \EC@family{T1}{cmr}{bx}{sl}{dcbl}
373 \EC@family{T1}{cmr}{m}{ui}{dcu}
374 %</new>
375 %    \end{macrocode}
376 % \changes{v2.5a}{1997/01/14}
377 %      {EC fonts}
378 % \changes{v2.5d}{1997/06/02}{bold sc fonts latex/2497}
379 %    \begin{macrocode}
380 %<*ec>
381 \EC@family{T1}{cmr}{m}{n}{ecrm}
382 \EC@family{T1}{cmr}{m}{sl}{ecsl}
383 \EC@family{T1}{cmr}{m}{it}{ecti}
384 \EC@family{T1}{cmr}{m}{sc}{eccc}
385 \EC@family{T1}{cmr}{bx}{n}{ecbx}
386 \EC@family{T1}{cmr}{b}{n}{ecrb}
387 \EC@family{T1}{cmr}{bx}{it}{ecbi}
388 \EC@family{T1}{cmr}{bx}{sl}{ecbl}
389 \EC@family{T1}{cmr}{bx}{sc}{ecxc}
390 \EC@family{T1}{cmr}{m}{ui}{ecui}
391 %</ec>
392 %</T1cmr>
393 %    \end{macrocode}
395 % \subsubsection{Computer Modern Fibonacci}
397 %    This family was created by Don Knuth as an experiment, supplying
398 %    only Fibonacci numbers to the parameters of the Metafont sources
399 %    of the Computer Modern Meta family.
400 %    \begin{macrocode}
401 %<*T1cmfib>
402 \DeclareFontFamily{T1}{cmfib}{}
403 %<*!new&!ec>
404 \DeclareFontShape{T1}{cmfib}{m}{n}{%
405       <8><9><10><12>gen*dcfib%
406       }{}
407 %</!new&!ec>
408 %    \end{macrocode}
409 % \changes{v2.4f}{1995/12/20}
410 %      {Family name and external file name corrected Ulrik Vieth /2017}
411 % In fact these `dcfb' fonts are currently withdrawn as they generate
412 % metafont errors.
413 %    \begin{macrocode}
414 %<*new>
415 \EC@family{T1}{cmfib}{m}{n}{dcfb}
416 %</new>
417 %    \end{macrocode}
418 % \changes{v2.5a}{1997/01/14}
419 %      {EC fonts, new slanted fibonacci}
420 %    \begin{macrocode}
421 %<*ec>
422 \EC@family{T1}{cmfib}{m}{n}{ecfb}
423 \EC@family{T1}{cmfib}{m}{sl}{ecfs}
424 %</ec>
425 %</T1cmfib>
426 %    \end{macrocode}
428 % \subsubsection{Computer Modern Funny (Roman)}
430 %    This family was created by Don Knuth as another experiment.
431 %    \begin{macrocode}
432 %<*T1cmfr>
433 \DeclareFontFamily{T1}{cmfr}{}
434 %<*!new&!ec>
435 \DeclareFontShape{T1}{cmfr}{m}{n}{%
436       <10>dcff10%
437     }{}
438 \DeclareFontShape{T1}{cmfr}{m}{it}{%
439       <10>dcfi10%
440     }{}
441 %</!new&!ec>
442 %<*new>
443 \EC@family{T1}{cmfr}{m}{n}{dcff}
444 \EC@family{T1}{cmfr}{m}{it}{dcfi}
445 %</new>
446 %    \end{macrocode}
447 % \changes{v2.5a}{1997/01/14}
448 %      {EC fonts}
449 %    \begin{macrocode}
450 %<*ec>
451 \EC@family{T1}{cmfr}{m}{n}{ecff}
452 \EC@family{T1}{cmfr}{m}{it}{ecfi}
453 %</ec>
454 %</T1cmfr>
455 %    \end{macrocode}
457 % \subsubsection{Computer Modern Sans}
459 %    \begin{macrocode}
460 %<*T1cmss>
461 \DeclareFontFamily{T1}{cmss}{}
462 %<*!new&!ec>
463 \DeclareFontShape{T1}{cmss}{m}{n}{%
464       <5><6><7><8>dcss8%
465       <9>dcss9%
466       <10><10.95>dcss10%
467       <12><14.4>dcss12%
468       <17.28><20.74><24.88>dcss17%
469       }{}
470 \DeclareFontShape{T1}{cmss}{m}{it}%
471       {<->sub*cmss/m/sl}{}
472 \DeclareFontShape{T1}{cmss}{m}{sl}{%
473       <5><6><7><8>dcssi8%
474       <9>dcssi9%
475       <10><10.95>dcssi10%
476       <12><14.4>dcssi12%
477       <17.28><20.74><24.88>dcssi17%
478       }{}
479 %</!new&!ec>
480 %<*new>
481 \EC@family{T1}{cmss}{m}{n}{dcss}
482 \EC@family{T1}{cmss}{m}{sl}{dcsi}
483 \EC@family{T1}{cmss}{m}{it}{dcsi}
484 \EC@family{T1}{cmss}{bx}{n}{dcsx}
485 \EC@family{T1}{cmss}{bx}{it}{dcso}
486 \EC@family{T1}{cmss}{bx}{sl}{dcso}
487 %</new>
488 %    \end{macrocode}
489 % \changes{v2.5a}{1997/01/14}
490 %      {EC fonts}
491 %    \begin{macrocode}
492 %<*ec>
493 \EC@family{T1}{cmss}{m}{n}{ecss}
494 \EC@family{T1}{cmss}{m}{sl}{ecsi}
495 \EC@family{T1}{cmss}{m}{it}{ecsi}
496 \EC@family{T1}{cmss}{bx}{n}{ecsx}
497 \EC@family{T1}{cmss}{bx}{it}{ecso}
498 \EC@family{T1}{cmss}{bx}{sl}{ecso}
499 %</ec>
500 %    \end{macrocode}
501 %    The next substitution is very questionable.
502 %    \begin{macrocode}
503 %<+T1cmss>%%%%%% Font/shape undefined, therefore substituted
504 \DeclareFontShape{T1}{cmss}{m}{sc}%
505        {<->sub*cmr/m/sc}{}
506 %    \end{macrocode}
507 %    The next font group is quite attractive for display.
508 %    \begin{macrocode}
509 %<+T1cmss>%%%%%%% semibold condensed series
510 \DeclareFontShape{T1}{cmss}{sbc}{n}{%
511       <5><6><7><8><9><10><10.95><12><14.4><17.28>%
512       <20.74><24.88>%
513 %<!ec>dcssdc10
514 %<ec>ecssdc10
515        }{}
516 %    \end{macrocode}
518 %    \begin{macrocode}
519 %<*!new&!ec>
520 %<+T1cmss>%%%%%%%% bold extended series
521 \DeclareFontShape{T1}{cmss}{bx}{n}{%
522       <5><6><7><8><9><10><10.95><12><14.4><17.28>%
523       <20.74><24.88>dcssbx10%
524       }{}
525 %    \end{macrocode}
526 %    Another questionable substitution, but if we have the above
527 %    we might as well have this one
528 % \changes{v2.5g}{1998/03/27}{Added subst for cmss/bx/sc (pr/2586)}
529 %    \begin{macrocode}
530 %<+T1cmss>%%%%%% Font/shape undefined, therefore substituted
531 \DeclareFontShape{T1}{cmss}{bx}{sc}%
532        {<->sub*cmr/m/sc}{}
533 %</!new&!ec>
534 %</T1cmss>
535 %    \end{macrocode}
537 % \subsubsection{Computer Modern Typewriter}
539 %    Perhaps the best font in the Computer Modern suite.
540 %    \begin{macrocode}
541 %<*T1cmtt>
542 \DeclareFontFamily{T1}{cmtt}{\hyphenchar \font\m@ne}
543 %<*!new&!ec>
544 \DeclareFontShape{T1}{cmtt}{m}{n}{%
545       <8><9>gen*dctt%
546       <10><10.95>dctt10%
547       <12><14.4><17.28><20.74><24.88>dctt12%
548       }{}
549 \DeclareFontShape{T1}{cmtt}{m}{it}{%
550       <8><9>gen*dcitt%
551       <10><10.95>dcitt10%
552       <12><14.4>dcitt12%
553       <17.28><20.74><24.88>dcitt17%
554       }{}
555 \DeclareFontShape{T1}{cmtt}{m}{sl}{%
556       <8><9>gen*dcsltt%
557       <10><10.95>dcsltt10%
558       <12><14.4><17.28><20.74><24.88>dcsltt12%
559       }{}
560 \DeclareFontShape{T1}{cmtt}{m}{sc}{%
561       <10><10.95>dctcsc10%
562       <12><14.4>dctcsc12%
563       <17.28><20.74><24.88>dctcsc17%
564       }{}
565 %</!new&!ec>
566 %    \end{macrocode}
567 % \changes{v2.4e}{1995/12/04}
568 %      {Ulrik Vieth. added dctc  /1989}
569 %    \begin{macrocode}
570 %<*new>
571 \EC@ttfamily{T1}{cmtt}{m}{n}{dctt}
572 \EC@ttfamily{T1}{cmtt}{m}{sl}{dcst}
573 \EC@ttfamily{T1}{cmtt}{m}{it}{dcit}
574 \EC@ttfamily{T1}{cmtt}{m}{sc}{dctc}
575 %    \end{macrocode}
576 % \changes{v2.4i}{1996/09/26}{Added substitutions for T1 bold
577 %    extended typewriter fonts (new version).}
578 %    Finally, we define substitutions for the series |bx|. It comes
579 %    with or without a warning.
580 %    \begin{macrocode}
581 \DeclareFontShape{T1}{cmtt}{bx}{n}%
582 %<-nowarn>  {<->sub*cmtt/m/n}{}
583 %<+nowarn>  {<->ssub*cmtt/m/n}{}
584 \DeclareFontShape{T1}{cmtt}{bx}{it}%
585 %<-nowarn>  {<->sub*cmtt/m/it}{}
586 %<+nowarn>  {<->ssub*cmtt/m/it}{}
587 %</new>
588 %    \end{macrocode}
589 % \changes{v2.5a}{1997/01/14}
590 %      {EC fonts}
591 %    \begin{macrocode}
592 %<*ec>
593 \EC@ttfamily{T1}{cmtt}{m}{n}{ectt}
594 \EC@ttfamily{T1}{cmtt}{m}{sl}{ecst}
595 \EC@ttfamily{T1}{cmtt}{m}{it}{ecit}
596 \EC@ttfamily{T1}{cmtt}{m}{sc}{ectc}
597 %    \end{macrocode}
598 % \changes{v2.4i}{1996/09/26}{Added substitutions for T1 bold
599 %    extended typewriter fonts (new version).}
600 %    Finally, we define substitutions for the series |bx|. It comes
601 %    with or without a warning.
602 %    \begin{macrocode}
603 \DeclareFontShape{T1}{cmtt}{bx}{n}%
604 %<-nowarn>  {<->sub*cmtt/m/n}{}
605 %<+nowarn>  {<->ssub*cmtt/m/n}{}
606 \DeclareFontShape{T1}{cmtt}{bx}{it}%
607 %<-nowarn>  {<->sub*cmtt/m/it}{}
608 %<+nowarn>  {<->ssub*cmtt/m/it}{}
609 %</ec>
610 %</T1cmtt>
611 %    \end{macrocode}
614 % \subsubsection{Computer Modern Variable Typewriter}
616 %    The Computer Modern Variable Typewriter family is the 
617 %    proportional spaced version of the Computer Modern Typewriter
618 %    family. It is implemented as a separate family to allow easy use
619 %    in normal text, including changes of shape/series etc if available.
620 %    This family also allows normal hyphenation.
622 %    In the first implementations for the Cork encoding only the
623 %    normal shape is available. Starting with release 1.3 italic will
624 %    be provided as well.
625 %    \begin{macrocode}
626 %<*T1cmvtt>
627 \DeclareFontFamily{T1}{cmvtt}{}
628 %<*!new&!ec>
629 \DeclareFontShape{T1}{cmvtt}{m}{n}{%
630       <8><9>gen*dcvtt%
631       <10><10.95>dcvtt10%
632       <12><14.4><17.28><20.74><24.88>dcvtt12%
633       }{}
634 %</!new&!ec>
635 %    \end{macrocode}
636 %    With release 1.3 there will be an italic shape as well.
637 %    \begin{macrocode}
638 %<*new>
639 \EC@ttfamily{T1}{cmvtt}{m}{n}{dcvt}
640 \EC@ttfamily{T1}{cmvtt}{m}{it}{dcvi}
641 %</new>
642 %<*ec>
643 \EC@ttfamily{T1}{cmvtt}{m}{n}{ecvt}
644 \EC@ttfamily{T1}{cmvtt}{m}{it}{ecvi}
645 %</ec>
646 %</T1cmvtt>
647 %    \end{macrocode}
650 % \subsubsection{Computer Modern Dunhill}
652 %   The smoker's choice? Within the Cork encoding this font comes with
653 %   a full size range by default but only with one series.
654 %    \begin{macrocode}
655 %<*T1cmdh>
656 \DeclareFontFamily{T1}{cmdh}{}
657 %<*!new&!ec>
658 \DeclareFontShape{T1}{cmdh}{m}{n}{%
659       <5><6><7><8><9>gen*dcdunh%
660       <10><10.95>dcdunh10%
661       <12><14.4>dcdunh12%
662       <17.28><20.74><24.88>dcdunh17}{}
663 %</!new&!ec>
664 %<*new>
665 \EC@family{T1}{cmdh}{m}{n}{dcdh}
666 %</new>
667 %<*ec>
668 \EC@family{T1}{cmdh}{m}{n}{ecdh}
669 %</ec>
670 %</T1cmdh>
671 %    \end{macrocode}
673 % \subsubsection{Concrete Roman}
675 %   A font near to Computer Modern Typewriter designed to go with the
676 %   Euler Math fonts.
677 %    \begin{macrocode}
678 %<*T1ccr>
679 \DeclareFontFamily{T1}{ccr}{}
680 \DeclareFontShape{T1}{ccr}{m}{n}{%
681    <5><6><7><8><9><10><12>gen*dccr%
682    <10.95>dccr11 <14.4>dccr14%
683    <17.28><20.74><24.88>dccr17}{}
684 \DeclareFontShape{T1}{ccr}{m}{it}{%
685    <10><10.95><12>dcti10}{}
686 \DeclareFontShape{T1}{ccr}{m}{sc}{%
687    <10><10.95><12>dccsc10 }{}
688 %    \end{macrocode}
689 %    Note the condensed slanted variant (not used).
690 % \changes{v2.4d}{1995/12/01}
691 %      {Ulrik Vieth. Removed dcslc9 (no such font...)  /1989}
692 %    \begin{macrocode}
693 %\DeclareFontShape{T1}{ccr}{c}{sl}{<9>dcslc9}{}
694 %    \end{macrocode}
695 %    Finally a few substitution fonts for combinations not available.
696 %    As suggested by Leslie Lamport and several others the
697 %    substitution should warn by default. We control this my a \dst{}
698 %    module so that one can modify this behavior from the outside.
699 % \changes{v2.0f}{1993/09/24}{Added substitution fonts}
700 %    \begin{macrocode}
701 \DeclareFontShape{T1}{ccr}{bx}{sl}{%
702 %<-nowarn>     <->sub*cmr/bx/it
703 %<+nowarn>     <->ssub*cmr/bx/it
705 \DeclareFontShape{T1}{ccr}{bx}{n}{%
706 %<-nowarn>     <->sub*cmr/bx/n
707 %<+nowarn>     <->ssub*cmr/bx/n
709 \DeclareFontShape{T1}{ccr}{bx}{it}{%
710 %<-nowarn>     <->sub*cmr/bx/it
711 %<+nowarn>     <->ssub*cmr/bx/it
713 %</T1ccr>
714 %    \end{macrocode}
717 %  \subsubsection{The text companion fonts for \texttt{T1} encoding}
719 % \changes{v2.4e}{1995/12/04}
720 %      {Ulrik Vieth. added tcu  /1989}
721 %    \begin{macrocode}
722 %<*TS1cmr>
723 \DeclareFontFamily{TS1}{cmr}{\hyphenchar\font\m@ne}
724 %<!ec>\EC@family{TS1}{cmr}{m}{n}{tcr}
725 %<ec>\EC@family{TS1}{cmr}{m}{n}{tcrm}
726 \EC@family{TS1}{cmr}{m}{sl}{tcsl}
727 \EC@family{TS1}{cmr}{m}{it}{tcti}
728 \EC@family{TS1}{cmr}{bx}{n}{tcbx}
729 %<!ec>\EC@family{TS1}{cmr}{b}{n}{tcb}
730 %<ec>\EC@family{TS1}{cmr}{b}{n}{tcrb}
731 \EC@family{TS1}{cmr}{bx}{it}{tcbi}
732 \EC@family{TS1}{cmr}{bx}{sl}{tcbl}
733 %<!ec>\EC@family{TS1}{cmr}{m}{ui}{tcu}
734 %<ec>\EC@family{TS1}{cmr}{m}{ui}{tcui}
735 %</TS1cmr>
736 %<*TS1cmss>
737 \DeclareFontFamily{TS1}{cmss}{\hyphenchar\font\m@ne}
738 \EC@family{TS1}{cmss}{m}{n}{tcss}
739 \EC@family{TS1}{cmss}{m}{sl}{tcsi}
740 \EC@family{TS1}{cmss}{m}{it}{tcsi}
741 \EC@family{TS1}{cmss}{bx}{n}{tcsx}
742 \EC@family{TS1}{cmss}{bx}{it}{tcso}
743 \EC@family{TS1}{cmss}{bx}{sl}{tcso}
744 %</TS1cmss>
745 %<*TS1cmtt>
746 \DeclareFontFamily{TS1}{cmtt}{\hyphenchar\font\m@ne}
747 \EC@ttfamily{TS1}{cmtt}{m}{n}{tctt}
748 \EC@ttfamily{TS1}{cmtt}{m}{sl}{tcst}
749 \EC@ttfamily{TS1}{cmtt}{m}{it}{tcit}
750 %</TS1cmtt>
751 %    \end{macrocode}
752 %    Again the italic shape is only available with release 1.3.
753 %    \begin{macrocode}
754 %<*TS1cmvtt>
755 \DeclareFontFamily{TS1}{cmvtt}{}
756 \EC@ttfamily{TS1}{cmvtt}{m}{n}{tcvt}
757 \EC@ttfamily{TS1}{cmvtt}{m}{it}{tcvi}
758 %</TS1cmvtt>
759 %    \end{macrocode}
761 %  \subsection{Fonts with the old \TeX{} text encoding (\texttt{OT1})}
763 %    Note that in contrast to the Cork encoding, which is fully
764 %    defined, the old \TeX{} text encoding isn't implemented consistent
765 %    within all fonts. Most noticeably is that a dollar sign (\$) in
766 %    some fonts is replaced by a pound symbol (\pounds) in others,
767 %    which produced quite a number of bug fixes in the NFSS1. Also the
768 %    typewriter fonts contain a few different characters which are not
769 %    present in other fonts.
771 %    If one would use the philosophy of NFSS2 consequently all these
772 %    would therefore be different encodings and font mixing would
773 %    therefore be nearly impossible with older fonts. Therefore such
774 %    encodings are considered the same but one should be remember that
775 %    in some situations this may cause problems.
777 %    In other words, use |T1| encoding whenever possible, the |OT..|
778 %    encodings will be removed in some future release.
780 % \subsubsection{Computer Modern Roman (\texttt{OT1})}
782 %  Beside the |OT1| encoding we also define the same family as |U|
783 %  encoded which is used for accepting old sources with stuff like
784 %  |\newmathalphabet| in it.
785 %    \begin{macrocode}
786 %<*OT1cmr,Ucmr>
787 %<+OT1cmr>\DeclareFontFamily{OT1}{cmr}{\hyphenchar\font45 }
788 %<+Ucmr>\DeclareFontFamily{U}{cmr}{\hyphenchar\font45 }
789 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{m}{n}%
790 %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{n}%
791      {<5><6><7><8><9><10><12>gen*cmr%
792       <10.95>cmr10%
793       <14.4>cmr12%
794       <17.28><20.74><24.88>cmr17}{}
795 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{m}{sl}%
796 %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{sl}%
797      {%
798 %<+ori>      <5-8>sub*cmr/m/n%
799 %<-ori>      <5><6><7>cmsl8%
800       <8><9>gen*cmsl%
801       <10><10.95>cmsl10%
802       <12><14.4><17.28><20.74><24.88>cmsl12%
803       }{}
804 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{m}{it}%
805 %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{it}%
806      {%
807 %<+ori>      <5-7>sub*cmr/m/n%
808 %<+ori>      <7>cmti7%
809 %<-ori>      <5><6><7>cmti7%
810       <8>cmti8%
811       <9>cmti9%
812       <10><10.95>cmti10%
813       <12><14.4><17.28><20.74><24.88>cmti12%
814       }{}
815 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{m}{sc}%
816 %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{sc}%
817      {%
818 %<+ori>      <5-8>sub*cmr/m/n%
819 %<+ori>      <8><9><10><10.95><12>%
820 %<+ori>      <14.4><17.28><20.74><24.88>cmcsc10%
821 %<-ori>      <5><6><7><8><9><10><10.95><12>%
822 %<-ori>      <14.4><17.28><20.74><24.88>cmcsc10%
823       }{}
824 %    \end{macrocode}
825 %    Here we try to cure the famous \$ $\to$ \pounds{} bug:
826 % \changes{v2.2c}{1994/01/18}{Corrected forgotten renaming of font
827 %            shape u to ui in substitution.}
828 %    \begin{macrocode}
829 %<+OT1cmr,Ucmr>% Warning: please note that the upright shape below is
830 %<+OT1cmr,Ucmr>%          used for the \pounds symbol of LaTeX. So this
831 %<+OT1cmr,Ucmr>%          font definition shouldn't be removed.
832 %<+OT1cmr,Ucmr>%
833 %<+ori>%          If cmu below 10pt is not available we substitute
834 %<+ori>%          cmti as far as possible (sizes 7, 8, 9). This is
835 %<+ori>%          done because cmu is used mainly for producing the
836 %<+ori>%          the \pound symbol and it is better to get a slanted
837 %<+ori>%          (or bigger) pound then to get a $ sign in such
838 %<+ori>%          situations.
839 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{m}{ui}
840 %<+Ucmr>\DeclareFontShape{U}{cmr}{m}{ui}
841    {
842 %<+ori>      <7>subf*cmti7%
843 %<+ori>      <8>subf*cmti8%
844 %<+ori>      <9>subf*cmti9%
845 %<+ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmu10%
846 %<-ori>      <5><6><7><8><9><10><10.95><12>%
847 %<-ori>      <14.4><17.28><20.74><24.88>cmu10%
848       }{}
849 %<+OT1cmr,Ucmr>%%%%%%% bold series
850 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{b}{n}
851 %<+Ucmr>\DeclareFontShape{U}{cmr}{b}{n}%
852      {%
853 %<+ori>      <-10>sub*cmr/bx/n%
854 %<+ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmb10%
855 %<-ori>      <5><6><7><8><9><10><10.95><12>%
856 %<-ori>      <14.4><17.28><20.74><24.88>cmb10%
857       }{}
858 %<+OT1cmr,Ucmr>%%%%%%%% bold extended series
859 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{bx}{n}
860 %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{n}%
861    {%
862       <5><6><7><8><9>gen*cmbx%
863       <10><10.95>cmbx10%
864       <12><14.4><17.28><20.74><24.88>cmbx12%
865       }{}
866 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{bx}{sl}
867 %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{sl}%
868       {%
869 %<+ori>      <-10>sub*cmr/bx/n%
870 %<+ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmbxsl10%
871 %<-ori>      <5><6><7><8><9>%
872 %<-ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmbxsl10%
873       }{}
874 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{bx}{it}
875 %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{it}%
876       {%
877 %<+ori>      <-10>sub*cmr/bx/n%
878 %<+ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmbxti10%
879 %<-ori>      <5><6><7><8><9>%
880 %<-ori>      <10><10.95><12><14.4><17.28><20.74><24.88>cmbxti10%
881       }{}
882 %    \end{macrocode}
883 % \changes{v2.5h}{1999/05/09}{docstrip `nowarn' guard was the wrong way
884 %    around (pr/3036)}
885 %    \begin{macrocode}
886 %<+OT1cmr,Ucmr>% Again this is necessary for a correct \pounds symbol in
887 %<+OT1cmr,Ucmr>% the cmr fonts Hopefully the dc/ec font layout will take
888 %<+OT1cmr,Ucmr>% over soon.
889 %<+OT1cmr,Ucmr>%
890 %<+OT1cmr>\DeclareFontShape{OT1}{cmr}{bx}{ui}
891 %<+Ucmr>\DeclareFontShape{U}{cmr}{bx}{ui}%
892 %<-nowarn>      {<->sub*cmr/m/ui}{}
893 %<+nowarn>      {<->ssub*cmr/m/ui}{}
894 %</OT1cmr,Ucmr>
895 %    \end{macrocode}
897 % \subsubsection{Computer Modern Sans (\texttt{OT1})}
899 %    Same game for the Sans family.
900 %    \begin{macrocode}
901 %<*OT1cmss,Ucmss>
902 %<+OT1cmss>\DeclareFontFamily{OT1}{cmss}{\hyphenchar\font45 }
903 %<+Ucmss>\DeclareFontFamily{U}{cmss}{\hyphenchar\font45 }
904 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{m}{n}
905 %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{n}%
906      {%
907 %<+ori>      <-8>sub*cmr/m/n%
908 %<+ori>      <8>cmss8%
909 %<-ori>      <5><6><7><8>cmss8%
910       <9>cmss9%
911       <10><10.95>cmss10%
912       <12><14.4>cmss12%
913       <17.28><20.74><24.88>cmss17%
914       }{}
915 %<+OT1cmss,Ucmss>% Font undefined, therefore substituted
916 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{m}{it}
917 %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{it}%
918 %<-nowarn>      {<->sub*cmss/m/sl}{}
919 %<+nowarn>      {<->ssub*cmss/m/sl}{}
920 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{m}{sl}
921 %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{sl}%
922     {%
923 %<+ori>      <-8>sub*cmss/m/n%
924 %<+ori>      <8><9>gen*cmssi%
925 %<-ori>      <5><6><7><8>cmssi8<9>cmssi9%
926       <10><10.95>cmssi10%
927       <12><14.4>cmssi12%
928       <17.28><20.74><24.88>cmssi17%
929       }{}
930 %<+OT1cmss,Ucmss>%%%%%%% Font/shape undefined, therefore substituted
931 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{m}{sc}
932 %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{sc}%
933        {<->sub*cmr/m/sc}{}
934 %<+OT1cmss,Ucmss>%%%%%%% Font/shape undefined, therefore substituted
935 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{m}{ui}
936 %<+Ucmss>\DeclareFontShape{U}{cmss}{m}{ui}%
937        {<->sub*cmr/m/ui}{}
938 %<+OT1cmss,Ucmss>%%%%%%%% semibold condensed series
939 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{sbc}{n}
940 %<+Ucmss>\DeclareFontShape{U}{cmss}{sbc}{n}%
941      {%
942 %<+ori>      <-10>sub*cmss/m/n%
943 %<-ori>      <5><6><7><8><9>cmssdc10%
944        <10><10.95><12><14.4><17.28><20.74><24.88>cmssdc10%
945        }{}
947 %<+OT1cmss,Ucmss>%%%%%%%%% bold extended series
948 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{bx}{n}
949 %<+Ucmss>\DeclareFontShape{U}{cmss}{bx}{n}%
950      {%
951 %<+ori>      <-10>sub*cmss/m/n%
952 %<-ori>      <5><6><7><8><9>cmssbx10%
953       <10><10.95><12><14.4><17.28><20.74><24.88>cmssbx10%
954       }{}
955 %<+OT1cmss,Ucmss>%%%%%%% Font/shape undefined, therefore substituted
956 %<+OT1cmss>\DeclareFontShape{OT1}{cmss}{bx}{ui}
957 %<+Ucmss>\DeclareFontShape{U}{cmss}{bx}{ui}%
958        {<->sub*cmr/bx/ui}{}
959 %</OT1cmss,Ucmss>
960 %    \end{macrocode}
962 % \subsubsection{Computer Modern Typewriter (\texttt{OT1})}
964 %    Notice that this encoding is in fact quite different and we
965 %    shouldn't therefore substitute some other font group if the
966 %    correct size or shape isn't available. Otherwise, we may end with
967 %    a |\verb| suddenly producing a lot of funny chars instead of the
968 %    desired ones.
969 %    \begin{macrocode}
970 %<*OT1cmtt,Ucmtt>
971 %<+OT1cmtt>\DeclareFontFamily{OT1}{cmtt}{\hyphenchar \font\m@ne}
972 %<+Ucmtt>\DeclareFontFamily{U}{cmtt}{\hyphenchar \font\m@ne}
973 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{m}{n}
974 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{n}%
975      {%
976 %    \end{macrocode}
977 %    This substitution for |ori| is wrong and only in here because
978 %    that was the way stuff has be set up in the old |lfonts.tex| file.
979 %    \begin{macrocode}
980 %<+ori>      <-8>sub*cmr/m/n%
981 %<+ori>      <8><9>gen*cmtt%
982 %<-ori>      <5><6><7><8>cmtt8<9>cmtt9%
983       <10><10.95>cmtt10%
984       <12><14.4><17.28><20.74><24.88>cmtt12%
985       }{}
986 %<+OT1cmtt,Ucmtt>%%%%%% make sure subst shapes are available
987 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{m}{it}
988 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{it}%
989      {%
990 %    \end{macrocode}
991 %    The following substitution however is okay since both fonts have
992 %    the same encoding.
993 %    \begin{macrocode}
994 %<+ori>      <-10>sub*cmtt/m/n%
995 %<-ori>      <5><6><7><8><9>%
996       <10><10.95><12><14.4><17.28><20.74><24.88>cmitt10%
997       }{}
998 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{m}{sl}
999 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{sl}%
1000      {%
1001 %<+ori>      <-10>sub*cmtt/m/n%
1002 %<-ori>      <5><6><7><8><9>%
1003       <10><10.95><12><14.4><17.28><20.74><24.88>cmsltt10%
1004       }{}
1005 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{m}{sc}
1006 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{sc}%
1007      {%
1008 %<+ori>      <-10>sub*cmtt/m/n%
1009 %<-ori>      <5><6><7><8><9>%
1010       <10><10.95><12><14.4><17.28><20.74><24.88>cmtcsc10%
1011       }{}
1012 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{m}{ui}
1013 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{m}{ui}%
1014 %<-nowarn>  {<->sub*cmtt/m/it}{}
1015 %<+nowarn>  {<->ssub*cmtt/m/it}{}
1016 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{bx}{n}
1017 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{n}%
1018 %<-nowarn>  {<->sub*cmtt/m/n}{}
1019 %<+nowarn>  {<->ssub*cmtt/m/n}{}
1020 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{bx}{it}
1021 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{it}%
1022 %<-nowarn>  {<->sub*cmtt/m/it}{}
1023 %<+nowarn>  {<->ssub*cmtt/m/it}{}
1024 %<+OT1cmtt>\DeclareFontShape{OT1}{cmtt}{bx}{ui}
1025 %<+Ucmtt>\DeclareFontShape{U}{cmtt}{bx}{ui}%
1026 %<-nowarn>  {<->sub*cmtt/m/it}{}
1027 %<+nowarn>  {<->ssub*cmtt/m/it}{}
1028 %</OT1cmtt,Ucmtt>
1029 %    \end{macrocode}
1032 % \subsubsection{Computer Modern Variable Typewriter (\texttt{OT1})}
1034 %    The Computer Modern Variable Typewriter family is the 
1035 %    proportional spaced version of the Computer Modern Typewriter
1036 %    family. It is implemented as a separate family to allow easy use
1037 %    in normal text, including changes of shape/series etc if available.
1038 %    This family also allows normal hyphenation.
1039 % \changes{v2.5b}{1997/02/25}
1040 %      {typo fixed in ot1cmvtt \cs{ProvidesFile} latex/2394}
1041 %    \begin{macrocode}
1042 %<*OT1cmvtt>
1043 \DeclareFontFamily{OT1}{cmvtt}{\hyphenchar\font45 }
1044 \DeclareFontShape{OT1}{cmvtt}{m}{n}%
1045      {%
1046       <5><6><7><8><9><10><10.95>%
1047       <12><14.4><17.28><20.74><24.88>cmvtt10%
1048       }{}
1049 %    \end{macrocode}
1050 %    This font is probably not available to everybody as it is not
1051 %    part of the standard distribution. One might find it in
1052 %    \texttt{.../systems/knuth/local} on CTAN.
1053 %    \begin{macrocode}
1054 \DeclareFontShape{OT1}{cmvtt}{m}{it}%
1055      {%
1056       <5><6><7><8><9><10><10.95>%
1057       <12><14.4><17.28><20.74><24.88>cmvtti10%
1058       }{}
1059 %</OT1cmvtt>
1060 %    \end{macrocode}
1063 % \subsubsection{Computer Modern Funny (\texttt{OT1})}
1065 %    \begin{macrocode}
1066 %<*OT1cmfr>
1067 \DeclareFontFamily{OT1}{cmfr}{\hyphenchar\font45 }
1068 \DeclareFontShape{OT1}{cmfr}{m}{n}{%
1069       <10>cmff10%
1070     }{}
1071 \DeclareFontShape{OT1}{cmfr}{m}{it}{%
1072       <10>cmfi10%
1073     }{}
1074 %</OT1cmfr>
1075 %    \end{macrocode}
1077 % \subsubsection{Computer Modern Dunhill (\texttt{OT1})}
1079 %    \begin{macrocode}
1080 %<*OT1cmdh>
1081 \DeclareFontFamily{OT1}{cmdh}{\hyphenchar\font45 }
1082 \DeclareFontShape{OT1}{cmdh}{m}{n}{%
1083       <10>cmdunh10%
1084     }{}
1085 %</OT1cmdh>
1086 %    \end{macrocode}
1088 % \subsubsection{Computer Modern Fibonacci (\texttt{OT1})}
1090 %    \begin{macrocode}
1091 %<*OT1cmfib>
1092 \DeclareFontFamily{OT1}{cmfib}{\hyphenchar\font45 }
1093 \DeclareFontShape{OT1}{cmfib}{m}{n}{%
1094       <8>cmfib8%
1095     }{}
1096 %</OT1cmfib>
1097 %    \end{macrocode}
1099 %  \subsection{Math fonts}
1101 %  \subsubsection{Computer Modern Math italics}
1102 %  \changes{v2.0d}{1993/06/12}{OML/cmm/bx/it added for
1103 %    \cs{oldstylenums}}
1104 %  \changes{v2.3a}{1994/05/02}{Included font definitions for
1105 %                              AMS-supplied cm fonts.}
1106 %    \begin{macrocode}
1107 %<*OMLcmm>
1108 \DeclareFontFamily{OML}{cmm}{\skewchar\font127 }
1109 \DeclareFontShape{OML}{cmm}{m}{it}%
1110      {<5><6><7><8><9>gen*cmmi%
1111       <10><10.95>cmmi10%
1112       <12><14.4><17.28><20.74><24.88>cmmi12%
1113       }{}
1114 \DeclareFontShape{OML}{cmm}{b}{it}{%
1115       <5><6><7><8><9>gen*cmmib%
1116       <10><10.95><12><14.4><17.28><20.74><24.88>cmmib10%
1117       }{}
1118 %    \end{macrocode}
1119 %    This will allow the |\oldstylenums| command to work within
1120 %    |\textbf|.
1121 %    \begin{macrocode}
1122 \DeclareFontShape{OML}{cmm}{bx}{it}%
1123    {<->ssub*cmm/b/it}{}
1124 %</OMLcmm>
1125 %    \end{macrocode}
1127 %  \subsubsection{Computer Modern Roman Math italics}
1129 %  \changes{v2.3d}{1994/10/30}{Added OMLcmr font substitutions pointing 
1130 %     to OMLcmm. }
1131 %  \changes{v2.3f}{1995/04/22}{Corrected OMLcmr \cs{skewchar}}
1133 %  Some text symbols like `\t oo' and `$<$' are kept in the OML
1134 %   encoding, so we need font substititutions from OML/cmr to OML/cmm.
1135 %    \begin{macrocode}
1136 %<*OMLcmr>
1137 \DeclareFontFamily{OML}{cmr}{\skewchar\font127 }
1138 \DeclareFontShape{OML}{cmr}{m}{n}%
1139    {<->ssub*cmm/m/it}{}
1140 \DeclareFontShape{OML}{cmr}{m}{it}%
1141    {<->ssub*cmm/m/it}{}
1142 \DeclareFontShape{OML}{cmr}{m}{sl}%
1143    {<->ssub*cmm/m/it}{}
1144 \DeclareFontShape{OML}{cmr}{m}{sc}%
1145    {<->ssub*cmm/m/it}{}
1146 \DeclareFontShape{OML}{cmr}{bx}{n}%
1147    {<->ssub*cmm/b/it}{}
1148 \DeclareFontShape{OML}{cmr}{bx}{it}%
1149    {<->ssub*cmm/b/it}{}
1150 \DeclareFontShape{OML}{cmr}{bx}{sl}%
1151    {<->ssub*cmm/b/it}{}
1152 \DeclareFontShape{OML}{cmr}{bx}{sc}%
1153    {<->ssub*cmm/b/it}{}
1154 %</OMLcmr>
1155 %    \end{macrocode}
1157 %  \subsubsection{Computer Modern Math symbols}
1159 %  \changes{v2.3a}{1994/05/02}{Included font definitions for
1160 %                              AMS-supplied cm fonts.}
1161 %    \begin{macrocode}
1162 %<*OMScmsy>
1163 \DeclareFontFamily{OMS}{cmsy}{\skewchar\font48 }
1164 \DeclareFontShape{OMS}{cmsy}{m}{n}{%
1165       <5><6><7><8><9><10>gen*cmsy%
1166       <10.95><12><14.4><17.28><20.74><24.88>cmsy10%
1167       }{}
1168 \DeclareFontShape{OMS}{cmsy}{b}{n}{%
1169       <5><6><7><8><9>gen*cmbsy%
1170       <10><10.95><12><14.4><17.28><20.74><24.88>cmbsy10%
1171       }{}
1172 %</OMScmsy>
1173 %    \end{macrocode}
1175 %  \subsubsection{Computer Modern Roman Math symbols}
1177 %  \changes{v2.3d}{1994/10/30}{Added OMScmr font substitutions pointing 
1178 %     to OMScmm. }
1180 %  Some text symbols like `\P' and `\dag' are kept in the OMS encoding, 
1181 %  so we need font substititutions from OMS/cmr to OMS/cmsy.
1182 %    \begin{macrocode}
1183 %<*OMScmr>
1184 \DeclareFontFamily{OMS}{cmr}{\skewchar\font48 }
1185 \DeclareFontShape{OMS}{cmr}{m}{n}%
1186    {<->ssub*cmsy/m/n}{}
1187 \DeclareFontShape{OMS}{cmr}{m}{it}%
1188    {<->ssub*cmsy/m/n}{}
1189 \DeclareFontShape{OMS}{cmr}{m}{sl}%
1190    {<->ssub*cmsy/m/n}{}
1191 \DeclareFontShape{OMS}{cmr}{m}{sc}%
1192    {<->ssub*cmsy/m/n}{}
1193 \DeclareFontShape{OMS}{cmr}{bx}{n}%
1194    {<->ssub*cmsy/b/n}{}
1195 \DeclareFontShape{OMS}{cmr}{bx}{it}%
1196    {<->ssub*cmsy/b/n}{}
1197 \DeclareFontShape{OMS}{cmr}{bx}{sl}%
1198    {<->ssub*cmsy/b/n}{}
1199 \DeclareFontShape{OMS}{cmr}{bx}{sc}%
1200    {<->ssub*cmsy/b/n}{}
1201 %</OMScmr>
1202 %    \end{macrocode}
1204 %  \subsubsection{Computer Modern large symbols}
1206 %    \begin{macrocode}
1207 %<*OMXcmex>
1208 \DeclareFontFamily{OMX}{cmex}{}
1209 \DeclareFontShape{OMX}{cmex}{m}{n}{%
1210    <->sfixed*cmex10%
1211    }{}
1212 %</OMXcmex>
1213 %    \end{macrocode}
1216 %  \subsubsection{Concrete Roman}
1218 %  \changes{v2.3d}{1994/07/13}{Added new concrete shapes}
1219 %    \begin{macrocode}
1220 %<*OT1ccr>
1221 \DeclareFontFamily{OT1}{ccr}{\hyphenchar\font45 }
1222 \DeclareFontShape{OT1}{ccr}{m}{n}{%
1223    <5><6><7><8><9><10>gen*ccr%
1224    <10.95><12><14.4><17.28><20.74><24.88>ccr10}{}
1225 \DeclareFontShape{OT1}{ccr}{m}{it}{%
1226    <10><10.95><12>ccti10}{}
1227 \DeclareFontShape{OT1}{ccr}{m}{sc}{%
1228    <10><10.95><12>cccsc10}{}
1229 \DeclareFontShape{OT1}{ccr}{m}{sl}{%
1230    <9>ccsl9%
1231    <10><10.95><12>ccsl10}{}
1232 \DeclareFontShape{OT1}{ccr}{c}{sl}{<9>ccslc9}{}
1233 %    \end{macrocode}
1234 %    Finally a few substitution fonts for combinations not available.
1235 % \changes{v2.0f}{1993/09/24}{Added substitution fonts}
1236 %    \begin{macrocode}
1237 \DeclareFontShape{OT1}{ccr}{bx}{n}%
1238      {<->sub*cmr/bx/n}{}
1239 \DeclareFontShape{OT1}{ccr}{bx}{sl}%
1240      {<->sub*cmr/bx/sl}{}
1241 \DeclareFontShape{OT1}{ccr}{bx}{it}%
1242      {<->sub*cmr/bx/it}{}
1243 %</OT1ccr>
1244 %    \end{macrocode}
1246 %  \subsubsection{Concrete Roman math italic}
1248 % \changes{v2.4d}{1995/12/01}
1249 %      {Ulrik Vieth. Add 10.95 and 12 size for ccmi10  /1989}
1250 %    \begin{macrocode}
1251 %<*OMLccm>
1252 \DeclareFontFamily{OML}{ccm}{\skewchar\font127 }
1253 \DeclareFontShape{OML}{ccm}{m}{it}{%
1254    <10><10.95><12>ccmi10}{}
1255 %</OMLccm>
1256 %    \end{macrocode}
1258 % \subsubsection{Computer Modern Roman in \texttt{OT2} encoding}
1260 %    These fonts are from the University of Washington. They do not
1261 %    belong into this file but at the moment there is no other place.
1262 %    \begin{macrocode}
1263 %<*OT2cmr>
1264 \DeclareFontFamily{OT2}{cmr}{\hyphenchar\font45 }
1265 \DeclareFontShape{OT2}{cmr}{m}{n}{%
1266    <5><6><7><8><9>gen*wncyr%
1267    <10><10.95><12><14.4><17.28><20.74><24.88>wncyr10}{}
1268 \DeclareFontShape{OT2}{cmr}{m}{it}{%
1269    <5><6><7><8><9>gen*wncyi%
1270    <10><10.95><12><14.4><17.28><20.74><24.88>wncyi10}{}
1271 \DeclareFontShape{OT2}{cmr}{m}{sc}{%
1272    <5><6><7><8><9><10><10.95><12><14.4>%
1273    <17.28><20.74><24.88>wncysc10}{}
1274 %<+OT2cmr>%%%%%%%%%%%%% bold series
1275 \DeclareFontShape{OT2}{cmr}{b}{n}{%
1276    <5><6><7><8><9>gen*wncyb%
1277    <10><10.95><12><14.4><17.28><20.74><24.88>wncyb10}{}
1278 %</OT2cmr>
1279 %    \end{macrocode}
1281 % \subsubsection{Computer Modern Sans in \texttt{OT2} encoding}
1283 %    Some more fonts  from the University of Washington.
1284 %    \begin{macrocode}
1285 %<*OT2cmss>
1286 \DeclareFontFamily{OT2}{cmss}{\hyphenchar\font45 }
1287 \DeclareFontShape{OT2}{cmss}{m}{n}{%
1288    <8><9>gen*wncyss%
1289    <10><10.95><12><14.4><17.28><20.74><24.88>wncyss10}{}
1290 %</OT2cmss>
1291 %    \end{macrocode}
1293 %    The next line goes into all files and in addition prevents \dst{}
1294 %    from adding any further code from the main source file (such as a
1295 %    character table.
1296 %    \begin{macrocode}
1297 \endinput
1298 %    \end{macrocode}
1300 % \Finale