Use new -t option in l3build for TU tests
[latex2e.git] / latex2e-20150101 / base / fix-cm.dtx
blob5bb9b956223f8c7cb8aaca14a383a83fb04ca979
1 % \iffalse meta-comment
3 % Copyright 1993-2015
4 % The LaTeX3 Project and any individual authors listed elsewhere
5 % in this file.
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
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.
18 % This file has the LPPL maintenance status "maintained".
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.
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.
28 % \fi
30 % \iffalse
32 %<*dtx>
33           \ProvidesFile{fix-cm.dtx}
34 %</dtx>
35 %<fix-cm>\NeedsTeXFormat{LaTeX2e}
36 %<fix-cm>\ProvidesPackage{fix-cm}
37 %<driver>\ProvidesFile{fix-cm.drv}
38 % \fi
39 %         \ProvidesFile{fix-cm.dtx}
40           [2015/01/14 v1.1t fixes to LaTeX]
42 % \iffalse
43 %<*driver>
44  \documentclass{ltxdoc}
45  \newcommand\Lopt[1]{\textsf{#1}}
46  \let\Lpack\Lopt
47  \providecommand{\file}[1]{\texttt{#1}}
48  \providecommand{\MF}{\textsf{Metafont}}
49  \providecommand{\danger}{\marginpar[\hfill\protect\Huge!!]{\protect\Huge!!\hfill}}
50  \begin{document}
51  \DocInput{fix-cm.dtx}
52  \end{document}
53 %</driver>
54 % \fi
56 % \CheckSum{161}
58 %% \CharacterTable
59 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
60 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
61 %%   Digits        \0\1\2\3\4\5\6\7\8\9
62 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
63 %%   Dollar        \$     Percent       \%     Ampersand     \&
64 %%   Acute accent  \'     Left paren    \(     Right paren   \)
65 %%   Asterisk      \*     Plus          \+     Comma         \,
66 %%   Minus         \-     Point         \.     Solidus       \/
67 %%   Colon         \:     Semicolon     \;     Less than     \<
68 %%   Equals        \=     Greater than  \>     Question mark \?
69 %%   Commercial at \@     Left bracket  \[     Backslash     \\
70 %%   Right bracket \]     Circumflex    \^     Underscore    \_
71 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
72 %%   Right brace   \}     Tilde         \~}
76 % \let\package\textsf
79 % \GetFileInfo{fix-cm.dtx}
81 % \title{The \Lpack{fix-cm} package\thanks{This file
82 %         has version number \fileversion, last
83 %         revised \filedate.}}
84 % \author{Frank Mittelbach, David Carlisle, Chris Rowley, Walter
85 %         Schmidt\thanks{Walter wrote \Lpack{fix-cm}}}
86 % \date{\filedate}
87 % \MaintainedByLaTeXTeam{latex}
88 %  \maketitle
90 % \begin{abstract}
91 %\Lpack{fix-cm} improves the definitions of the Computer Modern
92 % font families.
93 % \end{abstract}
95 % \tableofcontents
97 % \newpage
99 % \section{Introduction}
102 % \begin{sloppypar}
103 % To use the \Lpack{fix-cm} package,
104 % load \danger it \emph{before} \cmd{\documentclass},
105 % and use the command \cmd{\RequirePackage} to do so, rather than the
106 % normal \cmd{\usepackage}:
107 % \end{sloppypar}
108 % \begin{verse}
109 %   |\RequirePackage{fix-cm}|\\
110 %   |\documentclass| \dots
111 % \end{verse}
114 % \section{Using EC fonts (T1 encoding) makes my documents look
115 %             different}
117 % No I'm not trying to collect any cites from the news group
118 % discussion on this topic. In a nutshell, if one adds
119 %\begin{verbatim}
120 %\usepackage[T1]{fontenc}
121 %\end{verbatim}
122 % to a document that uses the Computer Modern typefaces,
123 % then not only the T1 encoding is used but the fonts
124 % used in the document look noticeably different. This is due to the fact
125 % that the EC fonts have more font series designs, e.g.\ a 14.4\,pt bold
126 % etc and those get used in the standard \texttt{.fd} files, while
127 % with Computer Modern (in OT1 encoding) such sizes were scaled
128 % versions of smaller sizes---with a noticeable different look and
129 % feel.
131 % So we provide a package \Lpack{fix-cm} to ensure that comparable
132 % definitions are used. In addition to that, the package
133 % \Lpack{fix-cm} also enables continuous scaling of the CM fonts.
134 % This package was written by Walter Schmidt.
137 %^^A The documentation in this section was prepared by Walter Schmidt.
141 % \subsection{What \Lpack{fix-cm} does}
144 % Loading the package \Lpack{fix-cm} changes the font definitions of the
145 % Computer Modern fonts, in order to achieve the following effects:
146 % \begin{itemize}
147 %   \item
148 %   The appearance of the T1 and TS1 encoded CM fonts (aka `EC') is
149 %   made as similar as possible to the traditional (OT1 encoded) ones.
150 %   Particularly, a number of broken or ugly design sizes are no
151 %   longer used, the look of the bold sans serif typeface at large
152 %   sizes is considerably improved, and mismatches between the text
153 %   fonts and the corresponding math fonts are avoided.  As a side
154 %   effect, PostScript and PDF documents may become smaller, because
155 %   fewer fonts need to be embedded.
156 %   \item
157 %   The Computer Modern fonts are made available with arbitrary sizes.
158 %   \item
159 %   Only those design sizes of the fonts will be used, that are
160 %   normally available in Type1 format, too.  You need not load the
161 %   extra package \Lpack{cmmib57} for this purpose.
162 % \end{itemize}
163 % The package acts on the following font families:
164 % \begin{itemize}
165 %   \item
166 %   The text font families \file{cmr}, \file{cmss}, \file{cmtt} and
167 %   \file{cmvtt} with OT1, T1 and TS1 encoding.
168 %   \item
169 %   The default math fonts used by \LaTeX, i.e., the font families
170 %   \file{cmm} with encoding OML and \file{cms} with encoding OMS.
171 %   \item
172 %   The symbols used by the package \Lpack{latexsym}, i.e., the font
173 %   family \file{lasy}.
174 % \end{itemize}
175 % Note that the package does \emph{not} act on:
176 % \begin{itemize}
177 % \item Font families such as CM~Fibonacci, CM~Dunhill etc.,
178 %   which are provided for experimental purposes or for fun only.
179 % \item
180 %   CM text fonts with character sets other than Latin, e.g.,
181 %   Cyrillic.  Loading of the required font and encoding definitions
182 %   while the fonts are not actually used, would not be a good idea.
183 %   This should be addressed by particular packages or by changing the
184 %   standard FDs of these fonts.
185 % \item
186 %   Extra math fonts such as the AMS symbol fonts.  While
187 %   they match the style of Computer Modern, they are frequently used
188 %   in conjunction with other font families, too.  Thus,
189 %   \Lpack{fix-cm} is obviously not the right place to make sure that
190 %   they can be scaled continuously.  Ask the maintainers of these
191 %   fonts to provide this feature, which is badly needed!
192 % \item
193 %   The math extension font \file{cmex}.  Whether or not this font
194 %   should be scaled is a question of its own, and there are other
195 %   packages (\Lpack{exscale}, \Lpack{amsmath}, \Lpack{amsfonts}) to
196 %   take care of it.
197 % \end{itemize}
199 % \subsection{How to load the package}
200 % \begin{sloppypar}
201 % The package should be loaded \danger \emph{before} \cmd{\documentclass},
202 % using the command |\RequirePackage{fix-cm}|, rather than the
203 % normal \cmd{\usepackage}.
204 % Rationale:
205 % If the package is loaded in the preamble, a preceding package or
206 % even the code of the document class may have used any of the CM
207 % fonts already.  However, the definitions of those fonts, that are
208 % already in use, cannot be changed any more.
209 % \end{sloppypar}
211 % \subsection{Usage notes}
212 % In contrast to what you may expect, \Lpack{fix-cm} does \emph{not}
213 % ensure that line and page breaks stay the same, when you switch an
214 % existing document from OT1 to T1 encoding.  The package does not
215 % turn off all of the additional design sizes in the EC fonts
216 % collection: Those, that contribute considerably to the typographical
217 % quality and do not conflict with the math fonts,
218 % are---indeed---used.
220 % Be careful when using arbitrary, non-standard font sizes with
221 % applications that need bitmap fonts: You may end up \danger with
222 % lots of possibly huge \file{.pk} files.  Also, \MF{} chokes
223 % sometimes on extremely small or large sizes, because of arithmetic
224 % problems.
226 % \Lpack{fix-cm} supersedes the experimental packages \Lpack{cmsd} and
227 % \Lpack{fix-ec}, which are no longer distributed.
229 % The packages \Lpack{type1cm} and \Lpack{type1ec} must not be loaded
230 % additionally; they enable only continuous scaling.
235 % \StopEventually{}
237 % \section{Implementation}
239 % \subsection{Preliminaries}
240 % The \LaTeX{} kernel does not declare the font encoding TS1.
241 % However, we are going to set up font definitions for this encoding,
242 % so we have to declare it now.
243 %    \begin{macrocode}
244 %<*fix-cm>
245 \input{ts1enc.def}
246 %    \end{macrocode}
248 % In case the package is loaded in the preamble, any of the CM fonts may
249 % have been used already and cannot be redefined.  Yet we try to
250 % intercept at least the problem that is most likely to occur, i.e.,
251 % a hidden \cmd{\normalfont}.  Most of the standard definitions
252 % are ok, but those for T1 encoding and 10.95\,pt need to be removed:
253 %    \begin{macrocode}
254 \expandafter \let \csname T1/cmr/m/n/10.95\endcsname \relax
255 \expandafter \let \csname T1/cmss/m/n/10.95\endcsname \relax
256 \expandafter \let \csname T1/cmtt/m/n/10.95\endcsname \relax
257 \expandafter \let \csname T1/cmvtt/m/n/10.95\endcsname \relax
258 %    \end{macrocode}
260 % \Lpack{fix-cm} may still fail, if the EC fonts are preloaded in the
261 % \LaTeX{} format file. This situation is, however, very unlikely and could occur
262 % only with a customized format.
264 % The remainder of the package is enclosed in a group, where the catcodes
265 % are guaranteed to be appropriate for the processing of font definitions.
266 %    \begin{macrocode}
267 \begingroup
268 \nfss@catcodes
269 %    \end{macrocode}
271 % \subsection{T1 encoding}
273 % \paragraph{CM Roman}
274 %    \begin{macrocode}
275 \DeclareFontFamily{T1}{cmr}{}
276 \DeclareFontShape{T1}{cmr}{m}{n}{
277         <-6>    ecrm0500
278         <6-7>   ecrm0600
279         <7-8>   ecrm0700
280         <8-9>   ecrm0800
281         <9-10>  ecrm0900
282         <10-12> ecrm1000
283         <12-17> ecrm1200
284         <17->   ecrm1728
285       }{}
286 \DeclareFontShape{T1}{cmr}{m}{sl}{
287         <-6>    ecsl0500
288         <6-7>   ecsl0600
289         <7-8>   ecsl0700
290         <8-9>   ecsl0800
291         <9-10>  ecsl0900
292         <10-12> ecsl1000
293         <12-17> ecsl1200
294         <17->   ecsl1728
295       }{}
296 \DeclareFontShape{T1}{cmr}{m}{it}{
297         <-8>    ecti0700
298         <8-9>   ecti0800
299         <9-10>  ecti0900
300         <10-12> ecti1000
301         <12-17> ecti1200
302         <17->   ecti1728
303       }{}
304 \DeclareFontShape{T1}{cmr}{m}{sc}{
305         <-6>    eccc0500
306         <6-7>   eccc0600
307         <7-8>   eccc0700
308         <8-9>   eccc0800
309         <9-10>  eccc0900
310         <10-12> eccc1000
311         <12-17> eccc1200
312         <17->   eccc1728
313                }{}
314 \DeclareFontShape{T1}{cmr}{m}{ui}{
315         <-8>    ecui0700
316         <8-9>   ecui0800
317         <9-10>  ecui0900
318         <10-12> ecui1000
319         <12-17> ecui1200
320         <17->   ecui1728
321       }{}
322 \DeclareFontShape{T1}{cmr}{b}{n}{
323         <-6>    ecrb0500
324         <6-7>   ecrb0600
325         <7-8>   ecrb0700
326         <8-9>   ecrb0800
327         <9-10>  ecrb0900
328         <10-12> ecrb1000
329         <12-17> ecrb1200
330         <17->   ecrb1728
331       }{}
332 \DeclareFontShape{T1}{cmr}{bx}{n}{
333         <-6>    ecbx0500
334         <6-7>   ecbx0600
335         <7-8>   ecbx0700
336         <8-9>   ecbx0800
337         <9-10>  ecbx0900
338         <10-12> ecbx1000
339         <12->   ecbx1200
340       }{}
341 \DeclareFontShape{T1}{cmr}{bx}{sl}{
342         <-6>    ecbl0500
343         <6-7>   ecbl0600
344         <7-8>   ecbl0700
345         <8-9>   ecbl0800
346         <9-10>  ecbl0900
347         <10-12> ecbl1000
348         <12->   ecbl1200
349       }{}
350 \DeclareFontShape{T1}{cmr}{bx}{it}{
351         <-8>    ecbi0700
352         <8-9>   ecbi0800
353         <9-10>  ecbi0900
354         <10-12> ecbi1000
355         <12->   ecbi1200
356       }{}
357 \DeclareFontShape{T1}{cmr}{bx}{sc}{
358         <-6>    ecxc0500
359         <6-7>   ecxc0600
360         <7-8>   ecxc0700
361         <8-9>   ecxc0800
362         <9-10>  ecxc0900
363         <10-12> ecxc1000
364         <12->   ecxc1200
365       }{}
367 %    \end{macrocode}
369 % \paragraph{CM Sans}
370 %    \begin{macrocode}
371 \DeclareFontFamily{T1}{cmss}{}
372 \DeclareFontShape{T1}{cmss}{m}{n}{
373         <-9>    ecss0800
374         <9-10>  ecss0900
375         <10-12> ecss1000
376         <12-17> ecss1200
377         <17->   ecss1728
378       }{}
379 \DeclareFontShape{T1}{cmss}{m}{sl}{
380         <-9>    ecsi0800
381         <9-10>  ecsi0900
382         <10-12> ecsi1000
383         <12-17> ecsi1200
384         <17->   ecsi1728
385       }{}
386 \DeclareFontShape{T1}{cmss}{m}{it}
387        {<->ssub*cmss/m/sl}{}
388 \DeclareFontShape{T1}{cmss}{m}{sc}
389        {<->sub*cmr/m/sc}{}
390 \DeclareFontShape{T1}{cmss}{sbc}{n}{
391         <->     ecssdc10
392        }{}
393 \DeclareFontShape{T1}{cmss}{bx}{n}{
394         <-10>   ecsx0900
395         <10->   ecsx1000
396       }{}
397 \DeclareFontShape{T1}{cmss}{bx}{sl}{
398         <-10>   ecso0900
399         <10->   ecso1000
400       }{}
401 \DeclareFontShape{T1}{cmss}{bx}{it}
402        {<->ssub*cmss/bx/sl}{}
403 %    \end{macrocode}
404 % The following substitutions are not provided in the default
405 % \file{.fd} files.  I have included them, so that you can
406 % easily use the EC fonts with the default bold series being
407 % \file{b} rather than \file{bx}.
408 %    \begin{macrocode}
409 \DeclareFontShape{T1}{cmss}{b}{n}
410        {<->ssub*cmss/bx/n}{}
411 \DeclareFontShape{T1}{cmss}{b}{sl}
412        {<->ssub*cmss/bx/sl}{}
413 \DeclareFontShape{T1}{cmss}{b}{it}
414        {<->ssub*cmss/bx/sl}{}
415 %    \end{macrocode}
417 % \paragraph{CM Typewriter}
418 %    \begin{macrocode}
419 \DeclareFontFamily{T1}{cmtt}{\hyphenchar \font\m@ne}
420 \DeclareFontShape{T1}{cmtt}{m}{n}{
421         <-9>    ectt0800
422         <9-10>  ectt0900
423         <10-12> ectt1000
424         <12-17> ectt1200
425         <17->   ectt1728
426       }{}
427 \DeclareFontShape{T1}{cmtt}{m}{it}{
428         <-9>    ecit0800
429         <9-10>  ecit0900
430         <10-12> ecit1000
431         <12-17> ecit1200
432         <17->   ecit1728
433       }{}
434 \DeclareFontShape{T1}{cmtt}{m}{sl}{
435         <-9>    ecst0800
436         <9-10>  ecst0900
437         <10-12> ecst1000
438         <12-17> ecst1200
439         <17->   ecst1728
440       }{}
441 \DeclareFontShape{T1}{cmtt}{m}{sc}{
442         <-9>    ectc0800
443         <9-10>  ectc0900
444         <10-12> ectc1000
445         <12-17> ectc1200
446         <17->   ectc1728
447       }{}
448 \DeclareFontShape{T1}{cmtt}{bx}{n}
449        {<->sub * cmtt/m/n}{}
450 \DeclareFontShape{T1}{cmtt}{bx}{it}
451        {<->sub * cmtt/m/it}{}
452 \DeclareFontShape{T1}{cmtt}{bx}{sl}
453        {<->sub * cmtt/m/sl}{}
454 %    \end{macrocode}
455 % Substitutions not provided in the default \file{.fd} files:
456 %    \begin{macrocode}
457 \DeclareFontShape{T1}{cmtt}{b}{n}
458        {<->sub * cmtt/m/n}{}
459 \DeclareFontShape{T1}{cmtt}{b}{it}
460        {<->sub * cmtt/m/it}{}
461 \DeclareFontShape{T1}{cmtt}{b}{sl}
462        {<->sub * cmtt/m/sl}{}
463 %    \end{macrocode}
465 % \paragraph{CM Typewiter (var.)}
466 %    \begin{macrocode}
467 \DeclareFontFamily{T1}{cmvtt}{}
468 \DeclareFontShape{T1}{cmvtt}{m}{n}{
469         <-9>    ecvt0800
470         <9-10>  ecvt0900
471         <10-12> ecvt1000
472         <12-17> ecvt1200
473         <17->   ecvt1728
474       }{}
475 \DeclareFontShape{T1}{cmvtt}{m}{it}{
476         <-9>    ecvi0800
477         <9-10>  ecvi0900
478         <10-12> ecvi1000
479         <12-17> ecvi1200
480         <17->   ecvi1728
481       }{}
482 %    \end{macrocode}
484 % \subsection{TS1 encoding}
486 % \paragraph{CM Roman}
487 %    \begin{macrocode}
488 \DeclareFontFamily{TS1}{cmr}{\hyphenchar\font\m@ne}
489 \DeclareFontShape{TS1}{cmr}{m}{n}{
490         <-6>    tcrm0500
491         <6-7>   tcrm0600
492         <7-8>   tcrm0700
493         <8-9>   tcrm0800
494         <9-10>  tcrm0900
495         <10-12> tcrm1000
496         <12-17> tcrm1200
497         <17->   tcrm1728
498       }{}
499 \DeclareFontShape{TS1}{cmr}{m}{sl}{
500         <-6>    tcsl0500
501         <6-7>   tcsl0600
502         <7-8>   tcsl0700
503         <8-9>   tcsl0800
504         <9-10>  tcsl0900
505         <10-12> tcsl1000
506         <12-17> tcsl1200
507         <17->   tcsl1728
508       }{}
509 \DeclareFontShape{TS1}{cmr}{m}{it}{
510         <-8>    tcti0700
511         <8-9>   tcti0800
512         <9-10>  tcti0900
513         <10-12> tcti1000
514         <12-17> tcti1200
515         <17->   tcti1728
516       }{}
517 \DeclareFontShape{TS1}{cmr}{m}{ui}{
518         <-8>    tcui0700
519         <8-9>   tcui0800
520         <9-10>  tcui0900
521         <10-12> tcui1000
522         <12-17> tcui1200
523         <17->   tcui1728
524       }{}
525 \DeclareFontShape{TS1}{cmr}{b}{n}{
526         <-6>    tcrb0500
527         <6-7>   tcrb0600
528         <7-8>   tcrb0700
529         <8-9>   tcrb0800
530         <9-10>  tcrb0900
531         <10-12> tcrb1000
532         <12-17> tcrb1200
533         <17->   tcrb1728
534       }{}
535 \DeclareFontShape{TS1}{cmr}{bx}{n}{
536         <-6>    tcbx0500
537         <6-7>   tcbx0600
538         <7-8>   tcbx0700
539         <8-9>   tcbx0800
540         <9-10>  tcbx0900
541         <10-12> tcbx1000
542         <12->   tcbx1200
543       }{}
544 \DeclareFontShape{TS1}{cmr}{bx}{sl}{
545         <-6>    tcbl0500
546         <6-7>   tcbl0600
547         <7-8>   tcbl0700
548         <8-9>   tcbl0800
549         <9-10>  tcbl0900
550         <10-12> tcbl1000
551         <12->   tcbl1200
552       }{}
553 \DeclareFontShape{TS1}{cmr}{bx}{it}{
554         <-8>    tcbi0700
555         <8-9>   tcbi0800
556         <9-10>  tcbi0900
557         <10-12> tcbi1000
558         <12->   tcbi1200
559       }{}
560 %    \end{macrocode}
562 % \paragraph{CM Sans}
563 %    \begin{macrocode}
564 \DeclareFontFamily{TS1}{cmss}{\hyphenchar\font\m@ne}
565 \DeclareFontShape{TS1}{cmss}{m}{n}{
566         <-9>    tcss0800
567         <9-10>  tcss0900
568         <10-12> tcss1000
569         <12-17> tcss1200
570         <17->   tcss1728
571       }{}
572 \DeclareFontShape{TS1}{cmss}{m}{it}
573        {<->ssub*cmss/m/sl}{}
574 \DeclareFontShape{TS1}{cmss}{m}{sl}{
575         <-9>    tcsi0800
576         <9-10>  tcsi0900
577         <10-12> tcsi1000
578         <12-17> tcsi1200
579         <17->   tcsi1728
580       }{}
581 \DeclareFontShape{TS1}{cmss}{sbc}{n}{
582         <->     tcssdc10
583        }{}
584 \DeclareFontShape{TS1}{cmss}{bx}{n}{
585         <-10>   tcsx0900
586         <10->   tcsx1000
587       }{}
588 \DeclareFontShape{TS1}{cmss}{bx}{sl}{
589         <-10>   tcso0900
590         <10->   tcso1000
591       }{}
592 \DeclareFontShape{TS1}{cmss}{bx}{it}
593        {<->ssub*cmss/bx/sl}{}
594 %    \end{macrocode}
595 % Substitutions not provided in the default \file{.fd} files:
596 %    \begin{macrocode}
597 \DeclareFontShape{TS1}{cmss}{b}{n}
598        {<->ssub*cmss/bx/n}{}
599 \DeclareFontShape{TS1}{cmss}{b}{sl}
600        {<->ssub*cmss/bx/sl}{}
601 \DeclareFontShape{TS1}{cmss}{b}{it}
602        {<->ssub*cmss/bx/sl}{}
603 %    \end{macrocode}
605 % \paragraph{CM Typewriter}
606 %    \begin{macrocode}
607 \DeclareFontFamily{TS1}{cmtt}{\hyphenchar \font\m@ne}
608 \DeclareFontShape{TS1}{cmtt}{m}{n}{
609         <-9>    tctt0800
610         <9-10>  tctt0900
611         <10-12> tctt1000
612         <12-17> tctt1200
613         <17->   tctt1728
614       }{}
615 \DeclareFontShape{TS1}{cmtt}{m}{it}{
616         <-9>    tcit0800
617         <9-10>  tcit0900
618         <10-12> tcit1000
619         <12-17> tcit1200
620         <17->   tcit1728
621       }{}
622 \DeclareFontShape{TS1}{cmtt}{m}{sl}{
623         <-9>    tcst0800
624         <9-10>  tcst0900
625         <10-12> tcst1000
626         <12-17> tcst1200
627         <17->   tcst1728
628       }{}
629 \DeclareFontShape{TS1}{cmtt}{bx}{n}
630        {<->sub * cmtt/m/n}{}
631 \DeclareFontShape{TS1}{cmtt}{bx}{it}
632        {<->sub * cmtt/m/it}{}
633 \DeclareFontShape{TS1}{cmtt}{bx}{sl}
634        {<->sub * cmtt/m/sl}{}
635 %    \end{macrocode}
636 % Substitutions not provided in the default \file{.fd} files:
637 %    \begin{macrocode}
638 \DeclareFontShape{TS1}{cmtt}{b}{n}
639        {<->sub * cmtt/m/n}{}
640 \DeclareFontShape{TS1}{cmtt}{b}{it}
641        {<->sub * cmtt/m/it}{}
642 \DeclareFontShape{TS1}{cmtt}{b}{sl}
643        {<->sub * cmtt/m/sl}{}
644 %    \end{macrocode}
646 % \paragraph{CM Typewriter (var.)}
647 %    \begin{macrocode}
648 \DeclareFontFamily{TS1}{cmvtt}{}
649 \DeclareFontShape{TS1}{cmvtt}{m}{n}{
650         <-9>    tcvt0800
651         <9-10>  tcvt0900
652         <10-12> tcvt1000
653         <12-17> tcvt1200
654         <17->   tcvi1728
655       }{}
656 \DeclareFontShape{TS1}{cmvtt}{m}{it}{
657         <-9>    tcvi0800
658         <9-10>  tcvi0900
659         <10-12> tcvi1000
660         <12-17> tcvi1200
661         <17->   tcvi1728
662       }{}
663 %    \end{macrocode}
665 % \subsection{OT1 encoding}
667 % \paragraph{CM Roman}
668 %    \begin{macrocode}
669 \DeclareFontFamily{OT1}{cmr}{\hyphenchar\font45 }
670 \DeclareFontShape{OT1}{cmr}{m}{n}{
671         <-6>    cmr5
672         <6-7>   cmr6
673         <7-8>   cmr7
674         <8-9>   cmr8
675         <9-10>  cmr9
676         <10-12> cmr10
677         <12-17> cmr12
678         <17->   cmr17
679       }{}
680 \DeclareFontShape{OT1}{cmr}{m}{sl}{
681         <-9>    cmsl8
682         <9-10>  cmsl9
683         <10-12> cmsl10
684         <12->   cmsl12
685       }{}
686 \DeclareFontShape{OT1}{cmr}{m}{it}{
687         <-8>    cmti7
688         <8-9>   cmti8
689         <9-10>  cmti9
690         <10-12> cmti10
691         <12->   cmti12
692       }{}
693 \DeclareFontShape{OT1}{cmr}{m}{sc}{
694         <->     cmcsc10
695       }{}
696 \DeclareFontShape{OT1}{cmr}{m}{ui}{
697         <->     cmu10
698       }{}
699 \DeclareFontShape{OT1}{cmr}{b}{n}{
700         <->     cmb10
701       }{}
702 \DeclareFontShape{OT1}{cmr}{bx}{n}{
703         <-6>    cmbx5
704         <6-7>   cmbx6
705         <7-8>   cmbx7
706         <8-9>   cmbx8
707         <9-10>  cmbx9
708         <10-12> cmbx10
709         <12->   cmbx12
710       }{}
711 \DeclareFontShape{OT1}{cmr}{bx}{sl}{
712         <->     cmbxsl10
713       }{}
714 \DeclareFontShape{OT1}{cmr}{bx}{it}{
715         <->     cmbxti10
716       }{}
717 \DeclareFontShape{OT1}{cmr}{bx}{ui}
718       {<->sub*cmr/m/ui}{}
719 %    \end{macrocode}
721 % \paragraph{CM Sans}
722 %    \begin{macrocode}
723 \DeclareFontFamily{OT1}{cmss}{\hyphenchar\font45 }
724 \DeclareFontShape{OT1}{cmss}{m}{n}{
725         <-9>    cmss8
726         <9-10>  cmss9
727         <10-12> cmss10
728         <12-17> cmss12
729         <17->   cmss17
730       }{}
731 \DeclareFontShape{OT1}{cmss}{m}{it}
732       {<->sub*cmss/m/sl}{}
733 \DeclareFontShape{OT1}{cmss}{m}{sl}{
734         <-9>    cmssi8
735         <9-10>  cmssi9
736         <10-12> cmssi10
737         <12-17> cmssi12
738         <17->   cmssi17
739       }{}
740 \DeclareFontShape{OT1}{cmss}{m}{sc}
741        {<->sub*cmr/m/sc}{}
742 \DeclareFontShape{OT1}{cmss}{m}{ui}
743        {<->sub*cmr/m/ui}{}
744 \DeclareFontShape{OT1}{cmss}{sbc}{n}{
745         <->     cmssdc10
746       }{}
747 \DeclareFontShape{OT1}{cmss}{bx}{n}{
748         <->     cmssbx10
749       }{}
750 \DeclareFontShape{OT1}{cmss}{bx}{ui}
751        {<->sub*cmr/bx/ui}{}
752 %    \end{macrocode}
754 % \paragraph{CM Typewriter}
755 %    \begin{macrocode}
756 \DeclareFontFamily{OT1}{cmtt}{\hyphenchar \font\m@ne}
757 \DeclareFontShape{OT1}{cmtt}{m}{n}{
758         <-9>    cmtt8
759         <9-10>  cmtt9
760         <10-12> cmtt10
761         <12->   cmtt12
762       }{}
763 \DeclareFontShape{OT1}{cmtt}{m}{it}{
764         <->     cmitt10
765       }{}
766 \DeclareFontShape{OT1}{cmtt}{m}{sl}{
767         <->     cmsltt10
768       }{}
769 \DeclareFontShape{OT1}{cmtt}{m}{sc}{
770         <->     cmtcsc10
771       }{}
772 \DeclareFontShape{OT1}{cmtt}{m}{ui}
773        {<->ssub*cmtt/m/it}{}
774 \DeclareFontShape{OT1}{cmtt}{bx}{n}
775        {<->ssub*cmtt/m/n}{}
776 \DeclareFontShape{OT1}{cmtt}{bx}{it}
777        {<->ssub*cmtt/m/it}{}
778 \DeclareFontShape{OT1}{cmtt}{bx}{ui}
779        {<->ssub*cmtt/m/it}{}
780 %    \end{macrocode}
782 % \paragraph{CM Typewriter (var.)}
783 %    \begin{macrocode}
784 \DeclareFontFamily{OT1}{cmvtt}{\hyphenchar\font45 }
785 \DeclareFontShape{OT1}{cmvtt}{m}{n}{
786         <->     cmvtt10
787       }{}
788 \DeclareFontShape{OT1}{cmvtt}{m}{it}{
789         <->     cmvtti10
790       }{}
791 %    \end{macrocode}
793 % \subsection{OML and OMS encoded math fonts}
794 %    \begin{macrocode}
795 \DeclareFontFamily{OML}{cmm}{\skewchar\font127 }
796 \DeclareFontShape{OML}{cmm}{m}{it}{
797         <-6>    cmmi5
798         <6-7>   cmmi6
799         <7-8>   cmmi7
800         <8-9>   cmmi8
801         <9-10>  cmmi9
802         <10-12> cmmi10
803         <12->   cmmi12
804       }{}
805 \DeclareFontShape{OML}{cmm}{b}{it}{<-6>cmmib5<6-8>cmmib7<8->cmmib10}{}
806 \DeclareFontShape{OML}{cmm}{bx}{it}
807        {<->ssub*cmm/b/it}{}
808 %    \end{macrocode}
809 %    \begin{macrocode}
810 \DeclareFontFamily{OMS}{cmsy}{\skewchar\font48 }
811 \DeclareFontShape{OMS}{cmsy}{m}{n}{
812         <-6>    cmsy5
813         <6-7>   cmsy6
814         <7-8>   cmsy7
815         <8-9>   cmsy8
816         <9-10>  cmsy9
817         <10->   cmsy10
818       }{}
819 \DeclareFontShape{OMS}{cmsy}{b}{n}{<-6>cmbsy5<6-8>cmbsy7<8->cmbsy10}{}
820 %    \end{macrocode}
822 % \subsection{\LaTeX{} symbols}
823 %    \begin{macrocode}
824 \DeclareFontFamily{U}{lasy}{}
825 \DeclareFontShape{U}{lasy}{m}{n}{
826         <-6>    lasy5
827         <6-7>   lasy6
828         <7-8>   lasy7
829         <8-9>   lasy8
830         <9-10>  lasy9
831         <10->   lasy10
832       }{}
833 \DeclareFontShape{U}{lasy}{b}{n}{
834         <-10>   ssub * lasy/m/n
835         <10->   lasyb10
836       }{}
837 %    \end{macrocode}
838 %    \begin{macrocode}
839 \endgroup
840 %</fix-cm>
841 %    \end{macrocode}
843 % \Finale
845 \endinput