Debian Codegraph @

texmf-dist/source/latex/amsfonts/amsfonts.dtx

raw
1 % \def\filename{amsfonts.dtx}
2 % \def\fileversion{3.01}
3 % \def\filedate{2013/01/14}
4 %
5 % \iffalse meta-comment
6 %
7 % American Mathematical Society
8 % Technical Support
9 % Publications Technical Group
10 % 201 Charles Street
11 % Providence, RI 02904
12 % USA
13 % tel: (401) 455-4080
14 % (800) 321-4267 (USA and Canada only)
15 % fax: (401) 331-3842
16 % email: [email protected]
17 %
18 % Copyright 2001, 2009, 2013 American Mathematical Society.
19 %
20 % Unlimited copying and redistribution of this file are permitted as
21 % long as this file is not modified. Modifications, and distribution
22 % of modified versions, are permitted, but only if the resulting file
23 % is renamed.
24 %
25 % \fi
26 %
27 % \iffalse
28 %<*driver>
29 \documentclass{amsdtx}
30 \usepackage{mflogo}
31 \begin{document}
32 \title{The \pkg{amsfonts} package}
33 \author{David M. Jones%
34 \thanks{Previous versions of this package were written by Frank
35 Mittelbach, Rainer Sch\"opf and Michael Downes. Most of the
36 code remains unchanged and the credit should continue accruing
37 to them. However, blame for the commentary and decisions
38 regarding the \opt{psamfonts} option and the handling of font
39 scaling belong to the current author alone.}%
40 }
41 \date{Version \fileversion, \filedate}
42 \DocInput{amsfonts.dtx}
43 \end{document}
44 %</driver>
45 % \fi
46 %
47 % \maketitle
48 %
49 % \MakeShortVerb\|
50 %
51 % \section{Introduction}
52 %
53 % The \pkg{amsfonts} package provides access to a limited selection
54 % of features from the AMSFonts package. For other features, see
55 % the following packages: \pkg{amssymb}, \pkg{eucal}, \pkg{eufrak},
56 % and \pkg{euscript}. (For wholesale substitution of Euler math,
57 % see Frank Jensen's \pkg{euler} package.)
58 %
59 % This file also contains the external font definitions
60 % (\texttt{.fd} files) needed to use the AMS font collection with
61 % \LaTeXe.
62 %
63 % \subsection{The \opt{psamsfonts} option}
64 %
65 % In early versions of AMSFonts, the 6, 8 and 9 point sizes of many
66 % fonts were implemented only in \MF\ and were not available as
67 % separate Type~1 fonts. Because of this, many AMS-\LaTeX\ classes
68 % and packages were given a \opt{psamsfonts} option that would
69 % adjust the font definitions so that only the TFM files
70 % corresponding to design sizes available as Type~1 fonts would be
71 % used. This relieved DVI-to-PostScript processors of the
72 % responsibility of doing an appropriate font substitution, which
73 % was of particular value in those early days when support for
74 % Type~1 fonts was still experimental and highly variable.
75 %
76 % However, the \opt{psamsfonts} option had a second, undocumented,
77 % effect: It changed the scaling behavior of the Euler and AMS
78 % Symbol fonts. Without the \opt{psamsfonts} option, the fonts
79 % were made available at the same set of ``quantized'' sizes used
80 % by default for the standard \LaTeX\ fonts. For example, if you
81 % asked for \fnt{msbm} at 13\,pt, you would instead get \fnt{msbm}
82 % at 12\,pt, with a warning about the substitution. With the
83 % \opt{psamsfonts} option, the AMS fonts were continuously
84 % scalable, so if you asked for \fnt{msbm} at 13\,pt, you would get
85 % a 13\,pt version of the font. This means that the
86 % \opt{psamsfonts} could change \TeX's formatting decisions,
87 % including which linebreaks were chosen.
88 %
89 % As of version~3 of the AMSFonts distribution, there is no longer
90 % a discrepancy between the \MF\ implementations and the Type~1
91 % implementations, which means that we can use a single set of font
92 % definitions for both. The question then becomes which approach
93 % we should adopt. Should we provide the fonts only in the
94 % standard \LaTeX\ quantized sizes or should we allow for full and
95 % continuous scaling?
96 %
97 % It is our position that the quantized font sizes are not
98 % desirable for their own merits; they are a legacy of the era when
99 % \MF\ was virtually the only source of fonts for use with
100 % \TeX\ and when generating a new size of a font was onerous and
101 % resulted in a potentially long-term use of precious disk space.
102 % In the modern \TeX\ environment, the cost of allowing arbitrary
103 % scaling of fonts is so low that most users will never even be
104 % aware of them. Furthermore, any user who sticks to the standard
105 % \LaTeX\ document classes and the font sizes they provide will
106 % never stray outside of the officially sanctioned sizes anyway,
107 % even when using the AMSFont package. Any users who do request
108 % nonstandard sizes presumably know what they are doing and should
109 % get the font size they ask for. Although they will have to take
110 % special measures to achieve that for the standard \LaTeX\ fonts,
111 % we can make their tasks easier by providing the AMS fonts in a
112 % fully scalable form from the beginning.
113 %
114 %^^A Besides, at normal document sizes, the difference between the
115 %^^A quantized sizes and the actually-requested size will be small and
116 %^^A probably not noticeable under normal circumstances.
117 %
118 % \subsection{The \fnt{cmex} fonts}
119 %
120 % The situation with \fnt{cmex} is even more stark. In standard
121 % \LaTeX, \fnt{cmex} is only supplied at 10\,pt. That is, no
122 % matter what size you ask for, you get \fnt{cmex} at~10\,pt. The
123 % \pkg{amsfonts} package redefines the \fnt{cmex} font family so
124 % that it is also continuously scalable. This means that
125 % \emph{merely loading the \pkg{amsfonts} package can change line
126 % breaks}.
127 %
128 %^^A Theoretically we could provide \opt{quantized} and/or
129 %^^A \opt{noscale} options, but that's probably just asking for
130 %^^A trouble.
131 %
132 % \section{Customization}
133 %
134 % You should \emph{not} change any of the files generated from this
135 % module. If you really want to change the font shape groups
136 % preloaded you should copy the relevant portions to another file
137 % (having a different name) and edit the other file according to
138 % your needs.
139 %
140 % \StopEventually{}
141 %
142 % \subsection{The \texttt{docstrip} modules}
143 %
144 % The following modules are used in an installation procedure to direct
145 % \texttt{docstrip} in generating external files:
146 % \begin{center}
147 % \begin{tabular}{ll}
148 % |sty| & generate \fn{amsfonts.sty} \\
149 % |eur| & generate \fn{fd} for Euler Roman\\
150 % |eus| & generate \fn{fd} for Euler Script\\
151 % |euf| & generate \fn{fd} for Euler Fraktur\\
152 % |euex| & generate \fn{fd} for Euler extra symbols\\
153 % |msa| & generate \fn{fd} for AMS symbols (A)\\
154 % |msb| & generate \fn{fd} for AMS symbols (B)\\
155 % \end{tabular}
156 % \end{center}
157 %
158 % \section{The implementation}
159 %
160 % Require \LaTeXe.
161 % \begin{macrocode}
162 %<*sty>
163 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
164 %</sty>
165 % \end{macrocode}
166 %
167 % Identify the file and version.
168 % \begin{macrocode}
169 %<sty>\ProvidesPackage{amsfonts}[2013/01/14 v3.01 Basic AMSFonts support]
170 %<eur>\ProvidesFile{ueur.fd} [2013/01/14 v3.01 Euler Roman]
171 %<eus>\ProvidesFile{ueus.fd} [2013/01/14 v3.01 Euler Script]
172 %<euf>\ProvidesFile{ueuf.fd} [2013/01/14 v3.01 Euler Fraktur]
173 %<euex>\ProvidesFile{ueuex.fd} [2013/01/14 v3.01 Euler extra symbols]
174 %<msa>\ProvidesFile{umsa.fd} [2013/01/14 v3.01 AMS symbols A]
175 %<msb>\ProvidesFile{umsb.fd} [2013/01/14 v3.01 AMS symbols B]
176 % \end{macrocode}
177 %
178 % \section{Package options}
179 %
180 % \begin{macrocode}
181 %<*sty>
182 \DeclareOption{psamsfonts}{%
183 \PackageWarningNoLine{amsfonts}{The 'psamsfonts' option is
184 obsolete in AMSFonts v3}
185 }
186 % \end{macrocode}
187 %
188 % Process the options for this package.
189 % \begin{macrocode}
190 \ProcessOptions\relax
191 % \end{macrocode}
192 %
193 % \subsection{Font definitions for \fn{cmex}}
194 %
195 % The \opt{cmex10} option of \pkg{amsmath} is now obsolete, but it
196 % will be some time before we release an updated version of
197 % \pkg{amsmath}. In the meantime, when version~3 of \pkg{amsfonts}
198 % is used with older versions of the \pkg{amsmath} package, we want
199 % to disable the \opt{cmex10} option. So, we do two things: (a)~in
200 % \pkg{amsfonts}, we install the new \fnt{cmex} definitions
201 % unconditionally, and (b)~we set the \cs{cmex@opt} flag to a value
202 % that will cause \pkg{amsmath} to skip processing of the
203 % \opt{cmex10} option.
204 % \begin{macrocode}
205 \DeclareFontShape{OMX}{cmex}{m}{n}{%
206 <-7.5>cmex7%
207 <7.5-8.5>cmex8%
208 <8.5-9.5>cmex9%
209 <9.5->cmex10%
210 }{}%
211
212 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
213
214 \def\cmex@opt{10}
215 % \end{macrocode}
216 %
217 % \section{Miscellaneous}
218 %
219 % \begin{macro}{\ams@newcommand}
220 % Where \pkg{stix} and \pkg{amsfonts} define the same control
221 % sequences, we want to avoid inadvertently overriding \pkg{stix}'s
222 % definitions. If \pkg{stix} is loaded before \pkg{amsfonts}, the
223 % following conditional and a few more like it later in the code
224 % take care of the problem. There is similar code in the
225 % \pkg{stix} package in case \pkg{amsfonts} is loaded first.
226 % \begin{macrocode}
227 \@ifpackageloaded{stix}{%
228 \def\ams@DeclareMathDelimiter#1#2#3#4#5#6{}%
229 \def\ams@DeclareMathSymbol#1#2#3#4{}%
230 }{%
231 \let\ams@DeclareMathDelimiter\DeclareMathDelimiter
232 \def\ams@DeclareMathSymbol#1#2#3#4{%
233 \global\let#1\undefined
234 \DeclareMathSymbol{#1}{#2}{#3}{#4}%
235 }%
236 }
237 % \end{macrocode}
238 % \end{macro}
239 %
240 % In case the \pkg{amsfonts} package is used apart from the
241 % \pkg{amsmath} package, we need to define the following functions.
242 % \begin{macrocode}
243 \providecommand*{\@mathmeasure}[3]{%
244 \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}}
245 % \end{macrocode}
246 % \cs{newtoks} was still outer in early releases of \LaTeXe, so
247 % we need to take a little extra care here.
248 % \begin{macrocode}
249 \@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{}
250 % \end{macrocode}
251 %
252 % \section{Preparing to use the extra math fonts}
253 %
254 % We declare the encoding schemes for two AMS math symbol fonts.
255 % \texttt{U} encoding with \cs{noaccents@} for math is already
256 % provided in base NFSS.
257 %
258 % The AMS symbol fonts will be assigned via \cs{DeclareSymbolFont}
259 % since most of their characters are accessed with the \cs{mathchardef}
260 % primitive. This means that these fonts are loaded for the
261 % particular size whenever a size or version switch is requested by
262 % the user. At the present time bold forms of these fonts don't
263 % exist. So there are no overriding \cs{SetSymbolFont} commands for
264 % mathversion `bold'.
265 % \begin{macrocode}
266 \DeclareSymbolFont{AMSa}{U}{msa}{m}{n}
267 \DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
268 % \end{macrocode}
269 %
270 % The next constructs are symbols that work the same in text or math.
271 % They are built the hard way using |\hexnumber@\sym...|.
272 % We can't use \cs{DeclareTextSymbol} since it only specifies the
273 % font by its encoding, which, being \texttt{U} for both \fn{msam}
274 % \fn{msbm}, is ambiguous.
275 % \begin{macrocode}
276 \@ifundefined{yen}{%
277 \edef\yen{\noexpand\mathhexbox{\hexnumber@\symAMSa}55}
278 }{}
279 \@ifundefined{checkmark}{%
280 \edef\checkmark{\noexpand\mathhexbox{\hexnumber@\symAMSa}58}
281 }{}
282 \@ifundefined{circledR}{%
283 \edef\circledR{\noexpand\mathhexbox{\hexnumber@\symAMSa}72}
284 }{}
285 \@ifundefined{maltese}{%
286 \edef\maltese{\noexpand\mathhexbox{\hexnumber@\symAMSa}7A}
287 }{}
288 % \end{macrocode}
289 %
290 % We now define a few symbols which reside in the \fn{msam} and \fn{msbm}
291 % fonts. The \cs{catcode} change is to ensure that the double-quote
292 % character is not active (which at one time was a problem when something
293 % like \fn{german.sty} was used).
294 % \begin{macrocode}
295 \begingroup \catcode`\"=12
296 \ams@DeclareMathDelimiter{\ulcorner}{\mathopen} {AMSa}{"70}{AMSa}{"70}
297 \ams@DeclareMathDelimiter{\urcorner}{\mathclose}{AMSa}{"71}{AMSa}{"71}
298 \ams@DeclareMathDelimiter{\llcorner}{\mathopen} {AMSa}{"78}{AMSa}{"78}
299 \ams@DeclareMathDelimiter{\lrcorner}{\mathclose}{AMSa}{"79}{AMSa}{"79}
300 % \end{macrocode}
301 %
302 % The next two definitions redefine the \cn{widehat} and
303 % \cn{widetilde} command to use a special accent if their
304 % argument is suitably wide. (In plain \TeX{} these commands can
305 % produce three different accents depending on the size of the
306 % argument.) The current implementation will tend to give wrong results
307 % (tilde or hat symbol too wide) if these accents are used in script
308 % or scriptscript math style. But making that part work properly is
309 % too much effort given the limitations of \TeX{} 3.x.
310 % \begin{macrocode}
311 \@ifpackageloaded{stix}{}{%
312 \xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
313 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
314 \mathaccent"0\hexnumber@\symAMSb 5B{#1}%
315 \noexpand\else\mathaccent"0362{#1}\noexpand\fi}
316 \xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
317 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
318 \mathaccent"0\hexnumber@\symAMSb 5D{#1}%
319 \noexpand\else\mathaccent"0365{#1}\noexpand\fi}
320 }
321 % \end{macrocode}
322 % Now we define two special arrows which are built with special
323 % characters from the first symbol font.
324 % \begin{macrocode}
325 \@ifpackageloaded{stix}{}{%
326 \DeclareMathSymbol{\dabar@}{\mathord}{AMSa}{"39}
327 \xdef\dashrightarrow{\mathrel{\dabar@\dabar@
328 \mathchar"0\hexnumber@\symAMSa 4B}}%
329 \xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symAMSa 4C\dabar@
330 \dabar@}}%
331 \global\let\dasharrow\dashrightarrow
332 }
333 % \end{macrocode}
334 % To avoid using too many control sequence names by defining all
335 % new symbols provided with the two fonts, we defined so far only
336 % symbols which are not assigned via \cs{mathchardef}. The majority
337 % however will be defined only if the user loads the \fn{amssymb}
338 % package or explicitly defines symbols using the
339 % \cs{DeclareMathSymbol} macro.
340 %
341 % Finally we test the \cs{DeclareMathSymbol} command by redefining the
342 % \PlainTeX{} symbols which were made up from different characters
343 % (and thus could not change sizes properly) but are now available
344 % as real characters. Note that we have to make them undefined
345 % first, otherwise \cs{DeclareMathSymbol} will complain that they are
346 % already defined.
347 % \begin{macrocode}
348 \ams@DeclareMathSymbol{\rightleftharpoons}{\mathrel}{AMSa}{"0A}
349 \ams@DeclareMathSymbol{\angle} {\mathord}{AMSa}{"5C}
350 \ams@DeclareMathSymbol{\hbar} {\mathord}{AMSb}{"7E}
351 % \end{macrocode}
352 %
353 % Include a few common symbols which are both in \fn{msam} or \fn{msbm}
354 % and also in \fn{lasy}, which might have been loaded already, so it
355 % is a good idea to make them undefined.
356 % \begin{macrocode}
357 \ams@DeclareMathSymbol{\sqsubset} {\mathrel}{AMSa}{"40}
358 \ams@DeclareMathSymbol{\sqsupset} {\mathrel}{AMSa}{"41}
359 \ams@DeclareMathSymbol{\mho} {\mathord}{AMSb}{"66}
360 % \end{macrocode}
361 %
362 % Now we close the group so that |"| will get its old \cs{catcode}
363 % back.
364 % \begin{macrocode}
365 \endgroup
366 % \end{macrocode}
367 %
368 % \section{Defining \protect\meta{math alphabet identifiers}}
369 %
370 % \begin{macro}{\mathfrak}
371 % The Fraktur alphabet will be accessed by the command
372 % \cn{mathfrak} inside of math mode.
373 % \begin{macrocode}
374 \@ifundefined{mathfrak}{%
375 \DeclareMathAlphabet{\mathfrak}{U}{euf}{m}{n}
376 \SetMathAlphabet{\mathfrak}{bold}{U}{euf}{b}{n}
377 }{}
378 % \end{macrocode}
379 % \end{macro}
380 %
381 % \begin{macro}{\mathbb}
382 % The AMS symbol font B contains the blackboard bold math alphabet.
383 % There is only a single weight of this alphabet so it is used in
384 % all math versions.
385 % \begin{macrocode}
386 \@ifundefined{mathbb}{%
387 \DeclareSymbolFontAlphabet{\mathbb}{AMSb}%
388 }{}
389 % \end{macrocode}
390 % \end{macro}
391 %
392 % \subsection{Setting up the fonts for correct accents in math}
393 %
394 % There are a few \meta{math alphabets} which don't have any or
395 % enough accents for math in the corresponding fonts. For example the
396 % \cn{mathbb} \meta{math alphabet identifier} comes from a symbol font
397 % with none of the normal accents in the correct places. \AmSTeX{}
398 % has a sophisticated solution for this problem: all math
399 % accents are defined in a way that the font where the accents are
400 % taken from depends on the current value of a macro called
401 % \cs{accentclass@}. To support this idea \meta{math alphabet
402 % identfiers} which come with their own accents should set this macro
403 % to the number \texttt{7} (variable family in the terminology of the
404 % \TeX{}book); all others should set it to \texttt{0} so that the accents
405 % are taken from the \meta{math group} zero in the current \emph{math
406 % version}.
407 %
408 % There is a \cs{DeclareFontEncodingDefaults} macro which declares such
409 % defaults. For the \pkg{amsfonts} package we set this default in the
410 % following way. This information will be ignored unless the \pkg{amsmath}
411 % package is also loaded.
412 % \begin{macrocode}
413 \DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}}
414 % \end{macrocode}
415 %
416 % \section{Some backward compatibility definitions}
417 %
418 % The following commands are provided for compatibility with pre-1995
419 % versions of the \pkg{amsfonts} package. If a \cn{documentclass}
420 % command is used the \cs{@obsolete} function will issue a warning
421 % saying that the command is obsolete.
422 %
423 % Upgraded to robust commands. [bnb, 1996/09/29]
424 % \begin{macro}{\frak}
425 % \begin{macro}{\Bbb}
426 % \begin{macro}{\bold}
427 % \begin{macrocode}
428 \DeclareRobustCommand{\frak}[1]{%
429 {\@subst@obsolete{amsfonts}\frak\mathfrak{#1}}}
430 \DeclareRobustCommand{\Bbb}[1]{%
431 {\@subst@obsolete{amsfonts}\Bbb\mathbb{#1}}}
432 \DeclareRobustCommand{\bold}[1]{%
433 {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}}
434 % \end{macrocode}
435 % \end{macro}
436 % \end{macro}
437 % \end{macro}
438 %
439 % The \cs{newsymbol} command has different syntax than
440 % \cs{DeclareMathSymbol} so it cannot use the direct substitution
441 % function \cs{@subst@obsolete}.
442 % \begin{macrocode}
443 \begingroup \catcode`\"=12 \relax
444 \gdef\newsymbol#1#2#3#4#5{%
445 \@obsolete{amsfonts}\newsymbol\DeclareMathSymbol
446 \@ifdefinable#1{%
447 \edef\next@
448 {\ifcase #2 \or
449 \hexnumber@\symAMSa\or
450 \hexnumber@\symAMSb\fi}%
451 \ifx\next@\@empty
452 \PackageError{amsfonts}{\Invalid@@\newsymbol}\@ehd%
453 \else
454 \global\mathchardef#1"#3\next@#4#5
455 \fi}}
456 \endgroup
457 % \end{macrocode}
458 %
459 % \begin{macro}{\@obsolete}
460 % This command gives a warning on the first use that the command given
461 % as second argument is deprecated/obsolete, with the third argument
462 % recommended as a substitute. In compatibility mode we just continue
463 % silently.
464 % \begin{macrocode}
465 \long\def\@gobblethree#1#2#3{}
466 \if@compatibility
467 \let\@obsolete\@gobblethree
468 \else
469 \def\@obsolete#1#2#3{\PackageWarning{#1}{%
470 Obsolete command \protect#2; \protect#3 should be used instead}}%
471 \fi
472 % \end{macrocode}
473 % \end{macro}
474 %
475 % \begin{macro}{\@subst@obsolete}
476 % For obsolete commands that have a substitute command.
477 % \begin{macrocode}
478 \def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2}
479 % \end{macrocode}
480 % \end{macro}
481 %
482 % \begin{macrocode}
483 \@ifpackageloaded{stix}{\endinput}{}
484 % \end{macrocode}
485 % First we load the symbols under the official AMS names and then
486 % define the \latex/ names via \cs{let} unless they are already
487 % defined (which probably means that the \fn{lasy} fonts are defined).
488 % \begin{macrocode}
489 \begingroup \catcode`\"=12
490 \DeclareMathSymbol{\square} {\mathord}{AMSa}{"03}
491 \DeclareMathSymbol{\lozenge} {\mathord}{AMSa}{"06}
492 \ams@DeclareMathSymbol{\vartriangleright} {\mathrel}{AMSa}{"42}
493 \ams@DeclareMathSymbol{\vartriangleleft} {\mathrel}{AMSa}{"43}
494 \ams@DeclareMathSymbol{\trianglerighteq} {\mathrel}{AMSa}{"44}
495 \ams@DeclareMathSymbol{\trianglelefteq} {\mathrel}{AMSa}{"45}
496 \ams@DeclareMathSymbol{\rightsquigarrow} {\mathrel}{AMSa}{"20}
497 % \end{macrocode}
498 % Check if the \pkg{latexsym} package has already been loaded
499 % \begin{macrocode}
500 \@ifpackageloaded{latexsym}{\@tempswafalse}{\@tempswatrue}
501 \if@tempswa
502 \global\let\Box\square
503 \global\let\Diamond\lozenge
504 \global\let\leadsto\rightsquigarrow
505 % \end{macrocode}
506 % \cn{lhd} and its relatives look like \cn{vartriangleleft} and its
507 % relatives, but the math atom types are different (according to the
508 % \latex/ book). So we need to issue different \cs{DeclareMathSymbol}
509 % statements.
510 % \begin{macrocode}
511 \global\let\lhd\@@undefined
512 \global\let\unlhd\@@undefined
513 \global\let\rhd\@@undefined
514 \global\let\unrhd\@@undefined
515 \DeclareMathSymbol{\lhd} {\mathbin}{AMSa}{"43}
516 \DeclareMathSymbol{\unlhd} {\mathbin}{AMSa}{"45}
517 \DeclareMathSymbol{\rhd} {\mathbin}{AMSa}{"42}
518 \DeclareMathSymbol{\unrhd} {\mathbin}{AMSa}{"44}
519 % \end{macrocode}
520 % No equivalent of the \cn{\Join} symbol in \fn{lasy} is available in
521 % \fn{msam} or \fn{msbm} so we make do with a composite of two characters.
522 % \begin{macrocode}
523 \xdef\Join{\mathrel{\mathchar"0\hexnumber@\symAMSb 6F\mkern-13.8mu%
524 \mathchar"0\hexnumber@\symAMSb 6E}}
525 \fi
526 \endgroup
527 %</sty>
528 % \end{macrocode}
529 %
530 % \section{The \texttt{.fd} files}
531 %
532 % \subsection{AMS symbol font A}
533 %
534 % \begin{macrocode}
535 %<*msa>
536 \DeclareFontFamily{U}{msa}{}
537 \DeclareFontShape{U}{msa}{m}{n}{%
538 <-6>msam5%
539 <6-8>msam7%
540 <8->msam10%
541 }{}
542 %</msa>
543 % \end{macrocode}
544 %
545 % \subsection{AMS symbol font B}
546 %
547 % \begin{macrocode}
548 %<*msb>
549 \DeclareFontFamily{U}{msb}{}
550 \DeclareFontShape{U}{msb}{m}{n}{%
551 <-6>msbm5%
552 <6-8>msbm7%
553 <8->msbm10%
554 }{}
555 %</msb>
556 % \end{macrocode}
557 %
558 % \subsection{Euler Fraktur}
559 %
560 % \begin{macrocode}
561 %<*euf>
562 \DeclareFontFamily{U}{euf}{}
563 \DeclareFontShape{U}{euf}{m}{n}{%
564 <-6>eufm5%
565 <6-8>eufm7%
566 <8->eufm10%
567 }{}
568 \DeclareFontShape{U}{euf}{b}{n}{%
569 <-6>eufb5%
570 <6-8>eufb7%
571 <8->eufb10%
572 }{}
573 %</euf>
574 % \end{macrocode}
575 %
576 % \subsection{Euler Script}
577 %
578 % \begin{macrocode}
579 %<*eus>
580 \DeclareFontFamily{U}{eus}{\skewchar\font'60}
581 \DeclareFontShape{U}{eus}{m}{n}{%
582 <-6>eusm5%
583 <6-8>eusm7%
584 <8->eusm10%
585 }{}
586 \DeclareFontShape{U}{eus}{b}{n}{%
587 <-6>eusb5%
588 <6-8>eusb7%
589 <8->eusb10%
590 }{}
591 %</eus>
592 % \end{macrocode}
593 %
594 % \subsection{Euler math extension}
595 %
596 % \begin{macrocode}
597 %<*euex>
598 \DeclareFontFamily{U}{euex}{}
599 \DeclareFontShape{U}{euex}{m}{n}{%
600 <-7.5>euex7%
601 <7.5-8.5>euex8%
602 <8.5-9.5>euex9%
603 <9.5->euex10%
604 }{}
605 %</euex>
606 % \end{macrocode}
607 %
608 % \subsection{Euler Math Roman}
609 %
610 % These fonts are nearly |OML| encoded but some characters are
611 % missing so we use |U| encoding again.
612 % \begin{macrocode}
613 %<*eur>
614 \DeclareFontFamily{U}{eur}{\skewchar\font'177}
615 \DeclareFontShape{U}{eur}{m}{n}{%
616 <-6>eurm5%
617 <6-8>eurm7%
618 <8->eurm10%
619 }{}
620 \DeclareFontShape{U}{eur}{b}{n}{%
621 <-6>eurb5%
622 <6-8>eurb7%
623 <8->eurb10%
624 }{}
625 %</eur>
626 % \end{macrocode}
627 %
628 % The next line goes into all files and in addition prevents
629 % \texttt{docstrip} from adding any further code from the main source
630 % file (such as a character table).
631 % \begin{macrocode}
632 \endinput
633 % \end{macrocode}
634 %
635 % \Finale