Debian Codegraph @

texmf-dist/source/latex/base/slifonts.fdd

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