home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / dvips583.zip / contrib.zip / dvips / contrib / psfntmac / ps_plain.tex < prev   
Text File  |  1998-11-03  |  44KB  |  1,236 lines

  1. % This is the plain TeX format that's described in The TeXbook.
  2. % N.B.: A version number is defined at the very end of this file;
  3. %       please change that number whenever the file is modified!
  4. % And don't modify the file under any circumstances.
  5. % Modified for Postcript built-in fonts, 29 Apr 87,
  6. %   John Robinson (jr@bbn.com), version 1.6PS
  7. % Modifications extended to version 2.3 by Larry Denenberg (larry@bbn.com)
  8. % 5 Apr 88, and then to version 3.0 on 13 Feb 91.
  9. % PS font names changed to use Karl Berry's names like dvips does,
  10. %  Stephen Gildea, Sep 92.
  11.  
  12. \catcode`\{=1 % left brace is begin-group character
  13. \catcode`\}=2 % right brace is end-group character
  14. \catcode`\$=3 % dollar sign is math shift
  15. \catcode`\&=4 % ampersand is alignment tab
  16. \catcode`\#=6 % hash mark is macro parameter character
  17. \catcode`\^=7 \catcode`\^^K=7 % circumflex and uparrow are for superscripts
  18. \catcode`\_=8 \catcode`\^^A=8 % underline and downarrow are for subscripts
  19. \catcode`\^^I=10 % ascii tab is a blank space
  20. \chardef\active=13 \catcode`\~=\active % tilde is active
  21. \catcode`\^^L=\active \outer\def^^L{\par} % ascii form-feed is "\outer\par"
  22.  
  23. \message{Preloading the plain format: codes,}
  24.  
  25. % We had to define the \catcodes right away, before the message line,
  26. % since \message uses the { and } characters.
  27. % When INITEX (the TeX initializer) starts up,
  28. % it has defined the following \catcode values:
  29. % \catcode`\^^@=9 % ascii null is ignored
  30. % \catcode`\^^M=5 % ascii return is end-line
  31. % \catcode`\\=0 % backslash is TeX escape character
  32. % \catcode`\%=14 % percent sign is comment character
  33. % \catcode`\ =10 % ascii space is blank space
  34. % \catcode`\^^?=15 % ascii delete is invalid
  35. % \catcode`\A=11 ... \catcode`\Z=11 % uppercase letters
  36. % \catcode`\a=11 ... \catcode`\z=11 % lowercase letters
  37. % all others are type 12 (other)
  38.  
  39. % Here is a list of the characters that have been specially catcoded:
  40. \def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
  41.   \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~}
  42. % (not counting ascii null, tab, linefeed, formfeed, return, delete)
  43. % Each symbol in the list is preceded by \do, which can be defined
  44. % if you want to do something to every item in the list.
  45.  
  46. % We make @ signs act like letters, temporarily, to avoid conflict
  47. % between user names and internal control sequences of plain format.
  48. \catcode`@=11
  49.  
  50. % INITEX sets up \mathcode x=x, for x=0..127, except that
  51. % \mathcode x=x+"7100, for x = `A to `Z and `a to `z;
  52. % \mathcode x=x+"7000, for x = `0 to `9.
  53. % The following changes define internal codes as recommended
  54. % in Appendix C of The TeXbook:
  55. \mathcode`\^^@="2201 % \cdot
  56. \mathcode`\^^A="3223 % \downarrow
  57. \mathcode`\^^B="010B % \alpha
  58. \mathcode`\^^C="010C % \beta
  59. \mathcode`\^^D="225E % \land
  60. \mathcode`\^^E="023A % \lnot
  61. \mathcode`\^^F="3232 % \in
  62. \mathcode`\^^G="0119 % \pi
  63. \mathcode`\^^H="0115 % \lambda
  64. \mathcode`\^^I="010D % \gamma
  65. \mathcode`\^^J="010E % \delta
  66. \mathcode`\^^K="3222 % \uparrow
  67. \mathcode`\^^L="2206 % \pm
  68. \mathcode`\^^M="2208 % \oplus
  69. \mathcode`\^^N="0231 % \infty
  70. \mathcode`\^^O="0140 % \partial
  71. \mathcode`\^^P="321A % \subset
  72. \mathcode`\^^Q="321B % \supset
  73. \mathcode`\^^R="225C % \cap
  74. \mathcode`\^^S="225B % \cup
  75. \mathcode`\^^T="0238 % \forall
  76. \mathcode`\^^U="0239 % \exists
  77. \mathcode`\^^V="220A % \otimes
  78. \mathcode`\^^W="3224 % \leftrightarrow
  79. \mathcode`\^^X="3220 % \leftarrow
  80. \mathcode`\^^Y="3221 % \rightarrow
  81. \mathcode`\^^Z="8000 % \ne
  82. \mathcode`\^^[="2205 % \diamond
  83. \mathcode`\^^\="3214 % \le
  84. \mathcode`\^^]="3215 % \ge
  85. \mathcode`\^^^="3211 % \equiv
  86. \mathcode`\^^_="225F % \lor
  87. \mathcode`\ ="8000 % \space
  88. \mathcode`\!="5021
  89. \mathcode`\'="8000 % ^\prime
  90. \mathcode`\(="4028
  91. \mathcode`\)="5029
  92. \mathcode`\*="2203 % \ast
  93. \mathcode`\+="202B
  94. \mathcode`\,="613B
  95. \mathcode`\-="2200
  96. \mathcode`\.="013A
  97. \mathcode`\/="013D
  98. \mathcode`\:="303A
  99. \mathcode`\;="603B
  100. \mathcode`\<="313C
  101. \mathcode`\=="303D
  102. \mathcode`\>="313E
  103. \mathcode`\?="503F
  104. \mathcode`\[="405B
  105. \mathcode`\\="026E % \backslash
  106. \mathcode`\]="505D
  107. \mathcode`\_="8000 % \_
  108. \mathcode`\{="4266
  109. \mathcode`\|="026A
  110. \mathcode`\}="5267
  111. \mathcode`\^^?="1273 % \smallint
  112.  
  113. % INITEX sets \uccode`x=`X and \uccode `X=`X for all letters x,
  114. % and \lccode`x=`x, \lccode`X=`x; all other values are zero.
  115. % No changes to those tables are needed in plain TeX format.
  116.  
  117. % INITEX sets \sfcode x=1000 for all x, except that \sfcode`X=999
  118. % for uppercase letters. The following changes are needed:
  119. \sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0
  120. % The \nonfrenchspacing macro will make further changes to \sfcode values.
  121.  
  122. % Finally, INITEX sets all \delcode values to -1, except \delcode`.=0
  123. \delcode`\(="028300
  124. \delcode`\)="029301
  125. \delcode`\[="05B302
  126. \delcode`\]="05D303
  127. \delcode`\<="26830A
  128. \delcode`\>="26930B
  129. \delcode`\/="02F30E
  130. \delcode`\|="26A30C
  131. \delcode`\\="26E30F
  132. % N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!
  133.  
  134. % To make the plain macros more efficient in time and space,
  135. % several constant values are declared here as control sequences.
  136. % If they were changed, anything could happen; so they are private symbols.
  137. \chardef\@ne=1
  138. \chardef\tw@=2
  139. \chardef\thr@@=3
  140. \chardef\sixt@@n=16
  141. \chardef\@cclv=255
  142. \mathchardef\@cclvi=256
  143. \mathchardef\@m=1000
  144. \mathchardef\@M=10000
  145. \mathchardef\@MM=20000
  146.  
  147. % Allocation of registers
  148.  
  149. % Here are macros for the automatic allocation of \count, \box, \dimen,
  150. % \skip, \muskip, and \toks registers, as well as \read and \write
  151. % stream numbers, \fam codes, \language codes, and \insert numbers.
  152.  
  153. \message{registers,}
  154.  
  155. % When a register is used only temporarily, it need not be allocated;
  156. % grouping can be used, making the value previously in the register return
  157. % after the close of the group.  The main use of these macros is for
  158. % registers that are defined by one macro and used by others, possibly at
  159. % different nesting levels.  All such registers should be defined through
  160. % these macros; otherwise conflicts may occur, especially when two or more
  161. % more macro packages are being used at once.
  162.  
  163. % The following counters are reserved:
  164. %   0 to 9  page numbering
  165. %       10  count allocation
  166. %       11  dimen allocation
  167. %       12  skip allocation
  168. %       13  muskip allocation
  169. %       14  box allocation
  170. %       15  toks allocation
  171. %       16  read file allocation
  172. %       17  write file allocation
  173. %       18  math family allocation
  174. %       19  language allocation
  175. %       20  insert allocation
  176. %       21  the most recently allocated number
  177. %       22  constant -1
  178. % New counters are allocated starting with 23, 24, etc.  Other registers are
  179. % allocated starting with 10.  This leaves 0 through 9 for the user to play
  180. % with safely, except that counts 0 to 9 are considered to be the page and
  181. % subpage numbers (since they are displayed during output). In this scheme,
  182. % \count 10 always contains the number of the highest-numbered counter that
  183. % has been allocated, \count 14 the highest-numbered box, etc.
  184. % Inserts are given numbers 254, 253, etc., since they require a \count,
  185. % \dimen, \skip, and \box all with the same number; \count 19 contains the
  186. % lowest-numbered insert that has been allocated. Of course, \box255 is
  187. % reserved for \output; \count255, \dimen255, and \skip255 can be used freely.
  188.  
  189. % It is recommended that macro designers always use
  190. % \global assignments with respect to registers numbered 1, 3, 5, 7, 9, and
  191. % always non-\global assignments with respect to registers 0, 2, 4, 6, 8, 255.
  192. % This will prevent ``save stack buildup'' that might otherwise occur.
  193.  
  194. \count10=22 % allocates \count registers 23, 24, ...
  195. \count11=9 % allocates \dimen registers 10, 11, ...
  196. \count12=9 % allocates \skip registers 10, 11, ...
  197. \count13=9 % allocates \muskip registers 10, 11, ...
  198. \count14=9 % allocates \box registers 10, 11, ...
  199. \count15=9 % allocates \toks registers 10, 11, ...
  200. \count16=-1 % allocates input streams 0, 1, ...
  201. \count17=-1 % allocates output streams 0, 1, ...
  202. \count18=3 % allocates math families 4, 5, ...
  203. \count19=0 % allocates \language codes 1, 2, ...
  204. \count20=255 % allocates insertions 254, 253, ...
  205. \countdef\insc@unt=20 % the insertion counter
  206. \countdef\allocationnumber=21 % the most recent allocation
  207. \countdef\m@ne=22 \m@ne=-1 % a handy constant
  208. \def\wlog{\immediate\write\m@ne} % write on log file (only)
  209.  
  210. % Here are abbreviations for the names of scratch registers
  211. % that don't need to be allocated.
  212.  
  213. \countdef\count@=255
  214. \dimendef\dimen@=0
  215. \dimendef\dimen@i=1 % global only
  216. \dimendef\dimen@ii=2
  217. \skipdef\skip@=0
  218. \toksdef\toks@=0
  219.  
  220. % Now, we define \newcount, \newbox, etc. so that you can say \newcount\foo
  221. % and \foo will be defined (with \countdef) to be the next counter.
  222. % To find out which counter \foo is, you can look at \allocationnumber.
  223. % Since there's no \boxdef command, \chardef is used to define a \newbox,
  224. % \newinsert, \newfam, and so on.
  225.  
  226. \outer\def\newcount{\alloc@0\count\countdef\insc@unt}
  227. \outer\def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
  228. \outer\def\newskip{\alloc@2\skip\skipdef\insc@unt}
  229. \outer\def\newmuskip{\alloc@3\muskip\muskipdef\@cclvi}
  230. \outer\def\newbox{\alloc@4\box\chardef\insc@unt}
  231. \let\newtoks=\relax % we do this to allow plain.tex to be read in twice
  232. \outer\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}}
  233. \outer\def\newtoks{\alloc@5\toks\toksdef\@cclvi}
  234. \outer\def\newread{\alloc@6\read\chardef\sixt@@n}
  235. \outer\def\newwrite{\alloc@7\write\chardef\sixt@@n}
  236. \outer\def\newfam{\alloc@8\fam\chardef\sixt@@n}
  237. \outer\def\newlanguage{\alloc@9\language\chardef\@cclvi}
  238. \def\alloc@#1#2#3#4#5{\global\advance\count1#1by\@ne
  239.   \ch@ck#1#4#2% make sure there's still room
  240.   \allocationnumber=\count1#1%
  241.   \global#3#5=\allocationnumber
  242.   \wlog{\string#5=\string#2\the\allocationnumber}}
  243. \outer\def\newinsert#1{\global\advance\insc@unt by\m@ne
  244.   \ch@ck0\insc@unt\count
  245.   \ch@ck1\insc@unt\dimen
  246.   \ch@ck2\insc@unt\skip
  247.   \ch@ck4\insc@unt\box
  248.   \allocationnumber=\insc@unt
  249.   \global\chardef#1=\allocationnumber
  250.   \wlog{\string#1=\string\insert\the\allocationnumber}}
  251. \def\ch@ck#1#2#3{\ifnum\count1#1<#2%
  252.   \else\errmessage{No room for a new #3}\fi}
  253.  
  254. % Here are some examples of allocation.
  255. \newdimen\maxdimen \maxdimen=16383.99999pt % the largest legal <dimen>
  256. \newskip\hideskip \hideskip=-1000pt plus 1fill % negative but can grow
  257. \newskip\centering \centering=0pt plus 1000pt minus 1000pt
  258. \newdimen\p@ \p@=1pt % this saves macro space and time
  259. \newdimen\z@ \z@=0pt % can be used both for 0pt and 0
  260. \newskip\z@skip \z@skip=0pt plus0pt minus0pt
  261. \newbox\voidb@x % permanently void box register
  262.  
  263. % And here's a different sort of allocation:
  264. % For example, \newif\iffoo creates \footrue, \foofalse to go with \iffoo.
  265. \outer\def\newif#1{\count@\escapechar \escapechar\m@ne
  266.   \expandafter\expandafter\expandafter
  267.    \edef\@if#1{true}{\let\noexpand#1=\noexpand\iftrue}%
  268.   \expandafter\expandafter\expandafter
  269.    \edef\@if#1{false}{\let\noexpand#1=\noexpand\iffalse}%
  270.   \@if#1{false}\escapechar\count@} % the condition starts out false
  271. \def\@if#1#2{\csname\expandafter\if@\string#1#2\endcsname}
  272. {\uccode`1=`i \uccode`2=`f \uppercase{\gdef\if@12{}}} % `if' is required
  273.  
  274. % Assign initial values to TeX's parameters
  275.  
  276. \message{parameters,}
  277.  
  278. % All of TeX's numeric parameters are listed here,
  279. % but the code is commented out if no special value needs to be set.
  280. % INITEX makes all parameters zero except where noted.
  281.  
  282. \pretolerance=100
  283. \tolerance=200 % INITEX sets this to 10000
  284. \hbadness=1000
  285. \vbadness=1000
  286. \linepenalty=10
  287. \hyphenpenalty=50
  288. \exhyphenpenalty=50
  289. \binoppenalty=700
  290. \relpenalty=500
  291. \clubpenalty=150
  292. \widowpenalty=150
  293. \displaywidowpenalty=50
  294. \brokenpenalty=100
  295. \predisplaypenalty=10000
  296. % \postdisplaypenalty=0
  297. % \interlinepenalty=0
  298. % \floatingpenalty=0, set during \insert
  299. % \outputpenalty=0, set before TeX enters \output
  300. \doublehyphendemerits=10000
  301. \finalhyphendemerits=5000
  302. \adjdemerits=10000
  303. % \looseness=0, cleared by TeX after each paragraph
  304. % \pausing=0
  305. % \holdinginserts=0
  306. % \tracingonline=0
  307. % \tracingmacros=0
  308. % \tracingstats=0
  309. % \tracingparagraphs=0
  310. % \tracingpages=0
  311. % \tracingoutput=0
  312. \tracinglostchars=1
  313. % \tracingcommands=0
  314. % \tracingrestores=0
  315. % \language=0
  316. \uchyph=1
  317. % \lefthyphenmin=2 \righthyphenmin=3 set below
  318. % \globaldefs=0
  319. % \maxdeadcycles=25 % INITEX does this
  320. % \hangafter=1 % INITEX does this, also TeX after each paragraph
  321. % \fam=0
  322. % \mag=1000 % INITEX does this
  323. % \escapechar=`\\ % INITEX does this
  324. \defaulthyphenchar=`\-
  325. \defaultskewchar=-1
  326. % \endlinechar=`\^^M % INITEX does this
  327. \newlinechar=-1
  328. \delimiterfactor=901
  329. % \time=now % TeX does this at beginning of job
  330. % \day=now % TeX does this at beginning of job
  331. % \month=now % TeX does this at beginning of job
  332. % \year=now % TeX does this at beginning of job
  333. \showboxbreadth=5
  334. \showboxdepth=3
  335. \errorcontextlines=5
  336.  
  337. \hfuzz=0.1pt
  338. \vfuzz=0.1pt
  339. \overfullrule=5pt
  340. \hsize=6.5in
  341. \vsize=8.9in
  342. \maxdepth=4pt
  343. \splitmaxdepth=\maxdimen
  344. \boxmaxdepth=\maxdimen
  345. % \lineskiplimit=0pt, changed by \normalbaselines
  346. \delimitershortfall=5pt
  347. \nulldelimiterspace=1.2pt
  348. \scriptspace=0.5pt
  349. % \mathsurround=0pt
  350. % \predisplaysize=0pt, set before TeX enters $$
  351. % \displaywidth=0pt, set before TeX enters $$
  352. % \displayindent=0pt, set before TeX enters $$
  353. \parindent=20pt
  354. % \hangindent=0pt, zeroed by TeX after each paragraph
  355. % \hoffset=0pt
  356. % \voffset=0pt
  357.  
  358. % \baselineskip=0pt, changed by \normalbaselines
  359. % \lineskip=0pt, changed by \normalbaselines
  360. \parskip=0pt plus 1pt
  361. \abovedisplayskip=12pt plus 3pt minus 9pt
  362. \abovedisplayshortskip=0pt plus 3pt
  363. \belowdisplayskip=12pt plus 3pt minus 9pt
  364. \belowdisplayshortskip=7pt plus 3pt minus 4pt
  365. % \leftskip=0pt
  366. % \rightskip=0pt
  367. \topskip=10pt
  368. \splittopskip=10pt
  369. % \tabskip=0pt
  370. % \spaceskip=0pt
  371. % \xspaceskip=0pt
  372. \parfillskip=0pt plus 1fil
  373.  
  374. \thinmuskip=3mu
  375. \medmuskip=4mu plus 2mu minus 4mu
  376. \thickmuskip=5mu plus 5mu
  377.  
  378. % We also define special registers that function like parameters:
  379. \newskip\smallskipamount \smallskipamount=3pt plus 1pt minus 1pt
  380. \newskip\medskipamount \medskipamount=6pt plus 2pt minus 2pt
  381. \newskip\bigskipamount \bigskipamount=12pt plus 4pt minus 4pt
  382. \newskip\normalbaselineskip \normalbaselineskip=12pt
  383. \newskip\normallineskip \normallineskip=1pt
  384. \newdimen\normallineskiplimit \normallineskiplimit=0pt
  385. \newdimen\jot \jot=3pt
  386. \newcount\interdisplaylinepenalty \interdisplaylinepenalty=100
  387. \newcount\interfootnotelinepenalty \interfootnotelinepenalty=100
  388.  
  389. % Definitions for preloaded fonts
  390.  
  391. \def\magstephalf{1095 }
  392. \def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax}
  393.  
  394. % Fonts assigned to \preloaded are not part of "plain TeX",
  395. % but they are preloaded so that other format packages can use them.
  396. % For example, if another set of macros says "\font\ninerm=cmr9",
  397. % TeX will not have to reload the font metric information for cmr9.
  398.  
  399. \message{fonts,}
  400.  
  401. \font\tenrm=ptmr % roman text
  402. \font\preloaded=ptmr at 9pt
  403. \font\preloaded=ptmr at 8pt
  404. \font\sevenrm=ptmr at 7pt
  405. \font\preloaded=ptmr at 6pt
  406. \font\fiverm=ptmr at 5pt
  407.  
  408. \font\teni=cmmi10 % math italic
  409. \font\preloaded=cmmi9
  410. \font\preloaded=cmmi8
  411. \font\seveni=cmmi7
  412. \font\preloaded=cmmi6
  413. \font\fivei=cmmi5
  414.  
  415. \font\tensy=cmsy10 % math symbols
  416. \font\preloaded=cmsy9
  417. \font\preloaded=cmsy8
  418. \font\sevensy=cmsy7
  419. \font\preloaded=cmsy6
  420. \font\fivesy=cmsy5
  421.  
  422. \font\tenex=cmex10 % math extension
  423.  
  424. \font\preloaded=phvr % sans serif
  425. \font\preloaded=phvr at 8pt
  426.  
  427. \font\preloaded=phvro % sans serif italic
  428. \font\preloaded=phvro at 8pt
  429.  
  430. \font\tenbf=ptmb % boldface extended
  431. \font\preloaded=ptmb at 9pt
  432. \font\preloaded=ptmb at 8pt
  433. \font\sevenbf=ptmb at 7pt
  434. \font\preloaded=ptmb at 6pt
  435. \font\fivebf=ptmb at 5pt
  436.  
  437. \font\tentt=pcrb % typewriter
  438. \font\preloaded=pcrb at 9pt
  439. \font\preloaded=pcrb at 8pt
  440.  
  441. \font\preloaded=pcrbo % slanted typewriter
  442.  
  443. \font\tensl=ptmro % slanted roman
  444. \font\preloaded=ptmro at 9pt
  445. \font\preloaded=ptmro at 8pt
  446.  
  447. \font\tenit=ptmri % text italic
  448. \font\preloaded=ptmri at 9pt
  449. \font\preloaded=ptmri at 8pt
  450. \font\preloaded=ptmri at 7pt
  451.  
  452. \message{more fonts,}
  453. \font\preloaded=cmu10 % unslanted text italic
  454.  
  455. \font\preloaded=cmmib10 % bold math italic
  456. \font\preloaded=cmbsy10 % bold math symbols
  457.  
  458. \font\preloaded=ptmrc % caps and small caps
  459.  
  460. \font\preloaded=phvb % sans serif bold extended
  461.  
  462. \font\preloaded=cmdunh10 % Dunhill style
  463.  
  464. \font\preloaded=ptmr at 14.5pt % for titles
  465. \font\preloaded=pcrb at 14pt
  466. \font\preloaded=phvb at 14pt
  467.  
  468. \font\preloaded=manfnt % METAFONT logo and dragon curve and special symbols
  469.  
  470. % Additional \preloaded fonts can be specified here.
  471. % (And those that were \preloaded above can be eliminated.)
  472.  
  473. \let\preloaded=\undefined % preloaded fonts must be declared anew later.
  474.  
  475. \skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177
  476. \skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60
  477.  
  478. \textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
  479. \def\rm{\fam\z@\tenrm}
  480. \textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
  481. \def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\teni}
  482. \textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
  483. \def\cal{\fam\tw@}
  484. \textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
  485. \newfam\itfam \def\it{\fam\itfam\tenit} % \it is family 4
  486. \textfont\itfam=\tenit
  487. \newfam\slfam \def\sl{\fam\slfam\tensl} % \sl is family 5
  488. \textfont\slfam=\tensl
  489. \newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6
  490. \textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
  491. \scriptscriptfont\bffam=\fivebf
  492. \newfam\ttfam \def\tt{\fam\ttfam\tentt} % \tt is family 7
  493. \textfont\ttfam=\tentt
  494.  
  495. % Macros for setting ordinary text
  496. \message{macros,}
  497.  
  498. \def\frenchspacing{\sfcode`\.\@m \sfcode`\?\@m \sfcode`\!\@m
  499.   \sfcode`\:\@m \sfcode`\;\@m \sfcode`\,\@m}
  500. \def\nonfrenchspacing{\sfcode`\.3000\sfcode`\?3000\sfcode`\!3000%
  501.   \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 }
  502.  
  503. \def\normalbaselines{\lineskip\normallineskip
  504.   \baselineskip\normalbaselineskip \lineskiplimit\normallineskiplimit}
  505.  
  506. \def\^^M{\ } % control <return> = control <space>
  507. \def\^^I{\ } % same for <tab>
  508.  
  509. \def\lq{`} \def\rq{'}
  510. \def\lbrack{[} \def\rbrack{]}
  511.  
  512. \let\endgraf=\par \let\endline=\cr
  513.  
  514. \def\space{ }
  515. \def\empty{}
  516. \def\null{\hbox{}}
  517.  
  518. \let\bgroup={ \let\egroup=}
  519.  
  520. % In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}'
  521. % since this allows, for example, `\let\par=\cr \obeylines \halign{...'
  522. {\catcode`\^^M=\active % these lines must end with %
  523.   \gdef\obeylines{\catcode`\^^M\active \let^^M\par}%
  524.   \global\let^^M\par} % this is in case ^^M appears in a \write
  525. \def\obeyspaces{\catcode`\ \active}
  526. {\obeyspaces\global\let =\space}
  527.  
  528. \def\loop#1\repeat{\def\body{#1}\iterate}
  529. \def\iterate{\body \let\next\iterate \else\let\next\relax\fi \next}
  530. \let\repeat=\fi % this makes \loop...\if...\repeat skippable
  531.  
  532. \def\thinspace{\kern .16667em }
  533. \def\negthinspace{\kern-.16667em }
  534. \def\enspace{\kern.5em }
  535.  
  536. \def\enskip{\hskip.5em\relax}
  537. \def\quad{\hskip1em\relax}
  538. \def\qquad{\hskip2em\relax}
  539.  
  540. \def\smallskip{\vskip\smallskipamount}
  541. \def\medskip{\vskip\medskipamount}
  542. \def\bigskip{\vskip\bigskipamount}
  543.  
  544. \def\nointerlineskip{\prevdepth-1000\p@}
  545. \def\offinterlineskip{\baselineskip-1000\p@
  546.   \lineskip\z@ \lineskiplimit\maxdimen}
  547.  
  548. \def\topglue{\nointerlineskip\vglue-\topskip\vglue} % for top of page
  549. \def\vglue{\afterassignment\vgl@\skip@=}
  550. \def\vgl@{\par \dimen@\prevdepth \hrule height\z@
  551.   \nobreak\vskip\skip@ \prevdepth\dimen@}
  552. \def\hglue{\afterassignment\hgl@\skip@=}
  553. \def\hgl@{\leavevmode \count@\spacefactor \vrule width\z@
  554.   \nobreak\hskip\skip@ \spacefactor\count@}
  555.  
  556. \def~{\penalty\@M \ } % tie
  557. \def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-'
  558.  
  559. \def\break{\penalty-\@M}
  560. \def\nobreak{\penalty \@M}
  561. \def\allowbreak{\penalty \z@}
  562.  
  563. \def\filbreak{\par\vfil\penalty-200\vfilneg}
  564. \def\goodbreak{\par\penalty-500 }
  565. \def\eject{\par\break}
  566. \def\supereject{\par\penalty-\@MM}
  567.  
  568. \def\removelastskip{\ifdim\lastskip=\z@\else\vskip-\lastskip\fi}
  569. \def\smallbreak{\par\ifdim\lastskip<\smallskipamount
  570.   \removelastskip\penalty-50\smallskip\fi}
  571. \def\medbreak{\par\ifdim\lastskip<\medskipamount
  572.   \removelastskip\penalty-100\medskip\fi}
  573. \def\bigbreak{\par\ifdim\lastskip<\bigskipamount
  574.   \removelastskip\penalty-200\bigskip\fi}
  575.  
  576. \def\line{\hbox to\hsize}
  577. \def\leftline#1{\line{#1\hss}}
  578. \def\rightline#1{\line{\hss#1}}
  579. \def\centerline#1{\line{\hss#1\hss}}
  580.  
  581. \def\rlap#1{\hbox to\z@{#1\hss}}
  582. \def\llap#1{\hbox to\z@{\hss#1}}
  583.  
  584. \def\m@th{\mathsurround=\z@}
  585. \def\underbar#1{$\setbox\z@\hbox{#1}\dp\z@\z@
  586.   \m@th \underline{\box\z@}$}
  587.  
  588. \newbox\strutbox
  589. \setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}
  590. \def\strut{\relax\ifmmode\copy\strutbox\else\unhcopy\strutbox\fi}
  591.  
  592. \def\hidewidth{\hskip\hideskip} % for alignment entries that can stick out
  593. \def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign
  594. \newcount\mscount
  595. \def\multispan#1{\omit \mscount#1
  596.   \loop\ifnum\mscount>\@ne \sp@n\repeat}
  597. \def\sp@n{\span\omit\advance\mscount\m@ne}
  598.  
  599. \newif\ifus@ \newif\if@cr
  600. \newbox\tabs \newbox\tabsyet \newbox\tabsdone
  601.  
  602. \def\cleartabs{\global\setbox\tabsyet\null \setbox\tabs\null}
  603. \def\settabs{\setbox\tabs\null \futurelet\next\sett@b}
  604. \let\+=\relax % in case this file is being read in twice
  605. \def\sett@b{\ifx\next\+\let\next\relax
  606.     \def\next{\afterassignment\s@tt@b\let\next}%
  607.   \else\let\next\s@tcols\fi\next}
  608. \def\s@tt@b{\let\next\relax\us@false\m@ketabbox}
  609. \def\tabalign{\us@true\m@ketabbox} % non-\outer version of \+
  610. \outer\def\+{\tabalign}
  611. \def\s@tcols#1\columns{\count@#1\dimen@\hsize
  612.   \loop\ifnum\count@>\z@ \@nother \repeat}
  613. \def\@nother{\dimen@ii\dimen@ \divide\dimen@ii\count@
  614.   \setbox\tabs\hbox{\hbox to\dimen@ii{}\unhbox\tabs}%
  615.   \advance\dimen@-\dimen@ii \advance\count@\m@ne}
  616.  
  617. \def\m@ketabbox{\begingroup
  618.   \global\setbox\tabsyet\copy\tabs
  619.   \global\setbox\tabsdone\null
  620.   \def\cr{\@crtrue\crcr\egroup\egroup
  621.     \ifus@\unvbox\z@\lastbox\fi\endgroup
  622.     \setbox\tabs\hbox{\unhbox\tabsyet\unhbox\tabsdone}}%
  623.   \setbox\z@\vbox\bgroup\@crfalse
  624.     \ialign\bgroup&\t@bbox##\t@bb@x\crcr}
  625.  
  626. \def\t@bbox{\setbox\z@\hbox\bgroup}
  627. \def\t@bb@x{\if@cr\egroup % now \box\z@ holds the column
  628.   \else\hss\egroup \global\setbox\tabsyet\hbox{\unhbox\tabsyet
  629.       \global\setbox\@ne\lastbox}% now \box\@ne holds its size
  630.     \ifvoid\@ne\global\setbox\@ne\hbox to\wd\z@{}%
  631.     \else\setbox\z@\hbox to\wd\@ne{\unhbox\z@}\fi
  632.     \global\setbox\tabsdone\hbox{\box\@ne\unhbox\tabsdone}\fi
  633.   \box\z@}
  634.  
  635. \def\hang{\hangindent\parindent}
  636. \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
  637. \def\item{\par\hang\textindent}
  638. \def\itemitem{\par\indent \hangindent2\parindent \textindent}
  639. \def\narrower{\advance\leftskip\parindent
  640.   \advance\rightskip\parindent}
  641.  
  642. \outer\def\beginsection#1\par{\vskip\z@ plus.3\vsize\penalty-250
  643.   \vskip\z@ plus-.3\vsize\bigskip\vskip\parskip
  644.   \message{#1}\leftline{\bf#1}\nobreak\smallskip\noindent}
  645. \outer\def\proclaim #1. #2\par{\medbreak
  646.   \noindent{\bf#1.\enspace}{\sl#2\par}%
  647.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  648.  
  649. \def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em\relax}
  650. \def\ttraggedright{\tt\rightskip\z@ plus2em\relax} % for use with \tt only
  651.  
  652. \chardef\%=`\%
  653. \chardef\&=`\&
  654. \chardef\#=`\#
  655. \chardef\$=`\$
  656. \chardef\ss="19
  657. \chardef\ae="1A
  658. \chardef\oe="1B
  659. \chardef\o="1C
  660. \chardef\AE="1D
  661. \chardef\OE="1E
  662. \chardef\O="1F
  663. \chardef\i="10 \chardef\j="11 % dotless letters
  664. \def\aa{\accent23a}
  665. \def\l{\char32l}
  666. \def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}
  667.  
  668. \def\leavevmode{\unhbox\voidb@x} % begins a paragraph, if necessary
  669. \def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}}
  670. \def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
  671.   \rlap{\raise.67\dimen@\hbox{\char'27}}A}
  672.  
  673. \def\mathhexbox#1#2#3{\leavevmode
  674.   \hbox{$\m@th \mathchar"#1#2#3$}}
  675. \def\dag{\mathhexbox279}
  676. \def\ddag{\mathhexbox27A}
  677. \def\S{\mathhexbox278}
  678. \def\P{\mathhexbox27B}
  679.  
  680. \def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
  681.   \ialign{##\crcr#1\crcr}}} % put characters over each other
  682. \def\ooalign{\lineskiplimit-\maxdimen \oalign}
  683. \def\d#1{\oalign{#1\crcr\hidewidth.\hidewidth}}
  684. \def\b#1{\oalign{#1\crcr\hidewidth
  685.     \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
  686. \def\c#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
  687.   \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox\z@}}\fi}
  688. \def\copyright{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\mathhexbox20D}}}
  689.  
  690. \def\dots{\relax\ifmmode\ldots\else$\m@th\ldots\,$\fi}
  691. \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
  692.  
  693. \def\`#1{{\accent18 #1}}
  694. \def\'#1{{\accent19 #1}}
  695. \def\v#1{{\accent20 #1}} \let\^^_=\v
  696. \def\u#1{{\accent21 #1}} \let\^^S=\u
  697. \def\=#1{{\accent22 #1}}
  698. \def\^#1{{\accent94 #1}} \let\^^D=\^
  699. \def\.#1{{\accent95 #1}}
  700. \def\H#1{{\accent"7D #1}}
  701. \def\~#1{{\accent"7E #1}}
  702. \def\"#1{{\accent"7F #1}}
  703. \def\t#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}}
  704.  
  705. \def\hrulefill{\leaders\hrule\hfill}
  706. \def\dotfill{\cleaders\hbox{$\m@th \mkern1.5mu.\mkern1.5mu$}\hfill}
  707. \def\rightarrowfill{$\m@th\mathord-\mkern-6mu%
  708.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  709.   \mkern-6mu\mathord\rightarrow$}
  710. \def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-6mu%
  711.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  712.   \mkern-6mu\mathord-$}
  713. \mathchardef\braceld="37A \mathchardef\bracerd="37B
  714. \mathchardef\bracelu="37C \mathchardef\braceru="37D
  715. \def\downbracefill{$\m@th\braceld\leaders\vrule\hfill\braceru
  716.   \bracelu\leaders\vrule\hfill\bracerd$}
  717. \def\upbracefill{$\m@th\bracelu\leaders\vrule\hfill\bracerd
  718.   \braceld\leaders\vrule\hfill\braceru$}
  719.  
  720. \outer\def\bye{\par\vfill\supereject\end}
  721.  
  722. % Macros for math setting
  723. \message{math definitions,}
  724.  
  725. \let\sp=^ \let\sb=_
  726. \def\,{\mskip\thinmuskip}
  727. \def\>{\mskip\medmuskip}
  728. \def\;{\mskip\thickmuskip}
  729. \def\!{\mskip-\thinmuskip}
  730. \def\*{\discretionary{\thinspace\the\textfont2\char2}{}{}}
  731. {\catcode`\'=\active \gdef'{^\bgroup\prim@s}}
  732. \def\prim@s{\prime\futurelet\next\pr@m@s}
  733. \def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
  734.   \else\let\nxt\egroup\fi\fi \nxt}
  735. \def\pr@@@s#1{\prim@s} \def\pr@@@t#1#2{#2\egroup}
  736. {\catcode`\^^Z=\active \gdef^^Z{\not=}} % ^^Z is like \ne in math
  737.  
  738. {\catcode`\_=\active \global\let_=\_} % _ in math is either subscript or \_
  739.  
  740. \mathchardef\alpha="010B
  741. \mathchardef\beta="010C
  742. \mathchardef\gamma="010D
  743. \mathchardef\delta="010E
  744. \mathchardef\epsilon="010F
  745. \mathchardef\zeta="0110
  746. \mathchardef\eta="0111
  747. \mathchardef\theta="0112
  748. \mathchardef\iota="0113
  749. \mathchardef\kappa="0114
  750. \mathchardef\lambda="0115
  751. \mathchardef\mu="0116
  752. \mathchardef\nu="0117
  753. \mathchardef\xi="0118
  754. \mathchardef\pi="0119
  755. \mathchardef\rho="011A
  756. \mathchardef\sigma="011B
  757. \mathchardef\tau="011C
  758. \mathchardef\upsilon="011D
  759. \mathchardef\phi="011E
  760. \mathchardef\chi="011F
  761. \mathchardef\psi="0120
  762. \mathchardef\omega="0121
  763. \mathchardef\varepsilon="0122
  764. \mathchardef\vartheta="0123
  765. \mathchardef\varpi="0124
  766. \mathchardef\varrho="0125
  767. \mathchardef\varsigma="0126
  768. \mathchardef\varphi="0127
  769. \mathchardef\Gamma="7000
  770. \mathchardef\Delta="7001
  771. \mathchardef\Theta="7002
  772. \mathchardef\Lambda="7003
  773. \mathchardef\Xi="7004
  774. \mathchardef\Pi="7005
  775. \mathchardef\Sigma="7006
  776. \mathchardef\Upsilon="7007
  777. \mathchardef\Phi="7008
  778. \mathchardef\Psi="7009
  779. \mathchardef\Omega="700A
  780.  
  781. \mathchardef\aleph="0240
  782. \def\hbar{{\mathchar'26\mkern-9muh}}
  783. \mathchardef\imath="017B
  784. \mathchardef\jmath="017C
  785. \mathchardef\ell="0160
  786. \mathchardef\wp="017D
  787. \mathchardef\Re="023C
  788. \mathchardef\Im="023D
  789. \mathchardef\partial="0140
  790. \mathchardef\infty="0231
  791. \mathchardef\prime="0230
  792. \mathchardef\emptyset="023B
  793. \mathchardef\nabla="0272
  794. \def\surd{{\mathchar"1270}}
  795. \mathchardef\top="023E
  796. \mathchardef\bot="023F
  797. \def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
  798.       \not\mathrel{\mkern14mu}\crcr
  799.       \noalign{\nointerlineskip}
  800.       \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
  801. \mathchardef\triangle="0234
  802. \mathchardef\forall="0238
  803. \mathchardef\exists="0239
  804. \mathchardef\neg="023A \let\lnot=\neg
  805. \mathchardef\flat="015B
  806. \mathchardef\natural="015C
  807. \mathchardef\sharp="015D
  808. \mathchardef\clubsuit="027C
  809. \mathchardef\diamondsuit="027D
  810. \mathchardef\heartsuit="027E
  811. \mathchardef\spadesuit="027F
  812.  
  813. \mathchardef\coprod="1360
  814. \mathchardef\bigvee="1357
  815. \mathchardef\bigwedge="1356
  816. \mathchardef\biguplus="1355
  817. \mathchardef\bigcap="1354
  818. \mathchardef\bigcup="1353
  819. \mathchardef\intop="1352 \def\int{\intop\nolimits}
  820. \mathchardef\prod="1351
  821. \mathchardef\sum="1350
  822. \mathchardef\bigotimes="134E
  823. \mathchardef\bigoplus="134C
  824. \mathchardef\bigodot="134A
  825. \mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
  826. \mathchardef\bigsqcup="1346
  827. \mathchardef\smallint="1273
  828.  
  829. \mathchardef\triangleleft="212F
  830. \mathchardef\triangleright="212E
  831. \mathchardef\bigtriangleup="2234
  832. \mathchardef\bigtriangledown="2235
  833. \mathchardef\wedge="225E \let\land=\wedge
  834. \mathchardef\vee="225F \let\lor=\vee
  835. \mathchardef\cap="225C
  836. \mathchardef\cup="225B
  837. \mathchardef\ddagger="227A
  838. \mathchardef\dagger="2279
  839. \mathchardef\sqcap="2275
  840. \mathchardef\sqcup="2274
  841. \mathchardef\uplus="225D
  842. \mathchardef\amalg="2271
  843. \mathchardef\diamond="2205
  844. \mathchardef\bullet="220F
  845. \mathchardef\wr="226F
  846. \mathchardef\div="2204
  847. \mathchardef\odot="220C
  848. \mathchardef\oslash="220B
  849. \mathchardef\otimes="220A
  850. \mathchardef\ominus="2209
  851. \mathchardef\oplus="2208
  852. \mathchardef\mp="2207
  853. \mathchardef\pm="2206
  854. \mathchardef\circ="220E
  855. \mathchardef\bigcirc="220D
  856. \mathchardef\setminus="226E % for set difference A\setminus B
  857. \mathchardef\cdot="2201
  858. \mathchardef\ast="2203
  859. \mathchardef\times="2202
  860. \mathchardef\star="213F
  861.  
  862. \mathchardef\propto="322F
  863. \mathchardef\sqsubseteq="3276
  864. \mathchardef\sqsupseteq="3277
  865. \mathchardef\parallel="326B
  866. \mathchardef\mid="326A
  867. \mathchardef\dashv="3261
  868. \mathchardef\vdash="3260
  869. \mathchardef\nearrow="3225
  870. \mathchardef\searrow="3226
  871. \mathchardef\nwarrow="322D
  872. \mathchardef\swarrow="322E
  873. \mathchardef\Leftrightarrow="322C
  874. \mathchardef\Leftarrow="3228
  875. \mathchardef\Rightarrow="3229
  876. \def\neq{\not=} \let\ne=\neq
  877. \mathchardef\leq="3214 \let\le=\leq
  878. \mathchardef\geq="3215 \let\ge=\geq
  879. \mathchardef\succ="321F
  880. \mathchardef\prec="321E
  881. \mathchardef\approx="3219
  882. \mathchardef\succeq="3217
  883. \mathchardef\preceq="3216
  884. \mathchardef\supset="321B
  885. \mathchardef\subset="321A
  886. \mathchardef\supseteq="3213
  887. \mathchardef\subseteq="3212
  888. \mathchardef\in="3232
  889. \mathchardef\ni="3233 \let\owns=\ni
  890. \mathchardef\gg="321D
  891. \mathchardef\ll="321C
  892. \mathchardef\not="3236
  893. \mathchardef\leftrightarrow="3224
  894. \mathchardef\leftarrow="3220 \let\gets=\leftarrow
  895. \mathchardef\rightarrow="3221 \let\to=\rightarrow
  896. \mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
  897. \mathchardef\sim="3218
  898. \mathchardef\simeq="3227
  899. \mathchardef\perp="323F
  900. \mathchardef\equiv="3211
  901. \mathchardef\asymp="3210
  902. \mathchardef\smile="315E
  903. \mathchardef\frown="315F
  904. \mathchardef\leftharpoonup="3128
  905. \mathchardef\leftharpoondown="3129
  906. \mathchardef\rightharpoonup="312A
  907. \mathchardef\rightharpoondown="312B
  908.  
  909. \def\joinrel{\mathrel{\mkern-3mu}}
  910. \def\relbar{\mathrel{\smash-}} % \smash, because - has the same height as +
  911. \def\Relbar{\mathrel=}
  912. \mathchardef\lhook="312C \def\hookrightarrow{\lhook\joinrel\rightarrow}
  913. \mathchardef\rhook="312D \def\hookleftarrow{\leftarrow\joinrel\rhook}
  914. \def\bowtie{\mathrel\triangleright\joinrel\mathrel\triangleleft}
  915. \def\models{\mathrel|\joinrel=}
  916. \def\Longrightarrow{\Relbar\joinrel\Rightarrow}
  917. \def\longrightarrow{\relbar\joinrel\rightarrow}
  918. \def\longleftarrow{\leftarrow\joinrel\relbar}
  919. \def\Longleftarrow{\Leftarrow\joinrel\Relbar}
  920. \def\longmapsto{\mapstochar\longrightarrow}
  921. \def\longleftrightarrow{\leftarrow\joinrel\rightarrow}
  922. \def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}
  923. \def\iff{\;\Longleftrightarrow\;}
  924.  
  925. \mathchardef\ldotp="613A % ldot as a punctuation mark
  926. \mathchardef\cdotp="6201 % cdot as a punctuation mark
  927. \mathchardef\colon="603A % colon as a punctuation mark
  928. \def\ldots{\mathinner{\ldotp\ldotp\ldotp}}
  929. \def\cdots{\mathinner{\cdotp\cdotp\cdotp}}
  930. \def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
  931.     \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
  932. \def\ddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu
  933.     \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}}
  934.  
  935. \def\acute{\mathaccent"7013 }
  936. \def\grave{\mathaccent"7012 }
  937. \def\ddot{\mathaccent"707F }
  938. \def\tilde{\mathaccent"707E }
  939. \def\bar{\mathaccent"7016 }
  940. \def\breve{\mathaccent"7015 }
  941. \def\check{\mathaccent"7014 }
  942. \def\hat{\mathaccent"705E }
  943. \def\vec{\mathaccent"017E }
  944. \def\dot{\mathaccent"705F }
  945. \def\widetilde{\mathaccent"0365 }
  946. \def\widehat{\mathaccent"0362 }
  947. \def\overrightarrow#1{\vbox{\ialign{##\crcr
  948.       \rightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  949.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  950. \def\overleftarrow#1{\vbox{\ialign{##\crcr
  951.       \leftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  952.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  953. \def\overbrace#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern3\p@}
  954.       \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}
  955.       $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
  956. \def\underbrace#1{\mathop{\vtop{\ialign{##\crcr
  957.       $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern3\p@\nointerlineskip}
  958.       \upbracefill\crcr\noalign{\kern3\p@}}}}\limits}
  959. \def\skew#1#2#3{{#2{#3\mkern#1mu}\mkern-#1mu}{}}
  960.  
  961. \def\lmoustache{\delimiter"4000340 } % top from (, bottom from )
  962. \def\rmoustache{\delimiter"5000341 } % top from ), bottom from (
  963. \def\lgroup{\delimiter"400033A } % extensible ( with sharper tips
  964. \def\rgroup{\delimiter"500033B } % extensible ) with sharper tips
  965. \def\arrowvert{\delimiter"33C000 } % arrow without arrowheads
  966. \def\Arrowvert{\delimiter"33D000 } % double arrow without arrowheads
  967. \def\bracevert{\delimiter"33E000 } % the vertical bar that extends braces
  968. \def\Vert{\delimiter"26B30D } \let\|=\Vert
  969. \def\vert{\delimiter"26A30C }
  970. \def\uparrow{\delimiter"3222378 }
  971. \def\downarrow{\delimiter"3223379 }
  972. \def\updownarrow{\delimiter"326C33F }
  973. \def\Uparrow{\delimiter"322A37E }
  974. \def\Downarrow{\delimiter"322B37F }
  975. \def\Updownarrow{\delimiter"326D377 }
  976. \def\backslash{\delimiter"26E30F } % for double coset G\backslash H
  977. \def\rangle{\delimiter"526930B }
  978. \def\langle{\delimiter"426830A }
  979. \def\rbrace{\delimiter"5267309 } \let\}=\rbrace
  980. \def\lbrace{\delimiter"4266308 } \let\{=\lbrace
  981. \def\rceil{\delimiter"5265307 }
  982. \def\lceil{\delimiter"4264306 }
  983. \def\rfloor{\delimiter"5263305 }
  984. \def\lfloor{\delimiter"4262304 }
  985.  
  986. \def\bigl{\mathopen\big}
  987. \def\bigm{\mathrel\big}
  988. \def\bigr{\mathclose\big}
  989. \def\Bigl{\mathopen\Big}
  990. \def\Bigm{\mathrel\Big}
  991. \def\Bigr{\mathclose\Big}
  992. \def\biggl{\mathopen\bigg}
  993. \def\biggm{\mathrel\bigg}
  994. \def\biggr{\mathclose\bigg}
  995. \def\Biggl{\mathopen\Bigg}
  996. \def\Biggm{\mathrel\Bigg}
  997. \def\Biggr{\mathclose\Bigg}
  998. \def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}}
  999. \def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}}
  1000. \def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}}
  1001. \def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}}
  1002. \def\n@space{\nulldelimiterspace\z@ \m@th}
  1003.  
  1004. \def\choose{\atopwithdelims()}
  1005. \def\brack{\atopwithdelims[]}
  1006. \def\brace{\atopwithdelims\{\}}
  1007.  
  1008. \def\sqrt{\radical"270370 }
  1009.  
  1010. \def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}%
  1011.   {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}}
  1012. \newbox\rootbox
  1013. \def\root#1\of{\setbox\rootbox\hbox{$\m@th\scriptscriptstyle{#1}$}
  1014.   \mathpalette\r@@t}
  1015. \def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\sqrt{#2}$}
  1016.   \dimen@\ht\z@ \advance\dimen@-\dp\z@
  1017.   \mkern5mu\raise.6\dimen@\copy\rootbox \mkern-10mu \box\z@}
  1018. \newif\ifv@ \newif\ifh@
  1019. \def\vphantom{\v@true\h@false\ph@nt}
  1020. \def\hphantom{\v@false\h@true\ph@nt}
  1021. \def\phantom{\v@true\h@true\ph@nt}
  1022. \def\ph@nt{\ifmmode\def\next{\mathpalette\mathph@nt}%
  1023.   \else\let\next\makeph@nt\fi\next}
  1024. \def\makeph@nt#1{\setbox\z@\hbox{#1}\finph@nt}
  1025. \def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt}
  1026. \def\finph@nt{\setbox\tw@\null
  1027.   \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi
  1028.   \ifh@ \wd\tw@\wd\z@\fi \box\tw@}
  1029. \def\mathstrut{\vphantom(}
  1030. \def\smash{\relax % \relax, in case this comes first in \halign
  1031.   \ifmmode\def\next{\mathpalette\mathsm@sh}\else\let\next\makesm@sh
  1032.   \fi\next}
  1033. \def\makesm@sh#1{\setbox\z@\hbox{#1}\finsm@sh}
  1034. \def\mathsm@sh#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh}
  1035. \def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@}
  1036.  
  1037. \def\cong{\mathrel{\mathpalette\@vereq\sim}} % congruence sign
  1038. \def\@vereq#1#2{\lower.5\p@\vbox{\baselineskip\z@skip\lineskip-.5\p@
  1039.     \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
  1040. \def\notin{\mathrel{\mathpalette\c@ncel\in}}
  1041. \def\c@ncel#1#2{\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}}
  1042. \def\rightleftharpoons{\mathrel{\mathpalette\rlh@{}}}
  1043. \def\rlh@#1{\vcenter{\hbox{\ooalign{\raise2pt
  1044.           \hbox{$#1\rightharpoonup$}\crcr
  1045.         $#1\leftharpoondown$}}}}
  1046. \def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}}
  1047. \def\doteq{\buildrel\textstyle.\over=}
  1048.  
  1049. \def\log{\mathop{\rm log}\nolimits}
  1050. \def\lg{\mathop{\rm lg}\nolimits}
  1051. \def\ln{\mathop{\rm ln}\nolimits}
  1052. \def\lim{\mathop{\rm lim}}
  1053. \def\limsup{\mathop{\rm lim\,sup}}
  1054. \def\liminf{\mathop{\rm lim\,inf}}
  1055. \def\sin{\mathop{\rm sin}\nolimits}
  1056. \def\arcsin{\mathop{\rm arcsin}\nolimits}
  1057. \def\sinh{\mathop{\rm sinh}\nolimits}
  1058. \def\cos{\mathop{\rm cos}\nolimits}
  1059. \def\arccos{\mathop{\rm arccos}\nolimits}
  1060. \def\cosh{\mathop{\rm cosh}\nolimits}
  1061. \def\tan{\mathop{\rm tan}\nolimits}
  1062. \def\arctan{\mathop{\rm arctan}\nolimits}
  1063. \def\tanh{\mathop{\rm tanh}\nolimits}
  1064. \def\cot{\mathop{\rm cot}\nolimits}
  1065. \def\coth{\mathop{\rm coth}\nolimits}
  1066. \def\sec{\mathop{\rm sec}\nolimits}
  1067. \def\csc{\mathop{\rm csc}\nolimits}
  1068. \def\max{\mathop{\rm max}}
  1069. \def\min{\mathop{\rm min}}
  1070. \def\sup{\mathop{\rm sup}}
  1071. \def\inf{\mathop{\rm inf}}
  1072. \def\arg{\mathop{\rm arg}\nolimits}
  1073. \def\ker{\mathop{\rm ker}\nolimits}
  1074. \def\dim{\mathop{\rm dim}\nolimits}
  1075. \def\hom{\mathop{\rm hom}\nolimits}
  1076. \def\det{\mathop{\rm det}}
  1077. \def\exp{\mathop{\rm exp}\nolimits}
  1078. \def\Pr{\mathop{\rm Pr}}
  1079. \def\gcd{\mathop{\rm gcd}}
  1080. \def\deg{\mathop{\rm deg}\nolimits}
  1081.  
  1082. \def\bmod{\mskip-\medmuskip\mkern5mu
  1083.   \mathbin{\rm mod}\penalty900\mkern5mu\mskip-\medmuskip}
  1084. \def\pmod#1{\allowbreak\mkern18mu({\rm mod}\,\,#1)}
  1085.  
  1086. \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th
  1087.     \ialign{$##\hfil$&\quad##\hfil\crcr#1\crcr}}\right.}
  1088. \def\matrix#1{\null\,\vcenter{\normalbaselines\m@th
  1089.     \ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr
  1090.       \mathstrut\crcr\noalign{\kern-\baselineskip}
  1091.       #1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,}
  1092. \def\pmatrix#1{\left(\matrix{#1}\right)}
  1093. \newdimen\p@renwd
  1094. \setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left (
  1095. \def\bordermatrix#1{\begingroup \m@th
  1096.   \setbox\z@\vbox{\def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}%
  1097.     \ialign{$##$\hfil\kern2\p@\kern\p@renwd&\thinspace\hfil$##$\hfil
  1098.       &&\quad\hfil$##$\hfil\crcr
  1099.       \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}%
  1100.       #1\crcr\omit\strut\cr}}%
  1101.   \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}%
  1102.   \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}%
  1103.   \setbox\tw@\hbox{$\kern\wd\@ne\kern-\p@renwd\left(\kern-\wd\@ne
  1104.     \global\setbox\@ne\vbox{\box\@ne\kern2\p@}%
  1105.     \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right)$}%
  1106.   \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup}
  1107.  
  1108. \def\openup{\afterassignment\@penup\dimen@=}
  1109. \def\@penup{\advance\lineskip\dimen@
  1110.   \advance\baselineskip\dimen@
  1111.   \advance\lineskiplimit\dimen@}
  1112. \def\eqalign#1{\null\,\vcenter{\openup\jot\m@th
  1113.   \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil
  1114.       \crcr#1\crcr}}\,}
  1115. \newif\ifdt@p
  1116. \def\displ@y{\global\dt@ptrue\openup\jot\m@th
  1117.   \everycr{\noalign{\ifdt@p \global\dt@pfalse
  1118.       \vskip-\lineskiplimit \vskip\normallineskiplimit
  1119.       \else \penalty\interdisplaylinepenalty \fi}}}
  1120. \def\@lign{\tabskip\z@skip\everycr{}} % restore inside \displ@y
  1121. \def\displaylines#1{\displ@y
  1122.   \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr
  1123.     #1\crcr}}
  1124. \def\eqalignno#1{\displ@y \tabskip\centering
  1125.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1126.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1127.     &\llap{$\@lign##$}\tabskip\z@skip\crcr
  1128.     #1\crcr}}
  1129. \def\leqalignno#1{\displ@y \tabskip\centering
  1130.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1131.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1132.     &\kern-\displaywidth\rlap{$\@lign##$}\tabskip\displaywidth\crcr
  1133.     #1\crcr}}
  1134.  
  1135. % Definitions related to output
  1136.  
  1137. \message{output routines,}
  1138.  
  1139. \countdef\pageno=0 \pageno=1 % first page is number 1
  1140. \newtoks\headline \headline={\hfil} % headline is normally blank
  1141. \newtoks\footline \footline={\hss\tenrm\folio\hss}
  1142.   % footline is normally a centered page number in font \tenrm
  1143. \newif\ifr@ggedbottom
  1144. \def\raggedbottom{\topskip 10\p@ plus60\p@ \r@ggedbottomtrue}
  1145. \def\normalbottom{\topskip 10\p@ \r@ggedbottomfalse} % undoes \raggedbottom
  1146. \def\folio{\ifnum\pageno<\z@ \romannumeral-\pageno \else\number\pageno \fi}
  1147. \def\nopagenumbers{\footline{\hfil}} % blank out the footline
  1148. \def\advancepageno{\ifnum\pageno<\z@ \global\advance\pageno\m@ne
  1149.   \else\global\advance\pageno\@ne \fi} % increase |pageno|
  1150.  
  1151. \newinsert\footins
  1152. \def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
  1153.   \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  1154.   #1\@sf\vfootnote{#1}}
  1155. \def\vfootnote#1{\insert\footins\bgroup
  1156.   \interlinepenalty\interfootnotelinepenalty
  1157.   \splittopskip\ht\strutbox % top baseline for broken footnotes
  1158.   \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
  1159.   \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
  1160.   \textindent{#1}\footstrut\futurelet\next\fo@t}
  1161. \def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t
  1162.   \else\let\next\f@t\fi \next}
  1163. \def\f@@t{\bgroup\aftergroup\@foot\let\next}
  1164. \def\f@t#1{#1\@foot}
  1165. \def\@foot{\strut\egroup}
  1166. \def\footstrut{\vbox to\splittopskip{}}
  1167. \skip\footins=\bigskipamount % space added when footnote is present
  1168. \count\footins=1000 % footnote magnification factor (1 to 1)
  1169. \dimen\footins=8in % maximum footnotes per page
  1170.  
  1171. \newinsert\topins
  1172. \newif\ifp@ge \newif\if@mid
  1173. \def\topinsert{\@midfalse\p@gefalse\@ins}
  1174. \def\midinsert{\@midtrue\@ins}
  1175. \def\pageinsert{\@midfalse\p@getrue\@ins}
  1176. \skip\topins=\z@skip % no space added when a topinsert is present
  1177. \count\topins=1000 % magnification factor (1 to 1)
  1178. \dimen\topins=\maxdimen % no limit per page
  1179. \def\@ins{\par\begingroup\setbox\z@\vbox\bgroup} % start a \vbox
  1180. \def\endinsert{\egroup % finish the \vbox
  1181.   \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@ \advance\dimen@12\p@
  1182.     \advance\dimen@\pagetotal \advance\dimen@-\pageshrink
  1183.     \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi
  1184.   \if@mid \bigskip\box\z@\bigbreak
  1185.   \else\insert\topins{\penalty100 % floating insertion
  1186.     \splittopskip\z@skip
  1187.     \splitmaxdepth\maxdimen \floatingpenalty\z@
  1188.     \ifp@ge \dimen@\dp\z@
  1189.     \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero
  1190.     \else \box\z@\nobreak\bigskip\fi}\fi\endgroup}
  1191.  
  1192. \output{\plainoutput}
  1193. \def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}%
  1194.   \advancepageno
  1195.   \ifnum\outputpenalty>-\@MM \else\dosupereject\fi}
  1196. \def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}}
  1197. \def\makeheadline{\vbox to\z@{\vskip-22.5\p@
  1198.   \line{\vbox to8.5\p@{}\the\headline}\vss}\nointerlineskip}
  1199. \def\makefootline{\baselineskip24\p@\line{\the\footline}}
  1200. \def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over
  1201.   \line{}\kern-\topskip\nobreak\vfill\supereject\fi}
  1202.  
  1203. \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi
  1204.   \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255
  1205.   \ifvoid\footins\else % footnote info is present
  1206.     \vskip\skip\footins
  1207.     \footnoterule
  1208.     \unvbox\footins\fi
  1209.   \ifr@ggedbottom \kern-\dimen@ \vfil \fi}
  1210. \def\footnoterule{\kern-3\p@
  1211.   \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high
  1212.  
  1213. % Hyphenation, miscellaneous macros, and initial values for standard layout
  1214. \message{hyphenation}
  1215.  
  1216. \lefthyphenmin=2 \righthyphenmin=3 % disallow x- or -xx breaks
  1217. \input hyphen
  1218.  
  1219. \def\magnification{\afterassignment\m@g\count@}
  1220. \def\m@g{\mag\count@
  1221.   \hsize6.5truein\vsize8.9truein\dimen\footins8truein}
  1222.  
  1223. \def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@
  1224.   \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
  1225.   \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne
  1226.   \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode}
  1227.  
  1228. \def\showhyphens#1{\setbox0\vbox{\parfillskip\z@skip\hsize\maxdimen\tenrm
  1229.   \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ #1}}
  1230.  
  1231. \normalbaselines\rm % select roman font
  1232. \nonfrenchspacing % punctuation affects the spacing
  1233. \catcode`@=12 % at signs are no longer letters
  1234.  
  1235. \def\fmtname{plain}\def\fmtversion{3.0PS} % identifies the current format
  1236.