summaryrefslogtreecommitdiff
path: root/macros/latex/base/slifonts.fdd
blob: ec8b802596f4f15a3e196fab3cadb1e1a4234ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
% \iffalse meta-comment
%
% Copyright 1993-2019
% The LaTeX Project and any individual authors listed elsewhere
% in this file.
%
% This file is part of the LaTeX base system.
% -------------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
%    https://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2008 or later.
%
% This file has the LPPL maintenance status "maintained".
%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
%
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
%
% \fi
%
%\iffalse        This is a META comment
%
% File `slifonts.fdd'.
% Copyright (C) 1989-1998 LaTeX Project, Frank Mittelbach and
% Rainer Sch\"opf, all rights reserved.
%
%<lcmss&!ec>\ProvidesFile{ot1lcmss.fd}
%<lcmtt&!ec>\ProvidesFile{ot1lcmtt.fd}
%<lcmss&ec>\ProvidesFile{t1lcmss.fd}
%<lcmtt&ec>\ProvidesFile{t1lcmtt.fd}
%<lcmm,    >\ProvidesFile{omllcmm.fd}
%<lcmsy,   >\ProvidesFile{omslcmsy.fd}
%<lcmex,   >\ProvidesFile{omxlcmex.fd}
%<llasy,   >\ProvidesFile{ullasy.fd}
%<main,    >\ProvidesFile{sfonts.def}
%<*driver, >
            \ProvidesFile{sfonts.drv}
%</driver, >
        [2019/07/09 v2.2f Standard LaTeX slide font definitions]
%
%<*driver>
\documentclass{ltxdoc}
\GetFileInfo{sfonts.drv}
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
\title{The file \texttt{slifonts.fdd} for use with
      \LaTeXe.\thanks{This file has version
           number \fileversion, dated \filedate.}}
\date{\filedate}
\author{Frank Mittelbach \and Rainer Sch\"opf}
\begin{document}
 \MaintainedByLaTeXTeam{latex}
 \maketitle
 \DocInput{slifonts.fdd}
\end{document}
%</driver>
%
%\fi
%
%
% \changes{v2.2c}{1997/05/26}{Removed spaces in and around arguments
%    to \cs{DeclareFontShape} and \cs{EC@family}.}
% \changes{v2.2a}{1997/01/15}
%      {ec font support added}
% \changes{v2.1m}{1996/11/20}
%      {lowercase fd filenames /1044}
% \changes{v2.1l}{1996/05/17}
%      {Force \cs{hyphenchar} of OT1 fonts to 45, in case
%       \cs{defaulthyphenchar} has changed.}
% \changes{v2.1l}{1996/05/17}
%      {Remove some spurious extra empty arguments to
%       \cs{DeclareFontFamily} calls}
% \changes{v2.1j}{1995/09/27}{Globally replaced scale factor 19.91 by
%          19.907 in \cs{DeclareFontShape}, as this gives better
%          rounded font sizes at 600dpi (suggested by Denis Roegel).}
% \changes{v2.1i}{1995/09/19}{Corrected names of .fd files in argument
%                           to \cs{ProvidesFile} commands.}
% \changes{v2.1h}{1994/05/12}{Added \cs{ProvidesFile} commands.}
% \changes{v2.1c}{1993/12/17}{Added size 8 to allow for \cs{LaTeX}
%                           logo.}
% \changes{v2.1a}{1993/12/13}{Removed \cs{CodelineIndex} from the
%                           driver code.}
% \changes{v2.1e}{1994/01/31}{Corrected extension in typeout.}
% \changes{v2.1f}{1994/02/28}{Moved driver further up.}
%
%
% \section{Introduction}
%
% This file contains the external font information for special
% variants of the the Computer Modern fonts to be used for overhead
% slides. They allow to produce slides in a similar fashion as it was
% originally done by \SliTeX{}.
%
% With \LaTeXe{} it is now no longer necessary to maintain a special
% format. Instead the standard format may be used and internally only
% different font definition files come into play.
%
% Note, that that you therefore can easily produce slides in different
% fonts just by calling an appropriate package (like |times|) in
% your |\usepackage| command. This works, for example, with all
% fonts that are defined to be scalable (eg PostScript fonts) since
% they can be scaled to any size.
%
% However, minor styles like |pandora| won't work because the standard
% |.fd| files shipped with \LaTeXe{} only contain small sizes. You can,
% of course, produce additional sizes and change the |.fd| files
% accordingly, but in this case it might be better to distinguish
% |.fd| files for normal text and for slides by prefixing the family
% name with an |l| (see below).
%
% All the standard family names for \SliTeX{} fonts start out with
% with an |l| as the first character. This will distinguish them from
% text font families with similar names.
%
% In addition, we introduce an additional convention for shapes: if
% $x$ is a shape, then |I|$x$ represents the invisible form of the
% shape. This is used by the color separation macros and the
% |\invisible| command of the slides style file.
%
%
% \StopEventually{}
%
% \section{A driver for this document}
%
% The next bit of code contains the documentation driver file for
% \TeX{}, i.e., the file that will produce the documentation you are
% currently reading. It will be extracted from this file by the
% \dst{} program.
% \changes{v2.1b}{1993/12/14}{Corrected \cs{documentclass}.}
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
%\DisableCrossrefs  % Say \DisableCrossrefs if index is ready
\RecordChanges      % Gather update information
%\OnlyDescription   % comment out for implementation details
%\OldMakeindex      % use if your MakeIndex is pre-v2.9
\begin{document}
   \DocInput{slifonts.fdd}
\end{document}
%</driver>
%    \end{macrocode}
%
%
% \section{The \dst{} modules}
%
% The following modules are used to direct \dst{} in
% generating external files:
% \begin{center}
% \begin{tabular}{ll}
%   driver & produce a documentation driver file \\
%   main   & generate \texttt{sfonts.def} \\
%   fd     & produce a font definition file \\
%   ec     & Use the extended EC font set rather than cm \\[2pt]
%   lccr    & Concrete Roman slide sizes \\
%   lcmss   & Computer Modern Sans slide sizes \\
%   lcmtt   & Computer Modern Typewriter slide sizes \\
%   lcmm    & Computer Modern Math italic slide sizes \\
%   lcmm    & Computer Modern Math symbols slide sizes \\
%   lcmex   & Computer Modern Math extension symbols slide sizes \\
%   llasy   & \LaTeX{} symbols slide sizes \\
% \end{tabular}
% \end{center}
% A typical \dst{} command file would then have entries like:
% \begin{verbatim}
%\generateFile{OMSlcmsy.fd}{t}{\from{slifonts.fdd}{lcmsy,fd}}
%\end{verbatim}
%
% \section{The font definition files}
%
%
% \subsection{Concrete Roman}
%
% \changes{v2.2b}{1997/02/25}
%      {typo fixed in cccsc10. latex/2395}
%    \begin{macrocode}
%<*lccr>
\DeclareFontFamily{OT1}{lccr}{\hyphenchar\font45 }
\DeclareFontShape{OT1}{lccr}{m}{sc}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>cccsc10%
       }{}
\DeclareFontShape{OT1}{lccr}{m}{sl}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>ccslc9%
       }{}
\DeclareFontShape{OT1}{lccr}{m}{n}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>ccr8%
       }{}
\DeclareFontShape{OT1}{lccr}{m}{In}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>iccr8%
       }{}
%</lccr>
%    \end{macrocode}
%
% \subsection{Computer Modern Sans}
%
%    \begin{macrocode}
%<*lcmss>
%<!ec> \DeclareFontFamily{OT1}{lcmss}{\hyphenchar\font45 }
%<ec>  \DeclareFontFamily{T1}{lcmss}{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{n}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{m}{n}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> lcmss8%
%<ec>  eclq8%
       }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{In}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{m}{In}{%
 <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> ilcmss8%
%<ec>  ieclq8%
       }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{sl}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{m}{sl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> lcmssi8%
%<ec>  ecli8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{Isl}{%
%<ec> \DeclareFontShape{T1}{lcmss}{m}{Isl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> ilcmssi8%
%<ec>  iecli8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{it}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{m}{it}{%
      <->sub*lcmss/m/sl}{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{m}{Iit}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{m}{Iit}{%
      <->sub*lcmss/m/Isl}{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{bx}{n}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{bx}{n}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> lcmssb8%
%<ec>  eclb8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmss}{bx}{In}{%
%<ec>  \DeclareFontShape{T1}{lcmss}{bx}{In}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> ilcmssb8%
%<ec>  ieclb8%
      }{}
%    \end{macrocode}
%
% EC fonts have a bold slanted font for the slides class.
%    \begin{macrocode}
%<*ec>
\DeclareFontShape{T1}{lcmss}{bx}{sl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
   eclo8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{T1}{lcmss}{bx}{Isl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
  ieclo8%
      }{}
%    \end{macrocode}
%    \begin{macrocode}
\DeclareFontShape{T1}{lcmss}{bx}{it}{%
      <->sub*lcmss/bx/sl}{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{T1}{lcmss}{bx}{Iit}{%
      <->sub*lcmss/bx/Isl}{}
%    \end{macrocode}
%
%    \begin{macrocode}
%</ec>
%    \end{macrocode}
%
%    There are extra substitutions for the shape |ui| which are needed
%    for |\pounds| to not come out as a \$ sign (mostly).
% \changes{v2.1k}{1995/10/31}{Added substitutions to make \cs{pounds}
% work right in slides.}
%    \begin{macrocode}
%<*!ec>
\DeclareFontShape{OT1}{lcmss}{m}{ui}{%
      <->sub*cmr/m/ui}{}
\DeclareFontShape{OT1}{lcmss}{bx}{ui}{%
      <->sub*cmr/m/ui}{}
%</!ec>
%</lcmss>
%    \end{macrocode}
%
% \subsection{Computer Modern Typewriter}
%
%    \begin{macrocode}
%<*lcmtt>
%<!ec> \DeclareFontFamily{OT1}{lcmtt}{\hyphenchar\font\m@ne}
%<ec>  \DeclareFontFamily{T1}{lcmtt}{\hyphenchar\font\m@ne}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmtt}{m}{n}{%
%<ec> \DeclareFontShape{T1}{lcmtt}{m}{n}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> cmtt8%
%<ec>  ecltt8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmtt}{m}{In}{%
%<ec>  \DeclareFontShape{T1}{lcmtt}{m}{In}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> icmtt8%
%<ec>  iecltt8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
%<!ec> \DeclareFontShape{OT1}{lcmtt}{m}{it}{%
%<ec>  \DeclareFontShape{T1}{lcmtt}{m}{it}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>%
%<!ec> cmitt10%
%<ec>  ecit1000%
      }{}
%    \end{macrocode}
%    There are extra substitutions for the shape |ui| which are needed
%    for |\pounds| to not come out as a \$ sign (mostly).
% \changes{v2.1k}{1995/10/31}{Added substitutions to make \cs{pounds}
% work right in slides.}
%    \begin{macrocode}
%<*!ec>
\DeclareFontShape{OT1}{lcmtt}{m}{ui}{%
      <->sub*cmtt/m/it}{}
\DeclareFontShape{OT1}{lcmtt}{bx}{ui}{%
      <->sub*cmtt/m/it}{}
%</!ec>
%</lcmtt>
%    \end{macrocode}
%
% \subsection{Computer Modern Math}
%
%    \begin{macrocode}
%<*lcmm>
\DeclareFontFamily{OML}{lcmm}{\skewchar\font'177}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{OML}{lcmm}{m}{it}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>cmmi8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{OML}{lcmm}{m}{Iit}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>icmmi8%
      }{}
%</lcmm>
%    \end{macrocode}
%
% \subsection{Computer Modern Symbol}
%
%    \begin{macrocode}
%<*lcmsy>
\DeclareFontFamily{OMS}{lcmsy}{\skewchar\font'60}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{OMS}{lcmsy}{m}{n}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>cmsy8%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{OMS}{lcmsy}{m}{In}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>icmsy8%
      }{}
%</lcmsy>
%    \end{macrocode}
%
% \subsection{Computer Modern large symbols}
%
% \changes{v2.1g}{1994/03/01}{Removed extra pair of curly braces
%              at end of \cs{DeclareFontFamily} command.}
%    \begin{macrocode}
%<*lcmex>
\DeclareFontFamily{OMX}{lcmex}{}
\DeclareFontShape{OMX}{lcmex}{m}{n}{%
       <->sfixed*[17.28]cmex10%
      }{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{OMX}{lcmex}{m}{In}{%
       <->sfixed*[17.28]icmex10%
      }{}
%</lcmex>
%    \end{macrocode}
%
% \subsection{\LaTeX{} symbols}
%
% \changes{v2.2d}{1997/10/20}{Removed superfluous pair of braces at
%    end of \cs{DeclareFontFamily} command.}
%    \begin{macrocode}
%<*llasy>
\DeclareFontFamily{U}{llasy}{}
\DeclareFontShape{U}{llasy}{m}{n}{%
      <12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>lasy8%
}{}
%    \end{macrocode}
%
%    \begin{macrocode}
\DeclareFontShape{U}{llasy}{m}{In}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>ilasy8%
}{}
%</llasy>
%    \end{macrocode}
%
% \section{Setting defaults}
%
%    The following statements go into the file \texttt{sfonts.def}
%    which plays a r\^ole similar to \texttt{fontdef.ltx}. Thus, you may
%    want to produce your own local variant of it if you intend to use
%    different fonts in your slides.
% \changes{v2.0b}{1993/03/09}{Added \cs{fd@prefix} for \cs{input}}
% \changes{v2.2a}{1997/01/15}{lowercase fd file}
%    \begin{macrocode}
%<*main>
\DeclareErrorFont{OT1}{lcmss}{m}{n}{19.907}
\DeclareFontSubstitution{OT1}{lcmss}{m}{n}
\input ot1lcmss.fd
%    \end{macrocode}
%
%    Ensure some suitable starting values but don't load any font
%    yet. In the past this was implicitly done as part of
%    \cs{DeclareErrorFont} but not any longer.
% \changes{v2.2f}{2019/07/09}{Explicitly set some defaults}
%    \begin{macrocode}
\fontencoding{OT1}
\fontfamily{lcmss}
\fontseries{m}
\fontshape{n}
\fontsize{19.907}{19.907}
%</main>
%    \end{macrocode}
%
%
%    The next line goes into all files and in addition prevents \dst{}
%    from adding any further code from the main source file (such as a
%    character table.
%    \begin{macrocode}
\endinput
%    \end{macrocode}
%
% \Finale
%
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}