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