Debian Codegraph @

texmf-dist/source/latex/amsfonts/amsfndoc.tex

raw
1 %% filename: amsfndoc.tex
2 %% version: 2.2d
3 %% date: 2002/01/19
4 %%
5 %% American Mathematical Society
6 %% Technical Support
7 %% Publications Technical Group
8 %% 201 Charles Street
9 %% Providence, RI 02904
10 %% USA
11 %% tel: (401) 455-4080
12 %% (800) 321-4267 (USA and Canada only)
13 %% fax: (401) 331-3842
14 %% email: [email protected]
15 %%
16 %% Copyright 1994, 2001, 2009 American Mathematical Society.
17 %%
18 %% Unlimited copying and redistribution of this file are permitted as
19 %% long as this file is not modified. Modifications, and distribution
20 %% of modified versions, are permitted, but only if the resulting file
21 %% is renamed.
22 %%
23 %% ====================================================================
24 \input amsfndoc.def
25 \extrafonts
26
27 \maintitle User's Guide to AMSFonts Version 2.2d\\
28 \fontsreleasedate<
29
30 Standard distributions of \TeX{} ordinarily come with all the fonts
31 specified in \filename{plain.tex}, and they may also come with a number of
32 additional fonts intended for use with \LaTeX. Additional fonts
33 designed for use in mathematics and defined in \AmSTeX{} are not always
34 included among such font collections. For this reason, the \AMS{} has
35 compiled a collection, known as AMSFonts, which contains fonts of
36 symbols and several alphabets corresponding to symbols and alphabets
37 used in AMS publications, including electronic journals and the MathSci
38 online database.
39
40 % Get toc from .aux file
41 \Contents
42
43 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
44
45 \section{1} Contents of the AMSFonts collection
46
47 The AMSFonts collection contains the \MF{} sources, \fn{.tfm} files and
48 bitmaps for the following fonts, in the sizes indicated:
49
50 \begingroup
51 \raggedright
52 \parskip=0pt
53 \item{\bull} The Euler family, all but \fontname{euex} in 5, 6, 7, 8, 9,
54 and 10 point:
55 \itemitem{--} Fraktur (German), medium-weight and bold (\fontname{eufm}
56 and \fontname{eufb})
57 \itemitem{--} ``roman'' cursive, medium-weight and bold (\fontname{eurm}
58 and \fontname{eurb})
59 \itemitem{--} script, medium-weight and bold (\fontname{eusm} and
60 \fontname{eusb})
61 \itemitem{--} Euler-compatible extension font (\fontname{euex}),
62 in 7, 8, 9, and 10 point
63
64 \item{\bull} Additional sizes of some Computer Modern math fonts
65 (the 10-point fonts are included in standard \TeX\ distributions):
66 \itemitem{--} bold math italic (\fontname{cmmib}), in 5, 6, 7, 8, and 9 point
67 \itemitem{--} bold math symbols (\fontname{cmbsy}), in 5, 6, 7, 8, and 9 point
68 \itemitem{--} math extension font (\fontname{cmex}), in 7, 8, and 9 point
69
70 \goodbreak
71 \item{\bull} Extra math symbols, in 5, 6, 7, 8, 9, and 10 point:
72 \itemitem{--} first series, medium-weight (\fontname{msam})
73 \itemitem{--} second series, including Blackboard Bold, medium-weight
74 (\fontname{msbm})
75
76 \item{\bull} Cyrillic, developed at the University of Washington
77 \itemitem{--} lightface (\fontname{wncyr}), in 5, 6, 7, 8, 9, and 10 point
78 \itemitem{--} bold (\fontname{wncyb}), in 5, 6, 7, 8, 9, and 10 point
79 \itemitem{--} italic (\fontname{wncyi}), in 5, 6, 7, 8, 9, and 10 point
80 \itemitem{--} caps and small caps (\fontname{wncysc}), in 10 point
81 \itemitem{--} sans serif (\fontname{wncyss}), in 8, 9, and 10 point
82 \itemitem{--} virtual font property list (\filename{.vpl})
83 files to enable the use of these fonts with alternate
84 encodings and transliteration schemes
85
86 \item{\bull} Computer Modern caps and small caps (\fontname{cmcsc}),
87 in 8 and 9 point
88 (the 10-point font is included in standard \TeX\ distributions)
89
90 \item{\bull} The ``dummy font'', used in \AmSTeX{} for syntax checking,
91 which consists only of metrics (\filename{dummy.tfm}), no character shapes
92
93 \item{\bull} Packages for using these fonts with \LaTeX{}:
94 \itemitem{--} \filename{amsfonts}, a package for using the fonts
95 \fontname{msam}, \fontname{msbm}, and \fontname{eufm} in \LaTeX{}
96 \itemitem{--} \filename{amssymb}, a package for defining en masse
97 (instead of selectively) command names for all the math symbols
98 in the fonts \fontname{msam} and \fontname{msbm}
99 \itemitem{--} \filename{eucal}, a package for using the Euler script font
100 \fontname{eusm}
101 %\itemitem{--} \filename{eurom}, a package for using the Euler cursive
102 % (roman) font \fontname{eurm}
103 \itemitem{--} \filename{cmmib57}, a package for adapting the font
104 definitions for \fn{cmmib} and \fn{cmbsy} to scale from sizes 5,7,10
105 instead of sizes 5,6,7,8,9,10 when the Y\&Y/Blue Sky PostScript outline
106 fonts are used
107 \itemitem{--} \filename{*.fd}, font definition files
108 \item{} For details, see Section 3 on using AMSFonts with \LaTeX{}.
109
110 \item{\bull} Macro files for using these fonts with plain \TeX{}:
111 \itemitem{--} \filename{amssym.tex}, a file defining names for the symbols
112 in fonts \fontname{msam} and \fontname{msbm}
113 \itemitem{--} \filename{amssym.def}, a file that loads the fonts
114 \fontname{msam}, \fontname{msbm} and \fontname{eufm} and defines some
115 control sequences required by \filename{amssym.tex}
116 \itemitem{--} \filename{cyracc.def}, a file containing definitions needed for
117 proper access to characters in the cyrillic fonts
118
119 \item{\bull} Documentation files:
120 \itemitem{--} \filename{amsfndoc.tex}, the source file for this User's Guide
121 \itemitem{--} \filename{amsfndoc.cyr}, the source file for the table showing
122 cyrillic input conventions, input by \filename{amsfndoc.tex}
123 \itemitem{--} \filename{amsfndoc.fnt}, the source file for the tables of
124 the principal 10-point fonts in the AMSFonts collection, input by
125 \filename{amsfndoc.tex}; this file may also be \TeX{}ed by itself
126 \itemitem{--} \filename{amsfndoc.def}, the macros used to format this
127 User's Guide
128 \itemitem{--} \filename{amsfndoc.ins}, the source file for the appendixes
129 to this User's Guide, input by
130 \filename{amsfndoc.tex}; this file may also be \TeX{}ed by itself
131 \itemitem{--} \filename{amsfonts.faq}, a file of Frequently Asked
132 Questions about AMSFonts
133 \itemitem{--} \filename{amsfonts.bug}, a chronicle of bug fixes and list
134 of known bugs still outstanding
135 \endgraf
136 \endgroup % end \raggedright
137
138 \noindent
139 Each font at a particular size is provided in seven standard \TeX{}
140 magnifications, magsteps 0~through~5, including magstephalf (except the
141 {\it Textures}\slash Macintosh package, which includes
142 only magnifications 0 and 1; see the installation instructions).
143
144 The philosophy under which the Euler fonts were implemented was different
145 from that used for Computer Modern, and the result is a lower degree of
146 ``meta-ness''. For that reason, the appearance of these fonts is not
147 very good at small sizes when output on low-resolution devices, in
148 particular on screens. Even so, the fonts are included in AMSFonts in all
149 the sizes and magnifications offered, on the assumption that the printed
150 output will be prepared on a device of higher resolution (at least 300dpi)
151 where this effect will not be noticeable.
152
153 Font charts are given in \fontchartapp.
154
155
156 \subsection{1.1} Font naming conventions
157
158 Developers of fonts for use with \TeX, at least those using \MF,
159 generally try to make the names distinctive, so that a user will know
160 the origin of the font by the font name. For most of the fonts in the
161 AMSFonts collection, the first two letters identify the font source,
162 as follows:
163
164 \begingroup
165 \raggedright
166 \parskip=0pt
167 \item{\bull} ``{\tt cm}'': These fonts are based directly on the
168 specifications for Knuth's Computer Modern fonts, as described
169 in Volume~E of \CandT{} [DEK86E].
170 \item{\bull} ``{\tt eu}'': These are members of the Euler family,
171 described below.
172 \item{\bull} ``{\tt ms}'': These fonts of math symbols were developed
173 by or under the direction of the AMS staff.
174 \item{\bull} ``{\tt wn}'': These cyrillic fonts were developed at or
175 under the direction of the University of Washington Humanities and
176 Arts Computing Center, and are distributed with their permission.
177 \endgraf
178 \endgroup
179
180 \noindent
181 The font called \fn{dummy} is a special case; it was developed
182 as part of the Stanford University \TeX{} Project, and follows no
183 particular naming convention.
184
185 For information on Computer Modern fonts other than those specifically named
186 here, and on other fonts in general, the newsgroup {\tt comp.text.tex}
187 is a good source. For some other suggestions, see \furtherinfo.
188
189
190 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
191
192 \section{2} History of these fonts
193
194 When the AMS began using \TeX{} to produce its publications, the available
195 complement of symbols was found to be inadequate. Several alphabets
196 used extensively as symbols were not available either. While
197 development of the symbols could be undertaken by in-house personnel,
198 using the existing \TeX{} symbol font as a model, the creation of new
199 Fraktur and script alphabets required the assistance of someone with
200 experience in font design.
201
202
203 \subsection{2.1} Euler
204
205 With Donald Knuth's assistance and encouragement, Hermann Zapf, one of the
206 premier font designers of this century, was commissioned to create designs
207 for Fraktur and script, and for a somewhat experimental, upright cursive
208 alphabet that would represent a mathematician's handwriting on a blackboard
209 and that could be used in place of italic. The designs that resulted were
210 named Euler, in honor of Leonhard Euler, a prominent mathematician of the
211 eighteenth century. Zapf's designs were rendered in \MF{} code by graduate
212 students at Stanford, working under Knuth's direction; the process by which
213 the \MF{} fonts were implemented is described in a report by David Siegel
214 [DRS85]. The Euler fonts were designed to be used as math symbols; they are
215 not intended for setting running text.
216
217 The Fraktur face of the Euler family has been used in production by the
218 AMS since it became available. However, no extensive test or use had
219 been made of the script or cursive until Knuth decided that they should be
220 used in a textbook, {\sl Concrete Mathematics}, written by him and two
221 co-authors [GKP88]. During the course of preparing that book, a number of
222 errors, particularly in spacing parameters affecting the placement of sub-
223 and superscripts, were discovered. All these errors have been corrected in
224 the medium-weight versions of the Euler fonts (almost no boldface symbols
225 were used in {\sl Concrete Mathematics\/}). Knuth also noticed that the
226 style of some symbols in the Computer Modern extension font, in particular
227 the integral sign, was too slanted to be attractive with Euler, and
228 consequently he prepared a new (partial) extension font for use with Euler.
229 Knuth described his experience with the Euler fonts in a \TUB\/ article
230 [DEK89]. In the article he also identified the macros he used and where they
231 can be obtained.
232
233 The Euler fonts are sparsely populated; only the alphabetic locations are
234 filled in most instances (see the font charts in \fontchartapp{} for
235 specifics). For this reason, when processing the file for this User's
236 Guide, and in particular the font charts, warnings about ``Missing
237 characters'' are not a cause for concern.
238
239
240 \subsection{2.2} Additional Computer Modern fonts for use in math
241
242 Only the 10-point size of the Computer Modern bold math italic (which
243 includes Greek), symbol, and math extension fonts are included in standard
244 distributions of \TeX{}. Since these symbols are often needed in
245 mathematics, other sizes have been constructed, using the principles
246 demonstrated in Knuth's {\sl Computer Modern Typefaces\/} [DEK86E], and
247 included in the AMSFonts collection.
248
249
250 \subsection{2.3} Symbols
251
252 Two fonts of ``extra'' symbols are included in the AMSFonts collection.
253 These are named \fontname{msam} and \fontname{msbm}, and have been
254 implemented in ``new'' \MF{} (\mf84); they replace earlier fonts (named
255 \fontname{msxm} and \fontname{msym}) that were defined in old \MF{}
256 (\mf79)\null. These fonts contain symbols needed in the publishing program
257 of the AMS, including the MathSci online database, and include the
258 uppercase letters of an alphabet known as Blackboard Bold
259 ($\Bbb A, \dots, \Bbb Z$).
260
261
262 \subsection{2.4} Cyrillic
263
264 Titles of books reviewed in \MR\/ are traditionally rendered in their
265 original language. For books published in Russian or other Slavic
266 languages, this frequently requires use of the cyrillic alphabet.
267 A cyrillic font was developed at AMS using \MF\/79 with the \fontname{am}
268 fonts as a model. This font was organized in a manner suitable for use with
269 the transliteration scheme adopted by {\sl MR\/} in 1980, and contained only
270 those letters which appear in current mathematical literature.
271 In particular, this meant that the letters dropped from the Russian
272 alphabet after the Revolution of 1917, and some letters used in non-Slavic
273 languages now rendered in cyrillic (such as Azerbaijani, from which no
274 mathematical literature is currently reviewed in {\sl MR\/}) were absent.
275
276 In 1988, the Humanities and Arts Computing Center of the University of
277 Washington undertook a font development project for support of scholars
278 in Slavic languages. The fonts developed through this project include
279 several different font layouts. One layout is based on that of the
280 original AMS cyrillic augmented with `{\cyr \u\i}' (cyrillic short `i'),
281 `{\cyr\"e}' (umlauted `e'), and several pre-Revolutionary letters.
282 The fonts with the AMS layout are included in the AMSFonts collection
283 with the permission of the University of Washington developers.
284 %For information on cyrillic fonts with other layouts, see \furtherinfo.
285 ``Virtual property list'' (\fn{.vpl}) files are also included in the
286 collection to support several other layouts; these can be found in the
287 \fn{cyr-alt} area, and are accomanied by a \fn{README} file with
288 further information.
289
290 The cyrillic fonts are based on Computer Modern letter shapes.
291 Type styles include ordinary upright, bold (based on CM bold
292 extended), caps and small caps, italic, and upright sans serif.
293 The principal text fonts (upright, italic and boldface) are present in
294 sizes from 5 through 10 point;
295 sans serif is in sizes 8, 9 and 10 point;
296 caps and small caps are in 10 point only.
297 See also \typeiapp{} for information on a PostScript (Type~1) version
298 of the cyrillic fonts, in particular concerning the sizes provided in
299 that format.
300
301
302 \subsection{2.5} Caps/small caps
303
304 The font \fontname{cmcsc10} is referenced in \filename{plain.tex} and
305 should be included in all standard \TeX{} distributions. However, Knuth
306 did not generate this font in any other sizes. The AMSFonts collection
307 includes 8 and 9-point sizes, generated according to the same principles as
308 other CM fonts of these sizes.
309
310
311 \subsection{2.6} Dummy font
312
313 The dummy font contains no ligature or kerning information, and all
314 dimensions and parameter values are set to zero. This is a pseudo-font,
315 which has only general font metrics and no characters. No \filename{.pk}
316 or \filename{.gf} files are needed for this font; it is provided only in
317 \filename{.tfm} and \filename{.mf} form.
318
319 The dummy font is used in \AmSTeX{} to implement ``syntax checking''.
320 (Syntax checking is activated by the |\printoptions| command as
321 described in \JoT{} [MDS86].) In this mode, the dummy font replaces all
322 the usual ``printing'' fonts, so that \TeX{} never accumulates any text
323 to be set, and never tries to write out a page, but in the process of
324 reading the input file, checks all control sequences for syntactic
325 correctness. In this mode, an input file will be processed perhaps 30
326 percent faster than if it were actually being set. However, some errors
327 and conditions are not detected during a syntax check; in particular,
328 overfull boxes cannot be detected until setting actually occurs.
329
330
331 \subsection{2.6} PostScript (Type 1) implementation of AMSFonts
332
333 The AMSFonts are available in Type~1 outline form as an alternative
334 to the bitmap images generated by \MF. The Type~1 files are not
335 part of the regular AMSFonts distribution, but can be obtained at
336 no charge from the AMS server. For details, see \typeiapp.
337
338
339 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
340
341 \section{3} How to use AMSFonts with \LaTeX{}
342
343 \subsection{3.1} General
344
345 These instructions are for current \LaTeX{} (version 2$\varepsilon$, dated
346 January 1995 or later). If you have version 2.09 of \LaTeX{}, dated 1993 or
347 earlier, you must upgrade to current \LaTeX{}. Earlier versions of \LaTeX{}
348 are no longer supported for AMSFonts; however, the \LaTeX{} compatibility
349 mode will usually allow documents prepared for version 2.09 to be processed
350 with the current version.
351
352 To use the AMSFonts collection with \LaTeX{} you choose from an
353 assortment of \LaTeX{} ``packages'' that provide various kinds of access
354 to the fonts, calling the packages that you need in a given document
355 through standard \LaTeX{} \cn{usepackage} statements. For example, the
356 statement
357 \begintt
358 \usepackage{amsfonts}
359 \endtt
360 calls in the \pkg{amsfonts} package, which provides blackboard bold
361 and Fraktur letters and selective access to the math symbol fonts
362 \fn{msam} and \fn{msbm}.
363
364 These packages are currently available:
365
366 \begingroup
367 \raggedright
368 \parskip=0pt
369 \item{\bull} {\tt amsfonts} -- for blackboard bold letters, Fraktur letters,
370 and miscellaneous symbols
371 \item{\bull} {\tt amssymb} -- superset of the \pkg{amsfonts} package, defines
372 the full set of symbol names for the \fn{msam} and \fn{msbm} fonts
373 \item{\bull} {\tt eufrak} -- for Fraktur letters; redundant if \fn{amsfonts}
374 is used
375 \item{\bull} {\tt eucal} -- Makes \cn{mathcal} use Euler script instead of
376 the usual Computer Modern calligraphic alphabet
377 \item{\bull} {\tt euscript} -- old name of the \pkg{eucal} package, now
378 obsolete but included for convenience in printing pre-existing documents
379 %\item{\bull} {\tt eurom} -- for Euler cursive (roman) letters
380 \endgraf
381 \endgroup
382
383 All of the above packages have a `\opt{psamsfonts}' option that should
384 be used if and only if your copy of the AMSFonts collection is the
385 Y\&Y/Blue Sky Research PostScript version. In that version, the font
386 files are not provided in all the sizes (5,6,7,8,9,10), but only in sizes
387 5,7,10, with sizes 6,8,9 produced by interpolation. In practice it's
388 easy to tell if you need to use the \opt{psamsfonts} option: you'll get
389 an error message about a missing \fn{.tfm} file:
390 \begingroup \parindent0pt
391 \begintt
392 ! Font \U/AMSa/m/n/9=msam9 not loadable: Metric (TFM) file not found.
393 \endtt
394 \endgroup
395 where the mentioned font name is one of the AMS font names (\fn{msam},
396 \fn{msbm}, \fn{eufm}, etc.), and the font size is 6, 8, or 9.
397 If this happens to you, look at your \cn{usepackage} statements and
398 change
399 $$\hbox{|\usepackage{amssymb}|\qquad to\qquad
400 |\usepackage[psamsfonts]{amssymb}|}$$
401 or
402 $$\hbox{|\usepackage{eucal}|\qquad to\qquad
403 |\usepackage[psamsfonts]{eucal}|}$$
404 and so forth.
405
406 If you are using an AMS document class (\fn{amsart}, \fn{amsbook},
407 \fn{amsproc}) or an AMS author package, apply the option \fn{[psamsfonts]}
408 to \cn{documentclass} as well.
409
410 \Warn Adding the option \fn{[psamsfonts]} to an existing file may
411 result in changed line and page breaks, owing to the fact that sizes
412 6, 8, and 9 are produced by interpolation.
413 \endx
414
415 Use of the PostScript AMSFonts is explicitly marked in individual
416 documents because the interpolation process used produces character
417 metrics that are not identical with those of the noninterpolated font
418 files for the corresponding sizes. If these discrepancies were simply
419 ignored, {\it there would be no warning} of unexpected changes in line
420 or page breaks that might occur in documents exchanged between colleagues.
421 As it is, if you find it necessary to add or remove the \fn{psamsfonts}
422 option in order to print a colleague's document, you are free to go ahead
423 and do so, but the fact that you must make that change should be understood
424 as a reminder that a small possibility of changed line breaks or page
425 breaks does exist.
426
427 A package \pkg{cmmib57} provides analogous font
428 definitions for the fonts \fn{cmmib} and \fn{cmbsy} (yes, both in the
429 same package, despite the name), for those users who have the Y\&Y/Blue
430 Sky Research PostScript versions of those fonts. Typical usage is:
431 \begintt
432 \documentclass{article}
433 \usepackage{cmmib57}
434 \endtt
435
436
437 \subsection{3.2} Computer Modern bold math italic and symbols
438
439 The package \pkg{amsbsy} (part of the \AmS-\LaTeX{} distribution) defines
440 two commands to obtain bold symbols:
441
442 \begingroup
443 \smallskip
444 \description
445 \item {\cn{boldsymbol}} -- for bold numbers and other nonalphabetic symbols,
446 as well as bold Greek letters, which cannot be made bold via the \cn{mathbf}
447 command, and bold math italic letters
448 \item {\cn{pmb}} -- ``poor man's bold'', which overlays multiple copies
449 of the same symbol with slight offsets, for cases where \cn{boldsymbol}
450 does not work, e.g., a bold font is not available
451 \enddescription
452 \endgroup
453
454 \noindent
455 \cn{boldsymbol} can also be used to obtain bold letters from the Euler fonts.
456
457 These commands are valid in math mode only. For example,
458 \begintt
459 $$\boldsymbol{\beta} \pmb{\boxdot}
460 \boldsymbol{\Omega} \boldsymbol+ \pmb{\mathbb{R}}$$
461 \endtt
462 (Since this User's Guide is not prepared with \LaTeX{}, getting output
463 for this expression is left as an exercise to the user.)
464
465
466 \subsection{3.3} Blackboard bold letters (uppercase only)
467
468 The \pkg{amsfonts} package defines a ``math alphabet'' command \cn{mathbb}
469 for printing letters of the blackboard bold alphabet that resides in the
470 \fn{msbm} font. This alphabet is restricted to uppercase only (no
471 lowercase, no numerals). The suggested method for defining a \cn{R}
472 command to print a blackboard bold R is as follows:
473 \begintt
474 \usepackage{amsfonts}
475 \newcommand{\R}{\mathbb{R}}
476 \endtt
477
478
479 \subsection{3.4} Extra math symbols
480
481 The \pkg{amssymb} package defines math symbol commands for all the extra
482 math symbols in the \fn{msam} and \fn{msbm} fonts, as listed in the
483 table in Section 7. Thus if you want to use the \cn{blacktriangle}
484 $\blacktriangle$ and \cn{nsubseteq} $\nsubseteq$ symbols, the easiest
485 way is to put the statement
486 \begintt
487 \usepackage{amssymb}
488 \endtt
489 in the preamble of your document.
490
491 If you want more selective access to the math symbols in those fonts
492 you can use the \pkg{amsfonts} package instead and define math symbol
493 commands individually using \LaTeX{}'s \cn{DeclareMathSymbol}
494 (cf.\ [LFG] or [GMS94]):
495 \begintt
496 \usepackage{amsfonts}
497 \DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{"4E}
498 \DeclareMathSymbol{\nsubseteq}{\mathrel}{AMSb}{"2A}
499 \endtt
500 This alternative might be useful to you if adding the \pkg{amssymb}
501 package to your document leads to an error message of the form
502 \begintt
503 ! TeX capacity exceeded, sorry (hash size=3000)
504 \endtt
505 This could happen if you have an older version of \TeX{} with a
506 relatively low limit on the number of commands that can be defined in a
507 single document. (But in that case, note that there may be configuration
508 options for increasing that limit; check the documentation for your
509 \TeX{} system.)
510
511 Since \cn{DeclareMathSymbol} is used in the \pkg{amssymb} package, the
512 definitions for particular symbols can be borrowed from there (file
513 \fn{amssymb.sty}). Alternatively, the values can be obtained from the
514 tables in Section 7.2, as follows:
515
516 \begingroup
517 \raggedright
518 \item{\bull} First digit identifies font:
519 \itemitem{1} AMSa
520 \itemitem{2} AMSb
521 \item{\bull} Second digit identifies class:
522 \itemitem{0} \cn{mathord}
523 \itemitem{2} \cn{mathbin}
524 \itemitem{3} \cn{mathrel}
525 \item{\bull} Third and fourth digits identify (hex) location in font.
526 \endgraf
527 \endgroup
528
529
530 \subsection{3.5} Euler Fraktur letters
531
532 A math alphabet command \cn{mathfrak} for using Fraktur letters such as
533 $\mathfrak{A}\;\mathfrak{m}\;\mathfrak{g}\;\mathfrak{H}$ in math can be
534 obtained by using any of the packages \pkg{amssymb}, \pkg{amsfonts}, or
535 \pkg{eufrak}.
536
537
538 \subsection{3.6} Euler script letters (uppercase only)
539
540 The main purpose of the \pkg{eucal} package is to change \LaTeX{}'s
541 \cn{mathcal} command so that it produces Euler script instead of
542 Computer Modern calligraphic letters:
543 \ctab{\hfil#\tabskip1em&
544 #ABCDEFGHIJKLMNOPQRSTUVWXYZ\hfil}
545 CM calligraphic:& \tensy\\
546 Euler script:& \teneusm
547 \endctab
548 There is also an option \opt{mathscr} for the \pkg{eucal} package that
549 causes Euler script to be associated to a \cn{mathscr} command, leaving
550 the \cn{mathcal} command unaffected. This imitates the behavior of the
551 predecessor package \pkg{euscript}.
552
553
554 %\subsection{3.7} Euler cursive (roman) letters
555 %
556 %Math alphabet commands \cn{matheurm} and \cn{matheurb} are defined by
557 %the package \pkg{eurom} for medium weight and bold forms of the Euler
558 %cursive letters respectively, for example, \matheurm{A}, \matheurb{A},
559 %\matheurm{B}, \matheurb{B}.
560
561
562 \subsection{3.7} University of Washington Cyrillic fonts
563
564 There is no AMS package for \LaTeX{} at the present time to support the
565 use of Cyrillic languages in \LaTeX{} documents with the \fn{wncy*}
566 fonts. Producing a proper Cyrillic package involves rather difficult
567 questions of input and output encodings, for which it would be useful to
568 rely on general mechanisms provided by \LaTeX{}.
569
570 If you require these fonts, you can consult the \LaTeX{} documentation
571 [LFG], [L94] and use directly the commands described there, such as
572 \cn{DeclareFontFamily}, \cn{DeclareFontShape}, and \cn{symbol}. A scheme
573 for accessing letters that don't correspond to the 26-letter Latin alphabet
574 will be needed; the file \fn{cyracc.def} can be used as a starting point.
575
576 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
577
578 \section{4} How to use AMSFonts with \AmSTeX{}
579
580 In \JoT{}, Michael Spivak describes various fonts that are used in
581 mathematics in addition to the fonts provided with the standard
582 distributions of \TeX. Two references in particular are of interest with
583 respect to AMSFonts: the section {\bf Fonts in math mode} in Chapter 19,
584 and Appendix G, {\bf Further fonts}. The first describes the use of
585 letters from alphabets, including Fraktur, and the second, mostly
586 nonalphabetic symbols.
587
588 Instructions for using the fonts of the AMSFonts collection with \AmSTeX{}
589 are also given in the {\sl User's Guide to \AmSTeX{} Version~2.2\/} [AMS01]
590 and in Appendix~G of editions of \JoT{} [MDS90] dated 1990 or later.
591
592 Additional fonts to be used with \AmSTeX{} should be specified at the top
593 of the document input file, in what is known as the ``preamble''. The
594 arrangement of commands at the top of an input file is the following:
595 \begintt
596 \input amstex
597 \documentstyle{...}
598 |<preamble commands>
599 \endtt
600
601 \AmSTeX{} provides a simple method for accessing most of the fonts in the
602 AMSFonts collection. The two extra symbol fonts and Euler Fraktur are
603 loaded automatically by the preprint style (\filename{amsppt.sty}).
604 If you are using \AmSTeX{}, but not the preprint style, the method used to
605 load these fonts and define the associated symbol names depends on how many
606 symbols will be needed. If a lot of the symbols will be needed, or
607 you aren't worried about memory space and just want to do what is easiest,
608 all three fonts will be loaded and the symbol names defined if you type the
609 command |\UseAMSsymbols| in the preamble. This will load the file
610 \filename{amssym.tex}, in which all the symbol names (more than 200 of them)
611 are defined. If only a few symbols from these fonts are needed, the
612 commands |\loadmsam|, |\loadmsbm|, and |\loadeufm| will load the
613 medium-weight versions of the two extra symbol fonts and Euler Fraktur
614 respectively. The command |\newsymbol| can then be used to define just
615 those symbols that are needed; its use is described in Section 7,
616 {\bf Using the extra symbols}.%
617 \footnote{*}{Additional fonts from the AMSFonts collection can be accessed
618 easily in \AmSTeX{}.
619 However, users should be aware that \TeX{} limits the number of
620 math mode font families to 16, of which 11 are predefined in \AmSTeX{}.
621 Only those additional families should be activated that will actually
622 be used in a document, to avoid exceeding the limit.}
623
624 Two sizes of fonts, suitable for body text and for passages requiring smaller
625 type (e.g.\ abstracts and footnotes), are incorporated in the preprint style
626 \filename{amsppt.sty}. These are accessed through the control sequences
627 |\tenpoint| and |\eightpoint|, which are ordinarily referred to only by
628 higher-level commands that identify the kind of text being input (e.g.\
629 |\title|, |\abstract|, |\footnote|). Most fonts in the AMSFonts collection
630 have |\load...|\ instructions defined in \AmSTeX{} and will be accessed
631 properly for use with the preprint style when the |\load| instructions are
632 included in the preamble of the document input. If you are not using the
633 preprint style, you can use the font definitions in \filename{amsppt.sty} as a
634 model.
635
636 If you are using the PostScript version of the AMSFonts developed by
637 Y\&Y/Blue Sky Research, only selected sizes (5, 7 and 10) are provided, and
638 the other sizes are produced by interpolation. With the \AmSTeX{} preprint
639 style, use the command \cn{PSAMSFonts}, placed after the \cn{documentstyle}
640 line and before \cn{topmatter} and \cn{document}, to access these fonts
641 correctly. Papers and monographs submitted to the AMS for publication are
642 required to use this command.
643
644 \Warn Adding the command \cn{PSAMSFonts} to an existing file may result
645 in changed line and page breaks, owing to the fact that sizes
646 6, 8, and 9 are produced by interpolation.
647 \endx
648
649 \subsection{4.1} Euler
650
651 The Euler fonts are defined only in math mode, in sizes appropriate for
652 text and two orders of sub- and superscripts. They can be activated by
653 invoking the proper |\load| instructions before the |\documentstyle|
654 command, in the preamble of a paper in which the fonts are to be used.
655 (The medium-weight Fraktur font is activated automatically by the preprint
656 style.) The Euler fonts can be activated by the following commands:
657
658 \begingroup
659 \smallskip
660 \parskip=0pt
661 \def\1 #1 {\item{}{\tt\bs#1}\qquad\ignorespaces}
662 \1 loadeufm Euler Fraktur medium (automatic with the preprint style)
663 \1 loadeufb Euler Fraktur bold
664 \1 loadeurm Euler cursive medium
665 \1 loadeurb Euler cursive bold
666 \1 loadeusm Euler script medium
667 \1 loadeusb Euler script bold
668 \endgraf
669 \endgroup
670
671 After the \fontname{eufm} font has been loaded, the medium-weight Fraktur
672 letters can be produced by typing |\frak| followed by the desired letter.
673 For example, |$\frak g \frak A$| yields $\frak g \frak A$. \AmSTeX{} 2.1 also
674 defines |\eufm|, |\eufb|, |\eurm|, |\eurb|, |\eusm| and |\eusb|.
675
676
677 \subsection{4.2} Computer Modern bold math italic and symbols
678
679 The Computer Modern bold math italic (\fontname{cmmib}) and bold math
680 symbol (\fontname{cmbsy}) fonts can both be loaded in \AmSTeX{} by the
681 command |\loadbold|; there are no predefined commands to load them separately.
682 |\loadbold| must be invoked in the preamble of the document input file.
683
684 A rather elaborate mechanism has been defined in \AmSTeX{} to simplify
685 access to bold letters and symbols, in math mode only. Three control
686 sequences are available, each of which affects a particular class of
687 characters:
688
689 \begingroup
690 \smallskip
691 \parskip=0pt
692 \setbox0=\hbox{\tt xboldsymbol}
693 \def\1 #1 {\item{}\hbox to\wd0{\tt\bs#1\hfil}\qquad\ignorespaces}
694 \1 bold for a single letter or numeral
695 \1 boldkey for other symbols that appear on the keyboard
696 \1 boldsymbol for a symbol specified by a single control sequence
697 \endgraf
698 \endgroup
699 \noindent
700 These facilities are described in more detail in the {\sl User's Guide to
701 \AmSTeX{} Version~2.2\/} [AMS01] and editions of \Joy\/ published in 1990
702 or later [MDS90].
703
704
705 \subsection{4.3} Computer Modern math extension font
706
707 Smaller sizes of the math extension font are appropriate for use in text
708 smaller than ten-point and in sub- and superscripts. They are provided
709 automatically for these environments in the preprint style. If you are
710 not using the preprint style, you can use the font definitions in either
711 \filename{amsppt.sty} or Appendix~E of \TB\/ [DEK86A] as a model.
712
713
714 \subsection{4.4} Extra symbols
715
716 The medium-weight versions of the two extra symbol fonts are available
717 automatically, including all the symbol names, if you are using the preprint
718 style or if you have specified |\input amssym|. If you wish to load these
719 fonts separately, use the appropriate control sequence |\loadmsam| or
720 |\loadmsbm| in the preamble of your document. If you load the fonts
721 separately, a few symbols will be defined when one of the fonts is loaded,
722 but most must be defined using the |\newsymbol| command before they can be
723 used. See Section 7, {\bf Using the extra symbols}, for
724 information on both the symbol names and on using |\newsymbol| to define them.
725
726
727 \subsection{4.5} Cyrillic
728
729 Cyrillic is not referred to in the \AmSTeX{} files as distributed.
730 The cyrillic fonts included in AMSFonts are intended for use mainly in text,
731 not as symbols in math. Detailed instructions for loading and using cyrillic
732 appear below in Section 6, {\bf Using cyrillic}.
733
734
735 \subsection{4.6} Caps/small caps
736
737 Caps/small caps are loaded automatically by the \AmSTeX{} preprint style
738 for use in ten-point and eight-point text. If you are not using the preprint
739 style, you can use the font definitions in either \filename{amsppt.sty}
740 or Appendix~E of \TB\/ [DEK86A] as a model.
741
742
743 \subsection{4.7} Dummy font
744
745 No special action is needed to use the dummy font with \AmSTeX{}.
746 It is already built into the syntax checking procedure.
747
748
749 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
750
751 \section{5} How to use AMSFonts with plain \TeX{} or other macro packages
752
753 If you are not using \LaTeX{} or \AmSTeX{} then there are too many
754 variables for us to provide much specific guidance. It will be necessary
755 to assume that you either have some experience with \TeX{} macros or
756 have a \TeX nician available to help you. However, some general
757 guidelines may be helpful.
758
759 Two models for defining fonts should be accessible to most users:
760 \item{\bull} Appendix E of \TB\/ contains size-specific font definitions
761 for \hbox{|\tenpoint|}, \hbox{|\ninepoint|} and |\eightpoint| that permit
762 size-switching, including support of mathematics.
763 \item{\bull} \filename{amsppt.sty}, the file of macros supporting the
764 \AmSTeX{} preprint style, contains similar font definitions, |\tenpoint|
765 and |\eightpoint|.
766
767 The font-size-switching facilities of \LaTeX{} are not recommended as a
768 model because they include many features (such as loading fonts on demand)
769 that make them too complex to be copied easily for uses outside of
770 \LaTeX{} except by someone with substantial \TeX{} expertise.
771
772 Before attempting to load all available fonts into every \TeX{} job,
773 determine (if you can) how many fonts can be accommodated by the
774 implementation of \TeX{} you are using. It is generally a good idea to
775 load seldom-used fonts selectively.
776
777
778 \subsection{5.1} Euler
779
780 The following commands will load the medium-weight Euler Fraktur font, and
781 can be used as a model for accessing the other Euler fonts.
782 \begintt
783 \font\teneufm=eufm10
784 \font\seveneufm=eufm7
785 \font\fiveeufm=eufm5
786 \newfam\eufmfam
787 \textfont\eufmfam=\teneufm
788 \scriptfont\eufmfam=\seveneufm
789 \scriptscriptfont\eufmfam=\fiveeufm
790 \def\eufm#1{{\fam\eufmfam\relax#1}}
791 \endtt
792
793 Individual letters in the Euler fonts are accessible by the ordinary
794 letters on your keyboard, once the font has been loaded and named by
795 a control sequence equivalent to |\eufm|.
796
797 The medium-weight Fraktur font, \fontname{eufm}, can also be loaded by
798 |\input amssym.def|; this loads the two extra symbol fonts as well.
799
800
801 \subsection{5.2} Computer Modern bold math italic and symbols
802
803 The \fontname{cmmib} and \fontname{cmbsy} fonts can be loaded and made
804 accessible to math in ten-point environments by the following code:
805 \begintt
806 \font\tencmmib=cmmib10 \skewchar\tencmmib='177
807 \font\sevencmmib=cmmib7 \skewchar\sevencmmib='177
808 \font\fivecmmib=cmmib5 \skewchar\fivecmmib='177
809 \newfam\cmmibfam
810 \textfont\cmmibfam=\tencmmib \scriptfont\cmmibfam=\sevencmmib
811 \scriptscriptfont\cmmibfam=\fivecmmib
812
813 \font\tencmbsy=cmbsy10 \skewchar\tencmbsy='60
814 \font\sevencmbsy=cmbsy7 \skewchar\sevencmbsy='60
815 \font\fivecmbsy=cmbsy5 \skewchar\fivecmbsy='60
816 \newfam\cmbsyfam
817 \textfont\cmbsyfam=\tencmbsy \scriptfont\cmbsyfam=\sevencmbsy
818 \scriptscriptfont\cmbsyfam=\fivecmbsy
819 \endtt
820 The \TeX{} primitive |\mathchar| must be used to access individual characters
821 from a font in math mode.
822 |\mathchar|, like the |\char| primitive, requires that you know the position in
823 the font of the character you are accessing. However, |\mathchar| also
824 requires that you specify the ``class'' and the family of the math character
825 being accessed. See Chapter 17 of \TB{} for more details on the use of
826 |\mathchar|, as well as |\mathchardef|, which will allow you to define your own
827 macro names for individual characters in these fonts.
828
829 \Note The file \filename{amssym.def} contains a convenient macro,
830 |\hexnumber@|, to determine the family number of the font being accessed
831 through |\mathchar|. For example, the |\mathchar| statement to properly access
832 the bold alpha in the \fn{cmmib} font would be:
833 \begintt
834 \mathchar"0\hexnumber@\cmmibfam0B
835 \endtt
836 \endx
837
838
839 \subsection{5.3} Computer Modern math extension font
840
841 The 10-point \fontname{cmex} font is loaded by \filename{plain.tex}.
842 To install the 7-point size appropriate for sub- and superscripts in
843 a ten-point math environment, include the following code in your file:
844 \begintt
845 \font\sevenex=cmex7
846 \scriptfont3=\sevenex \scriptscriptfont3=\sevenex
847 \endtt
848 To use other sizes implies the use of switchable-size fonts,
849 which may be implemented according to the models cited
850 at the beginning of this section.
851
852
853 \subsection{5.4} Extra symbols
854
855 Detailed instructions for accessing the \fontname{msam} and \fontname{msbm}
856 fonts are given in Section 7, {\bf Using the extra symbols}.
857
858
859 \subsection{5.5} Cyrillic
860
861 See Section 6, {\bf Using cyrillic}, for instructions.
862
863
864 \subsection{5.6} Caps/small caps
865
866 The 10-point \fontname{cmcsc} font is loaded by \filename{plain.tex}.
867 To use the smaller versions implies the use of switchable-size fonts,
868 which may be implemented according to the models cited at the beginning
869 of this section.
870
871
872 \subsection{5.7} Dummy font
873
874 The dummy font was designed to be used for syntax checking. The general
875 technique is described in Appendix~D of \TB, p.~401. This has been
876 implemented in the file \filename{amstex.tex}, which can be used as a model.
877
878
879 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
880
881 \section{6} Using cyrillic
882
883 \def\2#1{${}\mapsto{}${\cyr#1}}
884
885 \newcount\cyrtablefigno \cyrtablefigno=1
886 \def\cyrtablefig{Figure~\number\cyrtablefigno}
887
888 The cyrillic fonts in the AMSFonts collection have been designed so that
889 input using the transliteration conventions of {\sl Mathematical
890 Reviews\/} will be converted directly to cyrillic text. Other
891 transliteration schemes exist, as well as methods for keying directly
892 from the keyboard to access cyrillic characters. We have included two
893 sets of virtual fonts in this distribution, which provide access to the
894 characters of the cyrillic fonts through the KOI-8 or Alternativnyj
895 Variant (AV) encodings. At the present time macro support is provided
896 only for the {\sl Mathematical Reviews\/} transliteration scheme; to use
897 one of the other encodings, you must seek support from other sources.
898 Also, the instructions in this section are unsuitable for \LaTeX{}; they
899 apply only to \AmSTeX{}, plain \TeX{}, and other macro packages that use
900 plain \TeX{} font loading methods.
901
902 The following cyrillic fonts are included:
903
904 \item{} \fontname{wncyr} (upright), in sizes 5, 6, 7, 8, 9, and 10 point
905 \item{} \fontname{wncyb} (bold), in the same range of sizes as \fontname{wncyr}
906 \item{} \fontname{wncyi} (italic), in the same range of sizes as
907 \fontname{wncyr}
908 \item{} \fontname{wncysc} (caps and small caps), in size 10 point
909 \item{} \fontname{wncyss} (upright sans serif), in sizes 8, 9, and 10 point
910
911 \noindent
912 (The Y\&Y/Blue Sky PostScript collection contains only 10-point outlines.
913 Other sizes must be obtained by scaling.)
914
915 The file \filename{cyracc.def}, which is included in the AMSFonts collection,
916 must be input to any document using the cyrillic fonts as defined with the
917 AMS layout. Since the cyrillic alphabet contains more letters than the
918 roman alphabet, some cyrillic letters are accessed by combinations of roman
919 letters, accented letters, or control sequences. \filename{cyracc.def}
920 contains the definitions of these accents and control sequences.
921 If this file is not input, some cyrillic letters will be inaccessible.
922
923
924 \subsection{6.1} Making cyrillic available to a document
925
926 If you are using plain \TeX{}, include the following instructions near the
927 top of the document input file to make the 10-point cyrillic font available
928 for use in text (see below for cyrillic in math):
929 \begintt
930 \input cyracc.def
931 \font\tencyr=wncyr10
932 \def\cyr{\tencyr\cyracc}
933 \endtt
934 If you require cyrillic text in more than one size, you must take a
935 different approach in defining |\cyr|. An appropriate model appears in
936 Appendix~E of \TB\/ [DEK86A], pages 414--15. The definition of |\cyr|
937 should be incorporated into size-specific macros such as |\tenpoint| and
938 |\eightpoint| similarly to what is done there for |\bf|. Don't forget to
939 include the command |\cyracc| in the definition.
940
941 If you are using \AmSTeX{} and the preprint style, include the following
942 instructions in the preamble of your document input file to make
943 cyrillic available in 10-point and 8-point text:
944 \begintt
945 \input cyracc.def
946 \catcode`\@=11
947 \font@\tencyr=wncyr10
948 \font@\eightcyr=wncyr8
949 \catcode`\@=13
950 \addto\tenpoint{\def\cyr{\tencyr\cyracc}}
951 \addto\eightpoint{\def\cyr{\eightcyr\cyracc}}
952 \endtt
953 (The |\font@| command not only loads the fonts, but also makes them behave
954 properly during syntax checking.)
955 If you are not using the preprint style, you can use the font definitions
956 in either \filename{amsppt.sty} or \TB\/ Appendix~E as a model.
957
958 The macro definitions in \filename{cyracc.def} govern the behavior of
959 cyrillic-specific control sequences, including accents, in cyrillic and
960 noncyrillic text. Definitions governing noncyrillic text are activated
961 as soon as \filename{cyracc.def} is |\input|. This will permit text input
962 according to the scheme shown in \cyrtablefig{} to be typeset in
963 transliterated form, according to the {\sl MR\/} conventions. To produce
964 actual cyrillic text, enclose the cyrillic input in a group that begins with
965 the instruction |\cyr| {\sl inside\/} the group, as
966 \begintt
967 ... {\cyr ...} ...
968 \endtt
969 Enclosing in braces both the |\cyr| and the text to be set in cyrillic type
970 (in the same way that an italic phrase would be indicated in a roman text)
971 is particularly important for two reasons. First, like |\it|, |\cyr| must
972 be explicitly terminated to return to roman text. And second, unlike |\it|,
973 the special cyrillic control sequences invoked by |\cyracc| are interpreted
974 differently by \TeX{} depending on whether they are in a cyrillic or a
975 noncyrillic environment. The ``cyrillic'' interpretation is not turned
976 off simply by invoking |\rm|. Failure to follow this practice will yield
977 gibberish.
978
979
980 \subsection{6.2} Cyrillic input
981
982 The table in \cyrtablefig{} follows the alphabetical order of the table
983 published in the 1983 MR author index. The three paired columns
984 contain: (1)~Cyrillic; (2)~Input; (3)~Transliteration.
985
986 The letters in the Cyrillic columns will appear in the
987 typeset output when the corresponding codes from the Input columns
988 are used in the |{\cyr ...}| context described above. The roman
989 letters in the Transliteration columns will appear in the output when
990 the corresponding codes from the Input columns are used in a noncyrillic
991 environment, i.e., have not been preceded by |\cyr|.
992
993 \penalty0
994 \topinsert
995 \begingroup
996 \input amsfndoc.cyr
997 \endgroup
998 \endinsert
999
1000 \penalty0
1001 \indent
1002 Several points should be noted here.
1003
1004 \nobreak
1005 \item{\bull} Input codes for uppercase cyrillic which consist of more than
1006 one letter, e.g. |Zh|\2{Zh}, can also be input in all caps, e.g. |ZH|\2{ZH},
1007 if the context is entirely in caps.
1008
1009 \item{\bull} Particular care is necessary when the letter t\2{t} is followed
1010 by s\2{s}. The control sequence |\cydot| (``cyrillic dot'')
1011 is provided as a separator to keep those letters distinct:
1012 |t\cydot s|~(t\cydot s)\2{t\cydot s}.
1013 Otherwise, they will be combined as ts\2{ts}.
1014
1015 \item{} The t\cydot s pair appears, for example, in the word
1016 |sovet\cydot ski\u\i|
1017 (sovet\cydot ski\u\i)\2{sovet\cydot ski\u\i}
1018 and is not uncommon in the suffix of reflexive verbs, e.g.
1019 \hbox{|nakhodyat\cydot sya|}
1020 (nakhodyat\cydot sya)\2{nakhodyat\cydot sya}.
1021
1022 \item{\bull} Because there is not a one-to-one correspondence between
1023 cyrillic and roman letters, some cyrillic letters have been placed
1024 in locations where a roman letter does not have a cyrillic
1025 counterpart. A user who is aware of this fact may be able to
1026 detect input keying that does not conform to the recommendations
1027 shown in \cyrtablefig, and correct it more easily than otherwise.
1028 The following nonstandard assignments have been made:\newline
1029 \indent |c|\2{c}; |h|\2{h}; |q|\2{q}; |w|\2{w}; |x|\2{x}.
1030
1031 \item{\bull} Some very strange effects can occur in cyrillic text
1032 hyphenated by the default English hyphenation rules; in particular,
1033 a cyrillic letter input as a group of letters can be decomposed.
1034 (Most multiple-letter input groups are converted to a single cyrillic
1035 letter by way of \TeX's ligaturing mechanism.) For example,
1036 |shch|\2{shch} might, in especially unlucky circumstances, be
1037 decomposed as {\cyr s-hch}, {\cyr sh-ch} or {\cyr shc-h}.
1038 In other words, if there is any chance that cyrillic text might fall
1039 into a position where hyphenation could occur, the results should be
1040 checked very carefully, and discretionary hyphens used as appropriate.
1041
1042 \item{\bull} Hyphenation patterns do not exist for the AMS cyrillic font
1043 when the input conventions shown here are used. Furthermore, it is
1044 probably impracticable to attempt to develop such rules, since the
1045 rules to recognize control sequences and complicated ligatures, both
1046 used extensively by the AMS cyrillic input conventions, are not easily
1047 specified to \TeX's hyphenation mechanism. Another approach to
1048 hyphenation, requiring some changes to the cyrillic \filename{.tfm}
1049 files, has been described by Dimitri Vulis in a \TUB\/ article [DLV89].
1050
1051
1052 \subsection{6.3} Cyrillic in math
1053
1054 Although the cyrillic fonts are intended for use as text, individual
1055 letters are sometimes requested in math; for example, {\cyr SH} may be
1056 used to represent the Shafarevich group. When cyrillic is needed in
1057 math mode, replace the definition of |\cyr| shown previously (which
1058 will work only for text) by the following instructions (which will
1059 support the use of cyrillic in both text and math):
1060 \begintt
1061 \newfam\cyrfam
1062 \font\tencyr=wncyr10
1063 \font\sevencyr=wncyr7
1064 \font\fivecyr=wncyr5
1065 \def\cyr{\fam\cyrfam\tencyr\cyracc}
1066 \textfont\cyrfam=\tencyr \scriptfont\cyrfam=\sevencyr
1067 \scriptscriptfont\cyrfam=\fivecyr
1068 \endtt
1069 If only the 10-point cyrillic font has been accessed, the references
1070 to |\sevencyr| and |\fivecyr| can be changed to |\tencyr| to save memory.
1071 When using \AmSTeX{} and the preprint style, use |\font@| instead of |\font|,
1072 remembering to change the |\catcode| of the |@| appropriately, and embed the
1073 font family specifications in |\addto\tenpoint|, as shown above.
1074
1075 If other base text sizes are used besides ten point, the suggestions given
1076 above in Section 6.1, {\bf Making cyrillic available}, apply here as well.
1077
1078 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1079
1080 \makeatletter
1081
1082 % Define macros for presentation of tables of symbols.
1083 \def\BBB#1{\par\bigbreak
1084 \leavevmode\llap{$\bullet$\enspace}{\bf#1}}
1085 \def\ttcs#1{\leavevmode\hbox{\tt\bs\ignorespaces#1\unskip}}
1086 \newdimen\biggest
1087 \setbox0\hbox{$\dashrightarrow$}\biggest=\wd0
1088 \def\1#1{\hbox to\biggest{\hfil$\csname#1\endcsname$\hfil}\ \ %
1089 \ttcs{#1}}
1090
1091 \def\getID@#1{\edef\next@{\expandafter\meaning\csname#1\endcsname}%
1092 \expandafter\getID@@\next@0\getID@@}
1093 \def\getID@@#1"#2#3#4#5#6\getID@@{\def\next@{#6}%
1094 \ifx\next@\empty
1095 \def\next@{#2}%
1096 \ifx\next@\msafam@
1097 \def\ID@{10#3#4}%
1098 \else
1099 \def\ID@{20#3#4}%
1100 \fi
1101 \else
1102 \def\next@{#3}%
1103 \ifx\next@\msafam@
1104 \def\ID@{1#2#4#5}%
1105 \else
1106 \def\ID@{2#2#4#5}%
1107 \fi
1108 \fi}
1109 \def\2#1{\hbox to.5\hsize
1110 {\hbox to\biggest{\hfill$\csname#1\endcsname$\hfill}\ \ %
1111 \getID@{#1}{\tt\ID@}\ \ \ttcs{#1}\hfill}}
1112 \def\3#1#2{\hbox to.5\hsize
1113 {\hbox to\biggest{\hfil$\csname#1\endcsname$\hfil}\ \ %
1114 \getID@{#1}{\tt\ID@}\ \ \ttcs{#1}, \ttcs{#2}\hss}}
1115 \def\4#1{\hbox to.5\hsize
1116 {\hbox to\biggest{\hfill$\csname#1\endcsname$\hfill}\ \ %
1117 \getID@{#1}{\tt\ID@}\ \ \ttcs{#1}\ \ {\eightpoint(U)}\hfill}}
1118
1119 \makeatother
1120
1121 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1122
1123 \section{7} Using the extra symbols
1124
1125 Most users of the extra symbol fonts will probably want to make them
1126 accessible to their \TeX{} jobs with the least possible fuss. For \AmSTeX{}
1127 users, these fonts are available automatically with the preprint style, and
1128 other methods of loading them for use with \AmSTeX{} are described above.
1129 To load these fonts with \LaTeX{} or \AmS-\LaTeX{}, see Section 3.4,
1130 {\bf Extra math symbols}.
1131
1132 If you are not using \AmSTeX{} or \LaTeX{}, the easiest method of loading
1133 these fonts and defining the control sequences for accessing the symbols is
1134 to place the command
1135 \begintt
1136 \input amssym.tex
1137 \endtt
1138 at the top of your input file. This will load the fonts \fontname{msam},
1139 \fontname{msbm}, and \fontname{eufm} in sizes 10, 7, and 5 point, suitable
1140 for use in ordinary ten-point math environments, and define the names of
1141 all the symbols in these fonts. However, this assigns more than 200
1142 control sequence names, so if you are limited for space, an alternative
1143 method may be preferred.
1144
1145 If you type just |\input amssym.def| (or |\usepackage{amsfonts}| for
1146 \LaTeX), the fonts will be loaded, but only the
1147 names of the few special symbols listed below will be defined.
1148
1149 First there are four symbols that are normally used outside of math mode:
1150 $$\vcenter{\halign to\hsize{\1{#}\hfil\tabskip\centering&
1151 \hbox to.5\hsize{\1{#}\hfil}\tabskip0pt\cr
1152 checkmark&circledR\cr
1153 maltese&yen\cr}}
1154 $$
1155 These symbols, like \P, \S, \dag, and \ddag, can also be used in math mode;
1156 they will change sizes correctly in subscripts and superscripts.
1157
1158 Next are four symbols that are ``delimiters'' (although there are
1159 no larger versions obtainable with \ttcs{left} and \ttcs{right}), so they
1160 must be used in math mode:
1161 $$\vcenter{\halign to\hsize{\1{#}\hfil\tabskip\centering&
1162 \hbox to.5\hsize{\1{#}\hfil}\tabskip0pt\cr
1163 ulcorner&urcorner\cr
1164 llcorner&lrcorner\cr}}$$
1165
1166 Finally, two dashed arrows are constructed from symbols in this family
1167 (note that one of them has two names; it can be accessed by either one):
1168 $$\vcenter{\halign to\hsize{\1{#}\hfil\tabskip\centering&
1169 \hbox to.5\hsize{\1{#}\hfil}\tabskip0pt\cr
1170 \omit\hbox to.5\hsize{\hbox to\biggest{\hfil$\dashrightarrow$\hfil}\ \ %
1171 \ttcs{dashrightarrow}, \ttcs{dasharrow}\hss}&dashleftarrow\cr}}$$
1172
1173 The Blackboard Bold letters $\Bbb A,\dots,\Bbb Z$ can be accessed by typing
1174 (in math mode) |\Bbb A|$,\dots,$|\Bbb Z| in plain \TeX{} or \AmSTeX, or
1175 |\mathbb{A}|$,\dots,$|\mathbb{Z}| in \LaTeX.
1176
1177 Wider versions of the \filename{plain.tex} |\widehat| and |\widetilde|
1178 are now available.
1179
1180 Letters in the \fontname{eufm} font can be accessed (in math mode) by typing,
1181 for example, |\frak A \frak g| to get $\frak A \frak g$
1182 (|\mathfrak{Ag}| in \LaTeX). For the other Euler
1183 fonts, see the various ``Euler'' subsections under the sections for
1184 different macro packages (\LaTeX{}, \AmSTeX{}, plain \TeX{}).
1185
1186 \subsection{7.1} The {\tt\bs newsymbol} command (\AmSTeX{} or plain \TeX{})
1187
1188 All other symbols of the \fontname{msam} and \fontname{msbm} fonts must be
1189 named by control sequences so that they can be used (in math mode only) when
1190 the fonts are loaded. If you are very short on space for control sequence
1191 names, and need only a few of these symbols, you can omit the loading of
1192 \filename{amssym.tex} and instead assign only the names you will need by
1193 using the command |\newsymbol| for each symbol you need, to create a
1194 control sequence that will properly produce that symbol. The control
1195 sequence can be either the ``standard'' name, as listed below, or one
1196 of your own choosing.
1197
1198 The list of symbols below shows for each symbol the symbol itself, a
1199 four-character~``ID'', and the ``standard'' name of the symbol.
1200 (The first character of the ID identifies the font family in which a
1201 symbol resides. Symbols from the \fontname{msam} family have {\tt1} as the
1202 first character; symbols from the \fontname{msbm} family have {\tt2} as the
1203 first character.)
1204 For example, the symbol $\nleqslant$ appears as
1205 \medskip
1206 \noindent\kern\parindent\2{nleqslant}
1207 \medskip
1208 \noindent
1209 To produce a control sequence with this name, the instruction
1210 \begintt
1211 \newsymbol\nleqslant 230A
1212 \endtt
1213 appears in the file \filename{amssym.tex}. This same instruction can
1214 be typed by a user who is not using the \AmSTeX{} preprint style and has
1215 chosen not to load all the symbols, and thereafter the control sequence
1216 |\nleqslant| will produce the symbol $\nleqslant$ (in math mode), and will
1217 act properly as a ``binary relation''.
1218
1219 A few symbols in these fonts replace symbols defined in \filename{plain.tex}
1220 by combinations of symbols available in the Computer Modern fonts. These
1221 are |\angle|~($\angle$) and |\hbar|~($\hbar$) from the group
1222 ``Miscellaneous symbols'', and |\rightleftharpoons|~($\rightleftharpoons$)
1223 from the group ``Arrows'' below. The new symbols will
1224 change sizes correctly in subscripts and superscripts, provided that you
1225 are using appropriate redefinitions. In order to use |\newsymbol| to
1226 replace an existing definition, the name must first be ``undefined''.
1227 Here are the lines you must put in your file if you are not using the
1228 \AmSTeX{} preprint style or |\input amssym| (which perform the redefinition
1229 automatically):
1230 \begintt
1231 \undefine\angle
1232 \newsymbol\angle 105C
1233 \undefine\hbar
1234 \newsymbol\hbar 207E
1235 \undefine\rightleftharpoons
1236 \newsymbol\rightleftharpoons 130A
1237 \endtt
1238 \noindent
1239 These symbols are flagged in the tables below with a ``{\eightpoint(U)}'',
1240 as a reminder that they must be undefined.
1241
1242 \subsection{7.2} The extra symbols
1243
1244 Note in the tables that some symbols are shown with two names; in such a
1245 case, either one can be used to access the symbol.
1246
1247 \BBB{Lowercase Greek letters}
1248 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1249 digamma&varkappa\cr}$$
1250
1251 \BBB{Hebrew letters}
1252 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1253 beth&gimel\cr
1254 daleth\cr
1255 }$$
1256
1257 \BBB{Miscellaneous symbols}
1258 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1259 \omit\4{hbar}&backprime\cr
1260 hslash&varnothing\cr
1261 vartriangle&blacktriangle\cr
1262 triangledown&blacktriangledown\cr
1263 square&blacksquare\cr
1264 lozenge&blacklozenge\cr
1265 circledS&bigstar\cr
1266 \omit\4{angle}&sphericalangle\cr
1267 measuredangle&\omit\cr
1268 nexists&complement\cr
1269 mho&eth\cr
1270 Finv&diagup\cr
1271 Game&diagdown\cr
1272 Bbbk&\omit\cr
1273 }$$
1274
1275 \BBB{Binary operators}
1276 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1277 dotplus&ltimes\cr
1278 smallsetminus&rtimes\cr
1279 \omit\3{Cap}{doublecap}&leftthreetimes\cr
1280 \omit\3{Cup}{doublecup}&rightthreetimes\cr
1281 barwedge&curlywedge\cr
1282 veebar&curlyvee\cr
1283 % %%%%%%%%%%
1284 %\noalign{\newpage}
1285 % %%%%%%%%%%
1286 doublebarwedge\cr
1287 boxminus&circleddash\cr
1288 boxtimes&circledast\cr
1289 boxdot&circledcirc\cr
1290 boxplus&centerdot\cr
1291 divideontimes&intercal\cr}
1292 $$
1293
1294 \BBB{Binary relations}
1295 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1296 leqq&geqq\cr
1297 leqslant&geqslant\cr
1298 eqslantless&eqslantgtr\cr
1299 lesssim&gtrsim\cr
1300 lessapprox&gtrapprox\cr
1301 approxeq&eqsim\cr
1302 lessdot&gtrdot\cr
1303 \omit\3{lll}{llless}&\omit\3{ggg}{gggtr}\cr
1304 lessgtr&gtrless\cr
1305 lesseqgtr&gtreqless\cr
1306 lesseqqgtr&gtreqqless\cr
1307 \omit\3{doteqdot}{Doteq}&eqcirc\cr
1308 risingdotseq&circeq\cr
1309 fallingdotseq&triangleq\cr
1310 backsim&thicksim\cr
1311 backsimeq&thickapprox\cr
1312 subseteqq&supseteqq\cr
1313 Subset&Supset\cr
1314 sqsubset&sqsupset\cr
1315 preccurlyeq&succcurlyeq\cr
1316 curlyeqprec&curlyeqsucc\cr
1317 precsim&succsim\cr
1318 precapprox&succapprox\cr
1319 vartriangleleft&vartriangleright\cr
1320 trianglelefteq&trianglerighteq\cr
1321 vDash&Vdash\cr
1322 Vvdash\cr
1323 smallsmile&shortmid\cr
1324 smallfrown&shortparallel\cr
1325 bumpeq&between\cr
1326 Bumpeq&pitchfork\cr
1327 varpropto&backepsilon\cr
1328 blacktriangleleft&blacktriangleright\cr
1329 therefore&because\cr}$$
1330 \bigbreak
1331 \BBB{Negated relations}
1332 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1333 nless&ngtr\cr
1334 nleq&ngeq\cr
1335 nleqslant&ngeqslant\cr
1336 nleqq&ngeqq\cr
1337 lneq&gneq\cr
1338 lneqq&gneqq\cr
1339 lvertneqq&gvertneqq\cr
1340 lnsim&gnsim\cr
1341 lnapprox&gnapprox\cr
1342 % %%%%%%%%%%
1343 %\noalign{\newpage}
1344 % %%%%%%%%%%
1345 nprec&nsucc\cr
1346 npreceq&nsucceq\cr
1347 precneqq&succneqq\cr
1348 precnsim&succnsim\cr
1349 precnapprox&succnapprox\cr
1350 nsim&ncong\cr
1351 nshortmid&nshortparallel\cr
1352 nmid&nparallel\cr
1353 nvdash&nvDash\cr
1354 nVdash&nVDash\cr
1355 ntriangleleft&ntriangleright\cr
1356 ntrianglelefteq&ntrianglerighteq\cr
1357 nsubseteq&nsupseteq\cr
1358 nsubseteqq&nsupseteqq\cr
1359 subsetneq&supsetneq\cr
1360 varsubsetneq&varsupsetneq\cr
1361 subsetneqq&supsetneqq\cr
1362 varsubsetneqq&varsupsetneqq\cr}$$
1363
1364 \overfullrule=0pt
1365
1366 \BBB{Arrows}
1367 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1368 leftleftarrows&rightrightarrows\cr
1369 leftrightarrows&rightleftarrows\cr
1370 Lleftarrow&Rrightarrow\cr
1371 twoheadleftarrow&twoheadrightarrow\cr
1372 leftarrowtail&rightarrowtail\cr
1373 looparrowleft&looparrowright\cr
1374 leftrightharpoons&\omit\4{rightleftharpoons}\cr
1375 curvearrowleft&curvearrowright\cr
1376 circlearrowleft&circlearrowright\cr
1377 Lsh&Rsh\cr
1378 upuparrows&downdownarrows\cr
1379 upharpoonleft&\omit\3{upharpoonright}{restriction}\cr
1380 downharpoonleft&downharpoonright\cr
1381 multimap&rightsquigarrow\cr
1382 leftrightsquigarrow\cr}$$
1383
1384 \BBB{Negated arrows}
1385 $$\halign{\hbox to.5\hsize{\2{#}}&\2{#}\cr
1386 nleftarrow&nrightarrow\cr
1387 nLeftarrow&nRightarrow\cr
1388 nleftrightarrow&nLeftrightarrow\cr}$$
1389
1390
1391 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1392
1393 \References{DEK86A}
1394
1395 \bibitem [AMS01] {\sl User's Guide to \AmSTeX{} Version~2.2, August 2001},
1396 \AMS, Providence, RI, 2001; distributed with \AmSTeX{} Version~2.2.
1397
1398 \bibitem [AMSPS] {\sl AMSFonts in Type 1 (PostScript) form}, AMS web
1399 server, URL: |http://www.ams.org/tex/type1-fonts.html|.
1400
1401 \bibitem [DEK86A] Donald E. Knuth, {\sl The \TeX book},
1402 Volume~A of \CandT, \AW{} Publishing Co.,
1403 Reading, MA, 1986.
1404
1405 \bibitem [DEK86E] \bysame {\sl Computer Modern Typefaces},
1406 Volume~E of \CandT, \AW{} Publishing Co.,
1407 Reading, MA, 1986.
1408
1409 \bibitem [DEK89] \bysame ``Typesetting Concrete Mathematics'',
1410 {\sl \TUB\/} {\bf10} (1989), no.~1, 31--36; erratum,
1411 {\sl \TUB\/} {\bf10} (1989), no.~3, 342.
1412
1413 \bibitem [DLV89] Dimitri Vulis, ``Notes on Russian \TeX'',
1414 {\sl \TUB\/} {\bf10} (1989), no.~3, 332--36.
1415
1416 \bibitem [DRS86] David R Siegel, {\sl The Euler Project at Stanford},
1417 Computer Science Department, Stanford University, 1985.
1418
1419 \bibitem [GKP88] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik,
1420 {\sl Concrete Mathematics}, \AW{} Publishing Co.,
1421 Reading, MA, 1988.
1422
1423 \bibitem[GMS94] {\sl The \LaTeX{} companion}, Michel Goossens, Frank
1424 Mittelbach, and Alexander Samarin, \AW{} Publishing Company,
1425 Reading, MA, 1994. Chapter~8 describing AMS-\LaTeX{} is obsolete;
1426 a replacement chapter is available in PDF form from
1427 |http://www.ctan.org/tex-archive/info/companion-rev/ch8.pdf|.
1428
1429 \bibitem[L94] {\sl \LaTeX: A document preparation system}, Second edition,
1430 Leslie Lamport, \AW{} Publishing Company, Reading, MA, 1994.
1431
1432 \bibitem[LFG] ``\LaTeX{}2e font selection'', \fn{fntguide.tex} in the
1433 \LaTeX{} distribution.
1434
1435 \bibitem [MDS86] M. D. Spivak, \JoT, \AMS, Providence, RI, 1986.
1436
1437 \bibitem [MDS90] \bysame \JoT, $2^{\rm nd}$ (revised) edition,
1438 \AMS, Providence, RI, 1990.
1439
1440 \endReferences
1441
1442
1443 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1444 \begingroup \def\bye{\par\endinput}
1445 \input amsfndoc.ins
1446 \endgroup
1447
1448 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1449 \appendix{D}{Font charts}
1450 \begingroup \def\bye{\par\endinput}
1451 \input amsfndoc.fnt
1452 \endgroup
1453
1454 \bye