1%% Revised 2001/10/10 to correct algorithms: xreferencing,numbering
2%% Revised 2002/02/19 to correct optional title in algorithms
3%% Revised 2002/05/01 to force footnotes to number consecutively throughout book
4%% Revised 2003/10/21 added example environment, like theorem
5\NeedsTeXFormat{LaTeX2e}[1995/12/01]
6\ProvidesClass{newsiambook}
7              [2003/10/22 v1.9
8 Customized LaTeX document class]
9\newcommand\@ptsize{}
10\newif\if@restonecol
11\newif\if@titlepage
12\@titlepagetrue
13\newif\if@openright
14\newif\if@mainmatter \@mainmattertrue
15\if@compatibility\else
16\newif\if@onethmnum
17\@onethmnumfalse
18%_%_%_%_% remove theorem numbering from class???
19\newif\if@mytheorems
20\@mytheoremsfalse
21
22
23%%%%add formatted authors to chapter opener...
24\newenvironment{authorline}{\let\thanks\footnote\renewcommand{\thefootnote}{\fnsymbol{footnote}}%
25\Large\bfseries\itshape}{\vskip36pt\setcounter{footnote}{0}}
26
27%%%%add author names to table of contents...
28\newcommand{\authortoc}[1]{\addtocontents{toc}{\hspace*{-.5em}{\bfseries\itshape #1}}}
29
30%_%_%_%default "plain" chapter opener...no graphic
31\DeclareOption{plain-opener}{%
32\def\@makechapterhead#1{%
33   {\parindent \z@ \raggedright \normalfont
34    \ifnum \c@secnumdepth >\m@ne
35      \if@mainmatter
36%
37\noindent\begin{picture}(360,144)
38\put(0,22.5){\setlength{\fboxsep}{0pt}%\fbox
39{\parbox[b][99pt][c]{300pt}{\raggedright\sffamily\Large\bfseries%
40\@chapapp\space \thechapter
41        \vskip3pt\par\nobreak
42    \Huge \bfseries #1\par}}}%%end of parbox and put
43\end{picture}
44 \fi
45    \fi
46    \interlinepenalty\@M}   \vskip 40\p@
47  }%
48\def\@part[#1]#2{%
49    \ifnum \c@secnumdepth >-2\relax
50      \refstepcounter{part}%
51      \addcontentsline{toc}{part}{\hbox to 20pt{\thepart}#1}%
52    \else
53      \addcontentsline{toc}{part}{#1}%
54    \fi
55    \markboth{}{}%
56    {\centering
57     \interlinepenalty \@M
58     \normalfont
59    %_%_%_%_%add part background graphic...
60 \ifnum \c@secnumdepth >-2\relax
61       \sffamily\huge\bfseries \partname~\thepart
62       \par
63       \vskip 20\p@
64     \fi
65     \sffamily\Huge \bfseries #2\par}%
66    \@endpart}}
67\DeclareOption{opener-d}{%
68%_%_%_%_% new makechapterhead
69%_%_%_%_% type "D"
70%_%_%_%_%
71\def\@makechapterhead#1{%
72   {\parindent \z@ \raggedright \normalfont
73    \ifnum \c@secnumdepth >\m@ne
74      \if@mainmatter
75%
76\noindent\begin{picture}(360,144)
77\put(0,11){\includegraphics[height=120pt]{macroa-1-gray.eps}}
78\put(72,22.5){\setlength{\fboxsep}{0pt}%\fbox
79{\parbox[b][99pt][c]{300pt}{\raggedright\sffamily\Large\bfseries%
80\@chapapp\space \thechapter
81        \vskip3pt\par\nobreak
82    \Huge \bfseries #1\par}}}%%end of parbox and put
83\end{picture}
84 \fi
85    \fi
86    \interlinepenalty\@M}   \vskip 40\p@
87  }%
88\def\@part[#1]#2{%
89    \ifnum \c@secnumdepth >-2\relax
90      \refstepcounter{part}%
91      \addcontentsline{toc}{part}{\hbox to 20pt{\thepart}#1}%
92    \else
93      \addcontentsline{toc}{part}{#1}%
94    \fi
95    \markboth{}{}%
96         \interlinepenalty \@M
97     \normalfont
98    %_%_%_%_%add part background graphic...
99 \ifnum \c@secnumdepth >-2\relax
100\noindent\begin{picture}(360,144)
101\put(0,11){\includegraphics[height=120pt]{macroa-1-gray.eps}}
102\put(72,22.5){\setlength{\fboxsep}{0pt}%\fbox
103{\parbox[b][99pt][c]{300pt}{\parindent0pt\sffamily\Large\bfseries%
104\partname\space \thepart
105        \vskip3pt\par\nobreak
106    \Huge \bfseries #2\par}}}%%end of parbox and put
107\end{picture}
108     \fi
109    \@endpart}}
110\DeclareOption{opener-c}{%
111
112%_%_%_%_% new makechapterhead
113%_%_%_%_% type "C"
114%_%_%_%_%
115\def\@makechapterhead#1{%
116   {\parindent \z@ \raggedright \normalfont
117    \ifnum \c@secnumdepth >\m@ne
118      \if@mainmatter
119%
120\noindent\begin{picture}(360,144)
121% \put(0,0){\includegraphics[width=114pt]{macroa2-gray.eps}}
122\put(0,0){\includegraphics[width=114pt]{pictures/picture1.eps}}
123\put(118,16){\vbox to 99pt{\hsize247pt\raggedright\sffamily\Large\bfseries%
124\vfill\@chapapp\space \thechapter
125        \vskip3pt\par\nobreak
126    \huge \bfseries #1\par\vfill}}%%end of parbox and put
127\end{picture}
128 \fi
129    \fi
130    \interlinepenalty\@M}   \vskip 40\p@
131  }%
132\def\@part[#1]#2{%
133    \ifnum \c@secnumdepth >-2\relax
134      \refstepcounter{part}%
135      \addcontentsline{toc}{part}{\hbox to 20pt{\thepart}#1}%
136    \else
137      \addcontentsline{toc}{part}{#1}%
138    \fi
139    \markboth{}{}%
140         \interlinepenalty \@M
141     \normalfont
142    %_%_%_%_%add part background graphic...
143 \ifnum \c@secnumdepth >-2\relax
144\noindent\begin{picture}(360,144)
145\put(0,0){\includegraphics[width=114pt]{macroa2-gray.eps}}
146\put(118,16){\vbox to 99pt{\hsize247pt\parindent0pt\sffamily\Large\bfseries%
147\vfill\partname\space \thepart
148        \vskip3pt\par\nobreak
149    \huge \bfseries #2\par\vfill}}%%end of parbox and put
150\end{picture}
151     \fi
152    \@endpart}}
153\DeclareOption{opener-b}{%
154%_%_%_%_% new makechapterhead
155%_%_%_%_% type "B"
156%_%_%_%_%
157\def\@makechapterhead#1{%
158   {\parindent \z@ \raggedright \normalfont
159    \ifnum \c@secnumdepth >\m@ne
160      \if@mainmatter
161%
162\noindent\begin{picture}(360,144)
163\put(0,0){\includegraphics[width=114pt]{macroa2-gray.eps}}
164\put(118,16){\vbox to 99pt{\hsize247pt\raggedright\sffamily\Large\bfseries%
165\@chapapp\space \thechapter
166        \vskip3pt\par\vfill\nobreak
167    \huge \bfseries #1\par}}%%end of parbox and put
168\end{picture}
169 \fi
170    \fi
171    \interlinepenalty\@M}   \vskip 40\p@
172  }%
173\def\@part[#1]#2{%
174    \ifnum \c@secnumdepth >-2\relax
175      \refstepcounter{part}%
176      \addcontentsline{toc}{part}{\hbox to 20pt{\thepart}#1}%
177    \else
178      \addcontentsline{toc}{part}{#1}%
179    \fi
180    \markboth{}{}%
181         \interlinepenalty \@M
182     \normalfont
183    %_%_%_%_%add part background graphic...
184 \ifnum \c@secnumdepth >-2\relax
185\noindent\begin{picture}(360,144)
186\put(0,0){\includegraphics[width=114pt]{macroa2-gray.eps}}
187\put(118,16){\vbox to 99pt{\parindent0pt\hsize247pt\sffamily\Large\bfseries%
188\partname\space \thepart
189        \vskip3pt\par\vfill\nobreak
190    \huge \bfseries #2\par}}%%end of parbox and put
191\end{picture}
192     \fi
193    \@endpart}}
194
195\DeclareOption{opener-a}{%
196%_%_%_%_% new makechapterhead...
197%_%_%_%_% type "A"
198%_%_%_%_%
199\def\@makechapterhead#1{%
200   {\parindent \z@ \raggedright \normalfont
201    \ifnum \c@secnumdepth >\m@ne
202      \if@mainmatter
203%
204\noindent\begin{picture}(360,144)
205\put(0,-1){\includegraphics[height=102pt]{macroa-gray.eps}}
206\put(118,0){\vbox to 100pt{\hsize247pt\raggedright\sffamily\Large\bfseries%
207\@chapapp\space \thechapter
208        \vfill\par\nobreak
209    \huge \bfseries #1\par}}%%end of parbox and put
210\end{picture}
211 \fi
212    \fi
213    \interlinepenalty\@M}   \vskip 40\p@
214  }%
215\def\@part[#1]#2{%
216    \ifnum \c@secnumdepth >-2\relax
217      \refstepcounter{part}%
218      \addcontentsline{toc}{part}{\thepart\hspace{10em}#1}%
219    \else
220      \addcontentsline{toc}{part}{#1}%
221    \fi
222    \markboth{}{}%
223         \interlinepenalty \@M
224     \normalfont
225    %_%_%_%_%add part background graphic...
226 \ifnum \c@secnumdepth >-2\relax
227\noindent\begin{picture}(360,144)
228\put(0,-1){\includegraphics[height=102pt]{macroa-gray.eps}}
229\put(118,0){\vbox to 100pt{\parindent0pt\hsize247pt\sffamily\Large\bfseries%
230\partname\space \thepart
231        \vfill\par\nobreak
232    \huge \bfseries #2\par}}%%end of parbox and put
233\end{picture}
234     \fi
235    \@endpart}}
236\DeclareOption{a4paper}
237   {\setlength\paperheight {297mm}%
238    \setlength\paperwidth  {210mm}}
239\DeclareOption{a5paper}
240   {\setlength\paperheight {210mm}%
241    \setlength\paperwidth  {148mm}}
242\DeclareOption{b5paper}
243   {\setlength\paperheight {250mm}%
244    \setlength\paperwidth  {176mm}}
245\DeclareOption{letterpaper}
246   {\setlength\paperheight {11in}%
247    \setlength\paperwidth  {8.5in}}
248\DeclareOption{legalpaper}
249   {\setlength\paperheight {14in}%
250    \setlength\paperwidth  {8.5in}}
251\DeclareOption{executivepaper}
252   {\setlength\paperheight {10.5in}%
253    \setlength\paperwidth  {7.25in}}
254\DeclareOption{landscape}
255   {\setlength\@tempdima   {\paperheight}%
256    \setlength\paperheight {\paperwidth}%
257    \setlength\paperwidth  {\@tempdima}}
258\fi
259\if@compatibility
260  \renewcommand\@ptsize{0}
261\else
262\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
263\fi
264\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
265\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
266\if@compatibility\else
267\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
268\fi
269\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
270\DeclareOption{draft}{\setlength\overfullrule{5pt}}
271\if@compatibility\else
272\DeclareOption{final}{\setlength\overfullrule{0pt}}
273\fi
274\DeclareOption{titlepage}{\@titlepagetrue}
275\if@compatibility\else
276\DeclareOption{notitlepage}{\@titlepagefalse}
277\fi
278\if@compatibility
279\@openrighttrue
280\else
281\DeclareOption{openright}{\@openrighttrue}
282\DeclareOption{openany}{\@openrightfalse}
283\fi
284\if@compatibility\else
285\DeclareOption{onecolumn}{\@twocolumnfalse}
286\fi
287\DeclareOption{twocolumn}{\@twocolumntrue}
288\DeclareOption{leqno}{\input{leqno.clo}}
289\DeclareOption{fleqn}{\input{fleqn.clo}}
290\DeclareOption{openbib}{%
291  \AtEndOfPackage{%
292   \renewcommand\@openbib@code{%
293      \advance\leftmargin\bibindent
294      \itemindent -\bibindent
295      \listparindent \itemindent
296      \parsep \z@
297      }%
298   \renewcommand\newblock{\par}}%
299}
300\DeclareOption{onethmnum}{\@onethmnumtrue} % added 7.29.96
301\DeclareOption{mytheorems}{\@mytheoremstrue} %_%_%_%_% remove theorem defs from class????
302\ExecuteOptions{plain-opener,letterpaper,10pt,twoside,onecolumn,final,openright}
303\ProcessOptions
304\input{newsiambk1\@ptsize.clo}
305\setlength\lineskip{1\p@}
306\setlength\normallineskip{1\p@}
307\renewcommand\baselinestretch{}
308\setlength\parskip{0\p@ \@plus \p@}
309\@lowpenalty   51
310\@medpenalty  151
311\@highpenalty 301
312\setcounter{topnumber}{2}
313\renewcommand\topfraction{.9}
314\setcounter{bottomnumber}{1}
315\renewcommand\bottomfraction{.1}
316\setcounter{totalnumber}{3}
317\renewcommand\textfraction{.1}
318\renewcommand\floatpagefraction{.91}
319\setcounter{dbltopnumber}{2}
320\renewcommand\dbltopfraction{.7}
321\renewcommand\dblfloatpagefraction{.5}
322\if@twoside
323  \def\ps@headings{%
324      \let\@oddfoot\@empty\let\@evenfoot\@empty
325      \def\@evenhead{{\rule[-5pt]{\textwidth}{1pt}}\hspace*{-\textwidth}\sffamily\thepage\hfil\leftmark}%
326      \def\@oddhead{{\rule[-5pt]{\textwidth}{1pt}}\hspace*{-\textwidth}\sffamily{\rightmark}\hfil\thepage}%
327      \let\@mkboth\markboth
328    \def\chaptermark##1{%
329      \markboth {{%%%%%was \MakeUppercase
330        \ifnum \c@secnumdepth >\m@ne
331          \if@mainmatter
332            \@chapapp\ \thechapter. \ %
333          \fi
334        \fi
335        ##1}}{}}%
336    \def\sectionmark##1{%
337      \markright {{%%%%%was \MakeUppercase
338        \ifnum \c@secnumdepth >\z@
339          \thesection. \ %
340        \fi
341        ##1}}}}
342\else
343  \def\ps@headings{%
344    \let\@oddfoot\@empty
345    \def\@oddhead{{\sffamily\rightmark}\hfil\thepage}%
346    \let\@mkboth\markboth
347    \def\chaptermark##1{%
348      \markright {\MakeUppercase{%
349        \ifnum \c@secnumdepth >\m@ne
350          \if@mainmatter
351            \@chapapp\ \thechapter. \ %
352          \fi
353        \fi
354        ##1}}}}
355\fi
356\def\ps@myheadings{%
357    \let\@oddfoot\@empty\let\@evenfoot\@empty
358    \def\@evenhead{\sffamily\thepage\hfil\sffamily\leftmark}%
359    \def\@oddhead{{\sffamily\rightmark}\hfil\sffamily\thepage}%
360    \let\@mkboth\@gobbletwo
361    \let\chaptermark\@gobble
362    \let\sectionmark\@gobble
363    }
364\def\ps@plain{\let\@mkboth\@gobbletwo
365     \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\sffamily\thepage
366     \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot}
367  \if@titlepage
368  \newcommand\maketitle{\begin{titlepage}%
369  \let\footnotesize\small
370  \let\footnoterule\relax
371  \let \footnote \thanks
372  \null\vfil
373  \vskip 60\p@
374  \begin{center}%
375    {\LARGE \@title \par}%
376    \vskip 3em%
377    {\large
378     \lineskip .75em%
379      \begin{tabular}[t]{c}%
380        \@author
381      \end{tabular}\par}%
382      \vskip 1.5em%
383    {\large \@date \par}%       % Set date in \large size.
384  \end{center}\par
385  \@thanks
386  \vfil\null
387  \end{titlepage}%
388  \setcounter{footnote}{0}%
389  \global\let\thanks\relax
390  \global\let\maketitle\relax
391  \global\let\@thanks\@empty
392  \global\let\@author\@empty
393  \global\let\@date\@empty
394  \global\let\@title\@empty
395  \global\let\title\relax
396  \global\let\author\relax
397  \global\let\date\relax
398  \global\let\and\relax
399}
400\else
401\newcommand\maketitle{\par
402  \begingroup
403    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
404    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
405    \long\def\@makefntext##1{\parindent 1em\noindent
406            \hb@xt@1.8em{%
407                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
408    \if@twocolumn
409      \ifnum \col@number=\@ne
410        \@maketitle
411      \else
412        \twocolumn[\@maketitle]%
413      \fi
414    \else
415      \newpage
416      \global\@topnum\z@   % Prevents figures from going at top of page.
417      \@maketitle
418    \fi
419    \thispagestyle{plain}\@thanks
420  \endgroup
421  \setcounter{footnote}{0}%
422  \global\let\thanks\relax
423  \global\let\maketitle\relax
424  \global\let\@maketitle\relax
425  \global\let\@thanks\@empty
426  \global\let\@author\@empty
427  \global\let\@date\@empty
428  \global\let\@title\@empty
429  \global\let\title\relax
430  \global\let\author\relax
431  \global\let\date\relax
432  \global\let\and\relax
433}
434\def\@maketitle{%
435  \newpage
436  \null
437  \vskip 2em%
438  \begin{center}%
439  \let \footnote \thanks
440    {\LARGE \@title \par}%
441    \vskip 1.5em%
442    {\large
443      \lineskip .5em%
444      \begin{tabular}[t]{c}%
445        \@author
446      \end{tabular}\par}%
447    \vskip 1em%
448    {\large \@date}%
449  \end{center}%
450  \par
451  \vskip 1.5em}
452\fi
453\newcommand*\chaptermark[1]{}
454\setcounter{secnumdepth}{2}
455\newcounter {part}
456\newcounter {chapter}
457\newcounter {section}[chapter]
458\newcounter {subsection}[section]
459\newcounter {subsubsection}[subsection]
460\newcounter {paragraph}[subsubsection]
461\newcounter {subparagraph}[paragraph]
462\renewcommand \thepart {\@Roman\c@part}
463\renewcommand \thechapter {\@arabic\c@chapter}
464\renewcommand \thesection {\thechapter.\@arabic\c@section}
465\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
466\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
467\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
468\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
469\newcommand\@chapapp{\chaptername}
470\newcommand\frontmatter{%
471    \cleardoublepage
472  \@mainmatterfalse
473  \pagenumbering{roman}}
474\newcommand\mainmatter{%
475    \cleardoublepage
476  \@mainmattertrue
477  \pagenumbering{arabic}}
478\newcommand\backmatter{%
479  \if@openright
480    \cleardoublepage
481  \else
482    \clearpage
483  \fi
484  \@mainmatterfalse}
485\newcommand\part{%
486  \if@openright
487    \cleardoublepage
488  \else
489    \clearpage
490  \fi
491  \thispagestyle{plain}%
492  \if@twocolumn
493    \onecolumn
494    \@tempswatrue
495  \else
496    \@tempswafalse
497  \fi
498  \null%%%%%\vfil
499\vspace*{72pt}
500  \secdef\@part\@spart}
501
502
503
504\def\@spart#1{%
505    {\centering
506     \interlinepenalty \@M
507     \normalfont
508     \sffamily\Huge \bfseries #1\par}%
509    \@endpart}
510\def\@endpart{\vfil\newpage
511              \if@twoside
512                \null
513                \thispagestyle{empty}%
514                \newpage
515              \fi
516              \if@tempswa
517                \twocolumn
518              \fi}
519\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
520                    \thispagestyle{plain}%
521                    \global\@topnum\z@
522                    \@afterindentfalse
523                    \secdef\@chapter\@schapter}
524%_%_%_%_%
525%_%_%_%_% add third parameter to \chapter to include background graphic
526%_%_%_%_%
527\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
528                       \if@mainmatter
529                         \refstepcounter{chapter}%
530                         \typeout{\@chapapp\space\thechapter.}%
531                         \addcontentsline{toc}{chapter}%
532                                   {\protect\numberline{\thechapter}#1}%
533                       \else
534                         \addcontentsline{toc}{chapter}{#1}%
535                       \fi
536                    \else
537                      \addcontentsline{toc}{chapter}{#1}%
538                    \fi
539                    \chaptermark{#1}%
540                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
541                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
542                    \if@twocolumn
543                      \@topnewpage[\@makechapterhead{#2}]%
544                    \else
545                      \@makechapterhead{#2}%
546                      \@afterheading
547                    \fi}
548%_%_%_%_%
549%_%_%_%_% new definition for chapter-page quote
550%_%_%_%_% optional argument moves environment right, in order to center
551\newenvironment{chapterquote}[1][0pt]{\normalsize\normalfont\itshape%
552\advance\leftskip#1}{\par}
553\def\@schapter#1{\if@twocolumn
554                   \@topnewpage[\@makeschapterhead{#1}]%
555                 \else
556                   \@makeschapterhead{#1}%
557                   \@afterheading
558                 \fi}
559\def\@makeschapterhead#1{%
560  \vspace*{50\p@}%
561  {\parindent \z@ \raggedright
562    \normalfont
563    \interlinepenalty\@M\centering
564    \Huge \sffamily\bfseries  #1\par\nobreak
565    \vskip 40\p@
566  }}
567\newcommand\section{\@startsection {section}{1}{\z@}%
568                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
569                                   {1.5ex \@plus.0ex}%
570                                   {\raggedright\normalfont\fontsize{14}{16pt}\selectfont\sffamily\bfseries}}
571\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
572                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
573                                     {1.5ex \@plus .2ex}%
574                                     {\raggedright\normalfont\large\sffamily\bfseries}}
575\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
576                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
577                                     {1.5ex \@plus .2ex}%
578                                     {\normalfont\normalsize\sffamily\bfseries}}
579\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
580                                    {3.25ex \@plus1ex \@minus.2ex}%
581                                    {-1em}%
582                                    {\normalfont\normalsize\sffamily\bfseries}}
583\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
584                                       {3.25ex \@plus1ex \@minus .2ex}%
585                                       {-1em}%
586                                      {\normalfont\normalsize\sffamily\bfseries}}
587\if@twocolumn
588  \setlength\leftmargini  {2em}
589\else
590  \setlength\leftmargini  {2.5em}
591\fi
592\leftmargin  \leftmargini
593\setlength\leftmarginii  {2.2em}
594\setlength\leftmarginiii {1.87em}
595\setlength\leftmarginiv  {1.7em}
596\if@twocolumn
597  \setlength\leftmarginv  {.5em}
598  \setlength\leftmarginvi {.5em}
599\else
600  \setlength\leftmarginv  {1em}
601  \setlength\leftmarginvi {1em}
602\fi
603\setlength  \labelsep  {.5em}
604\setlength  \labelwidth{\leftmargini}
605\addtolength\labelwidth{-\labelsep}
606\@beginparpenalty -\@lowpenalty
607\@endparpenalty   -\@lowpenalty
608\@itempenalty     -\@lowpenalty
609\renewcommand\theenumi{\@arabic\c@enumi}
610\renewcommand\theenumii{\@alph\c@enumii}
611\renewcommand\theenumiii{\@roman\c@enumiii}
612\renewcommand\theenumiv{\@Alph\c@enumiv}
613\newcommand\labelenumi{\theenumi.}
614\newcommand\labelenumii{(\theenumii)}
615\newcommand\labelenumiii{\theenumiii.}
616\newcommand\labelenumiv{\theenumiv.}
617\renewcommand\p@enumii{\theenumi}
618\renewcommand\p@enumiii{\theenumi(\theenumii)}
619\renewcommand\p@enumiv{\p@enumiii\theenumiii}
620\newcommand\labelitemi{\textbullet}
621\newcommand\labelitemii{\normalfont\bfseries \textendash}
622\newcommand\labelitemiii{\textasteriskcentered}
623\newcommand\labelitemiv{\textperiodcentered}
624\newenvironment{description}
625               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
626                        \let\makelabel\descriptionlabel}}
627               {\endlist}
628\newcommand*\descriptionlabel[1]{\hspace\labelsep
629                                \normalfont\bfseries #1}
630\newenvironment{verse}
631               {\let\\\@centercr
632                \list{}{\itemsep      \z@
633                        \itemindent   -1.5em%
634                        \listparindent\itemindent
635                        \rightmargin  \leftmargin
636                        \advance\leftmargin 1.5em}%
637                \item\relax}
638               {\endlist}
639\newenvironment{quotation}
640               {\list{}{\listparindent 1.5em%
641                        \itemindent    \listparindent
642                        \rightmargin   \leftmargin
643                        \parsep        \z@ \@plus\p@}%
644                \item\relax}
645               {\endlist}
646\newenvironment{quote}
647               {\list{}{\rightmargin\leftmargin}%
648                \item\relax}
649               {\endlist}
650\if@compatibility
651\newenvironment{titlepage}
652    {%
653      \cleardoublepage
654      \if@twocolumn
655        \@restonecoltrue\onecolumn
656      \else
657        \@restonecolfalse\newpage
658      \fi
659      \thispagestyle{empty}%
660      \setcounter{page}\z@
661    }%
662    {\if@restonecol\twocolumn \else \newpage \fi
663    }
664\else
665\newenvironment{titlepage}
666    {%
667      \cleardoublepage
668      \if@twocolumn
669        \@restonecoltrue\onecolumn
670      \else
671        \@restonecolfalse\newpage
672      \fi
673      \thispagestyle{empty}%
674      \setcounter{page}\@ne
675    }%
676    {\if@restonecol\twocolumn \else \newpage \fi
677     \if@twoside\else
678        \setcounter{page}\@ne
679     \fi
680    }
681\fi
682\newcommand\appendix{\par
683  \setcounter{chapter}{0}%
684  \setcounter{section}{0}%
685  \renewcommand\@chapapp{\appendixname}%
686  \renewcommand\thechapter{\@Alph\c@chapter}}
687\setlength\arraycolsep{5\p@}
688\setlength\tabcolsep{6\p@}
689\setlength\arrayrulewidth{.4\p@}
690\setlength\doublerulesep{2\p@}
691\setlength\tabbingsep{\labelsep}
692\skip\@mpfootins = \skip\footins
693\setlength\fboxsep{3\p@}
694\setlength\fboxrule{.4\p@}
695\@addtoreset {equation}{chapter}
696\renewcommand\theequation
697  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
698\newcounter{figure}[chapter]
699\renewcommand \thefigure
700     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
701\def\fps@figure{tbp}
702\def\ftype@figure{1}
703\def\ext@figure{lof}
704\def\fnum@figure{\figurename~\thefigure}
705\newenvironment{figure}
706               {\@float{figure}}
707               {\end@float}
708\newenvironment{figure*}
709               {\@dblfloat{figure}}
710               {\end@dblfloat}
711\newcounter{table}[chapter]
712\renewcommand \thetable
713     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
714\def\fps@table{tbp}
715\def\ftype@table{2}
716\def\ext@table{lot}
717\def\fnum@table{\tablename~\thetable}
718\newenvironment{table}
719               {\@float{table}}
720               {\end@float}
721\newenvironment{table*}
722               {\@dblfloat{table}}
723               {\end@dblfloat}
724\newlength\abovecaptionskip
725\newlength\belowcaptionskip
726\setlength\abovecaptionskip{10\p@}
727\setlength\belowcaptionskip{0\p@}
728\def\xtable{table}
729\long\def\@makecaption#1#2{%
730  \vskip\abovecaptionskip
731  \sbox\@tempboxa{\textbf{#1.} \itshape#2}%
732  \ifdim \wd\@tempboxa >\hsize
733    \hspace*{3pc}{\textbf{#1.} }\itshape#2\par
734  \else
735    \global \@minipagefalse
736    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
737  \fi
738\ifx\@captype\xtable
739\vskip6pt
740\else
741\fi
742  \vskip\belowcaptionskip}
743\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
744\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
745\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
746\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
747\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
748\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
749\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
750\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
751\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
752\newcommand\@pnumwidth{15pt}
753\newcommand\@tocrmarg{2.55em}
754\newcommand\@dotsep{4.5}
755\setcounter{tocdepth}{2}
756\newcommand\tableofcontents{%
757    \if@twocolumn
758      \@restonecoltrue\onecolumn
759    \else
760      \@restonecolfalse
761    \fi
762    \chapter*{\contentsname
763        \@mkboth{%
764           \contentsname}{\contentsname}}%
765    \@starttoc{toc}%
766    \if@restonecol\twocolumn\fi
767    }
768\newcommand*\l@part[2]{%
769  \ifnum \c@tocdepth >-2\relax
770    \addpenalty{-\@highpenalty}%
771    \addvspace{2.25em \@plus\p@}%
772    \begingroup
773      \parindent \z@ \rightskip \@pnumwidth
774      \parfillskip -\@pnumwidth
775      {\leavevmode
776       \normalsize \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
777       \nobreak
778         \global\@nobreaktrue
779         \everypar{\global\@nobreakfalse\everypar{}}%
780    \endgroup
781  \fi}
782\newcommand*\l@chapter[2]{%
783  \ifnum \c@tocdepth >\m@ne
784    \addpenalty{-\@highpenalty}%
785    \vskip 1.0em \@plus\p@
786    \setlength\@tempdima{2.5em}%was 1.5em
787    \begingroup
788      \parindent \z@ \rightskip \@pnumwidth
789      \parfillskip -\@pnumwidth
790      \leavevmode \bfseries
791      \advance\leftskip\@tempdima
792      \hskip -\leftskip
793      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
794      \penalty\@highpenalty
795    \endgroup
796  \fi}
797
798
799\newcommand*\l@section{\@dottedtocline{1}{2.5em}{3.3em}}
800\newcommand*\l@subsection{\@dottedtocline{2}{5.8em}{5.2em}}
801\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
802\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
803\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
804\newcommand\listoffigures{%
805    \if@twocolumn
806      \@restonecoltrue\onecolumn
807    \else
808      \@restonecolfalse
809    \fi
810    \chapter*{\listfigurename
811      \@mkboth{\listfigurename}%
812              {\listfigurename}}%
813    \@starttoc{lof}%
814    \if@restonecol\twocolumn\fi
815    }
816%_%_%_%_%
817%_%_%_%_%make list of algorithms
818%_%_%_%_%
819\newcommand*\l@algorithm{\@dottedtocline{1}{0pt}{84pt}}
820\newcommand\listofalgorithms{%
821    \if@twocolumn
822      \@restonecoltrue\onecolumn
823    \else
824      \@restonecolfalse
825    \fi
826    \chapter*{List of Algorithms
827      \@mkboth{{List of Algorithms}}%
828              {{List of Algorithms}}}%
829    \@starttoc{loa}%
830    \if@restonecol\twocolumn\fi
831    }
832
833\newcounter{algorithm}[chapter]
834\renewcommand{\thealgorithm}{\arabic{chapter}.\arabic{algorithm}}
835\newenvironment{algorithm}[1][\relax]{\addtocounter{algorithm}{1}%
836\addcontentsline{loa}{algorithm}%
837    {\protect\numberline{Algorithm~\thealgorithm}{\ignorespaces#1}}%
838\par\vspace{1\baselineskip}%
839\expandafter\ifx#1\relax
840\parindent0pt {\scshape\bfseries Algorithm~\thealgorithm.}\\%%%
841\else
842\parindent0pt {\scshape\bfseries Algorithm~\thealgorithm.}\enspace{\bfseries#1.}\\%%%
843\fi}
844{\vspace{1\baselineskip}\par}
845%_%_%_%_%
846%_%_%_%_%
847%_%_%_%_%
848%%%\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
849\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{3.3em}}
850\newcommand\listoftables{%
851    \if@twocolumn
852      \@restonecoltrue\onecolumn
853    \else
854      \@restonecolfalse
855    \fi
856    \chapter*{\listtablename
857      \@mkboth{%
858          \listtablename}{\listtablename}}%
859    \@starttoc{lot}%
860    \if@restonecol\twocolumn\fi
861    }
862\let\l@table\l@figure
863\newdimen\bibindent
864\setlength\bibindent{1.5em}
865\newenvironment{thebibliography}[1]
866     {\chapter*{\bibname
867        \@mkboth{\bibname}{\bibname}}%
868\addcontentsline{toc}{chapter}{\bibname}%
869      \list{\@biblabel{\@arabic\c@enumiv}}%
870           {\settowidth\labelwidth{\@biblabel{#1}}%
871            \leftmargin\labelwidth
872            \advance\leftmargin\labelsep
873            \@openbib@code
874            \usecounter{enumiv}%
875            \let\p@enumiv\@empty
876            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
877      \sloppy
878      \clubpenalty4000
879      \@clubpenalty \clubpenalty
880      \widowpenalty4000%
881      \sfcode`\.\@m}
882     {\def\@noitemerr
883       {\@latex@warning{Empty `thebibliography' environment}}%
884      \endlist}
885\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
886\let\@openbib@code\@empty
887\newenvironment{theindex}
888               {\if@twocolumn
889                  \@restonecolfalse
890                \else
891                  \@restonecoltrue
892                \fi
893                \columnseprule \z@
894                \columnsep 35\p@
895                \twocolumn[\@makeschapterhead{\indexname}]%
896		\addcontentsline{toc}{chapter}{\indexname}%
897                \@mkboth{\indexname}%
898                        {\indexname}%
899                \thispagestyle{plain}\parindent\z@
900                \parskip\z@ \@plus .3\p@\relax
901                \let\item\@idxitem}
902               {\if@restonecol\onecolumn\else\clearpage\fi}
903\newcommand\@idxitem{\par\hangindent 40\p@}
904\newcommand\subitem{\@idxitem \hspace*{20\p@}}
905\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
906\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
907\renewcommand\footnoterule{%
908  \kern-3\p@
909  \hrule\@width6pc
910  \kern2.6\p@}
911%%%% 05/01/02 deleted to change numbering \@addtoreset{footnote}{chapter}
912\newcommand\@makefntext[1]{%
913    \parindent 1em%
914    \noindent\hb@xt@1.8em{\hss\@makefnmark}#1}
915\newcommand\contentsname{Contents}
916\newcommand\listfigurename{List of Figures}
917\newcommand\listtablename{List of Tables}
918\newcommand\bibname{Bibliography}
919\newcommand\indexname{Index}
920\newcommand\figurename{Figure}
921\newcommand\tablename{Table}
922\newcommand\partname{Part}
923\newcommand\chaptername{Chapter}
924\newcommand\appendixname{Appendix}
925\def\today{\ifcase\month\or
926  January\or February\or March\or April\or May\or June\or
927  July\or August\or September\or October\or November\or December\fi
928  \space\number\day, \number\year}
929\setlength\columnsep{10\p@}
930\setlength\columnseprule{0\p@}
931\pagestyle{headings}
932\pagenumbering{arabic}
933\if@twoside
934\else
935  \raggedbottom
936\fi
937\if@twocolumn
938  \twocolumn
939  \sloppy
940  \flushbottom
941\else
942  \onecolumn
943\fi
944
945
946%_%_%_%_%
947%_%_%_%_% borrowed from siamltex.cls...
948%_%_%_%_%
949
950\def\@begintheorem#1#2{\vskip-\lastskip\par\vskip12pt\par%
951\bgroup\noindent{\bfseries #1\ #2. }\it\ignorespaces}
952%
953\def\@opargbegintheorem#1#2#3{\vskip-\lastskip\par\vskip12pt\par\bgroup%
954   \noindent{\bfseries #1\ #2\ ({\upshape #3}). }\it\ignorespaces}
955%
956\def\@endtheorem{\egroup\vskip12pt}
957%
958
959
960%%% create theorems, etc. with upright font, no italic
961\def\newtheoremup#1{%
962  \@ifnextchar[{\@othmup{#1}}{\@nthmup{#1}}}
963\def\@nthmup#1#2{%
964  \@ifnextchar[{\@xnthmup{#1}{#2}}{\@ynthmup{#1}{#2}}}
965\def\@xnthmup#1#2[#3]{%
966  \expandafter\@ifdefinable\csname #1\endcsname
967    {\@definecounter{#1}\@newctr{#1}[#3]%
968     \expandafter\xdef\csname the#1\endcsname{%
969       \expandafter\noexpand\csname the#3\endcsname \@thmcountersep
970          \@thmcounterup{#1}}%
971     \global\@namedef{#1}{\@thmup{#1}{#2}}%
972     \global\@namedef{end#1}{\@endtheoremup}}}
973\def\@ynthmup#1#2{%
974  \expandafter\@ifdefinable\csname #1\endcsname
975    {\@definecounter{#1}%
976     \expandafter\xdef\csname the#1\endcsname{\@thmcounterup{#1}}%
977     \global\@namedef{#1}{\@thmup{#1}{#2}}%
978     \global\@namedef{end#1}{\@endtheoremup}}}
979\def\@othmup#1[#2]#3{%
980  \@ifundefined{c@#2}{\@nocounterr{#2}}%
981    {\expandafter\@ifdefinable\csname #1\endcsname
982    {\global\@namedef{the#1}{\@nameuse{the#2}}%
983  \global\@namedef{#1}{\@thmup{#2}{#3}}%
984  \global\@namedef{end#1}{\@endtheoremup}}}}
985\def\@thmup#1#2{%
986  \refstepcounter{#1}%
987  \@ifnextchar[{\@ythmup{#1}{#2}}{\@xthmup{#1}{#2}}}
988\def\@xthmup#1#2{%
989  \@begintheoremup{#2}{\csname the#1\endcsname}\ignorespaces}
990\def\@ythmup#1#2[#3]{%
991  \@opargbegintheoremup{#2}{\csname the#1\endcsname}{#3}\ignorespaces}
992\def\@thmcounterup#1{\noexpand\arabic{#1}}
993\def\@thmcountersep{.}
994\def\@begintheoremup#1#2{\trivlist
995   \item[\hskip \labelsep{\bfseries #1\ #2}]\upshape}
996\def\@opargbegintheoremup#1#2#3{\trivlist
997      \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\upshape}
998\def\@endtheoremup{\endtrivlist}
999
1000
1001\newlength{\proofboxwd}
1002\setlength{\proofboxwd}{1pt}
1003
1004\def\proofbox{\hspace{12\proofboxwd}\vbox{\hrule height0.6\proofboxwd\hbox{%
1005   \vrule height1.3ex width0.6\proofboxwd\hskip0.8ex
1006   \vrule width0.6\proofboxwd}\hrule height0.6\proofboxwd
1007  }}
1008
1009\def\examplebox{\hspace{12\proofboxwd}\rule{5.36pt}{7.91pt}}
1010
1011
1012\def\tempproofbox{\hspace{12\proofboxwd}\vbox{\hrule height0.6\proofboxwd\hbox{%
1013   \vrule height1.3ex width0.6\proofboxwd\hskip0.8ex
1014   \vrule width0.6\proofboxwd}\hrule height0.6pt
1015  }}
1016
1017
1018\def\myproofbox{\tempproofbox\global\setlength{\proofboxwd}{0pt}}
1019
1020\newenvironment{proof}{%
1021\vskip-\lastskip\par
1022\vskip12pt\par\noindent{\bfseries\itshape Proof.} \ignorespaces}%
1023{\proofbox\vspace{1\baselineskip}\global\setlength{\proofboxwd}{1pt}}
1024
1025
1026\if@mytheorems
1027\else
1028\if@onethmnum
1029  \newtheorem{theorem}{Theorem}
1030  \newtheorem{lemma}[theorem]{Lemma}
1031  \newtheorem{corollary}[theorem]{Corollary}
1032  \newtheorem{proposition}[theorem]{Proposition}
1033  \newtheorem{definition}[theorem]{Definition}
1034  \newtheoremup{example}[theorem]{Example}
1035\else
1036  \newtheorem{theorem}{Theorem}[chapter]
1037  \newtheorem{lemma}[theorem]{Lemma}
1038  \newtheorem{corollary}[theorem]{Corollary}
1039  \newtheorem{proposition}[theorem]{Proposition}
1040  \newtheorem{definition}[theorem]{Definition}
1041  \newtheoremup{example}[theorem]{Example}
1042\fi
1043\let\tempendexample\@endtheoremup
1044\def\endexample{\examplebox\tempendexample}
1045\fi
1046
1047
1048\newcounter{rmnum}
1049\newenvironment{romannum}
1050               {\begin{list}{{\hfill\upshape (\roman{rmnum})}}{\usecounter{rmnum}
1051                \setlength{\leftmargin}{24pt}\labelwidth24pt\labelsep.5em%
1052		\itemsep2pt\parsep0pt
1053                \setlength{\itemindent}{0pt}}}{\end{list}}
1054\newcounter{muni}
1055\newenvironment{remunerate}
1056               {\begin{list}{{\hfill\upshape \arabic{muni}.}}{\usecounter{muni}
1057                \setlength{\leftmargin}{24pt}\labelwidth24pt\labelsep.5em%
1058		\itemsep2pt\parsep0pt
1059                \setlength{\itemindent}{0pt}}}{\end{list}}
1060
1061\newenvironment{bulletlist}
1062{\begin{list}{{\hfill\raisebox{1.12pt}{$\bullet$}}}{%
1063                \setlength{\leftmargin}{24pt}\labelwidth24pt\labelsep.5em%
1064		\itemsep2pt\parsep0pt
1065                \setlength{\itemindent}{0pt}}}{\end{list}}
1066
1067
1068\newenvironment{alphlist}
1069               {\begin{list}{{\hfill\upshape (\alph{muni})}}{\usecounter{muni}
1070                \setlength{\leftmargin}{24pt}\labelwidth24pt\labelsep.5em%
1071		\itemsep2pt\parsep0pt
1072                \setlength{\itemindent}{0pt}}}{\end{list}}
1073
1074
1075\newcommand\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt}
1076
1077
1078%_%_%_%_% fix eqnarray spacing
1079\def\@tempb{%
1080   \stepcounter{equation}%
1081   \def\@currentlabel{\p@equation\theequation}%
1082   \global\@eqnswtrue
1083   \m@th
1084   \global\@eqcnt\z@
1085   \tabskip\@centering
1086   \let\\\@eqncr
1087   $$\everycr{}\halign to\displaywidth\bgroup
1088       \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
1089      &\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${##}$\hfil
1090      &\global\@eqcnt\tw@ \hskip \tw@\arraycolsep
1091         $\displaystyle{##}$\hfil\tabskip\@centering
1092      &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
1093         \tabskip\z@skip
1094      \cr
1095}
1096\ifx\eqnarray\@tempb    % Try the default eqnarray environment
1097  \def\eqnarray{%
1098   \stepcounter{equation}%
1099   \def\@currentlabel{\p@equation\theequation}%
1100   \global\@eqnswtrue
1101   \m@th
1102   \global\@eqcnt\z@
1103   \tabskip\@centering
1104   \let\\\@eqncr
1105   $$\everycr{}\halign to\displaywidth\bgroup
1106       \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
1107      &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
1108      &\global\@eqcnt\tw@ $\displaystyle{##}$\hfil\tabskip\@centering
1109      &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
1110         \tabskip\z@skip
1111      \cr
1112}
1113\else    \typeout{Warning: Unable to fix unknown version of \string\eqnarray.}
1114\fi
1115
1116\def\@tempb{}
1117
1118
1119%_%_%_%_%
1120%_%_%_%_% for crops and other stuff...
1121%_%_%_%_%
1122\setlength{\paperheight}{10in}
1123\setlength{\paperwidth}{7in}
1124
1125\setlength{\oddsidemargin}{.75in}
1126\setlength{\evensidemargin}{.766in}
1127
1128%_%_%_%_%
1129%_%_%_%_% Problems/exercises
1130%_%_%_%_%
1131\newcounter{prob}
1132\newenvironment{problems}
1133               {%
1134\section*{\rule[6pt]{\textwidth}{1pt}\newline\nobreak Problems}%
1135\addcontentsline{toc}{section}{Problems}%
1136\markright{Problems}
1137\begin{list}{{\hfill\upshape \arabic{prob}.}}{\usecounter{prob}
1138                \setlength{\leftmargin}{24pt}\labelwidth24pt\labelsep.5em%
1139		\itemsep2pt\parsep0pt
1140                \setlength{\itemindent}{0pt}}}{\end{list}}
1141
1142\newenvironment{exercises}
1143               {%
1144\section*{\rule[6pt]{\textwidth}{1pt}\newline\nobreak Exercises}%
1145\addcontentsline{toc}{section}{Exercises}%
1146\markright{Exercises}
1147\begin{list}{{\hfill\upshape \arabic{chapter}.\arabic{prob}.}}{\usecounter{prob}
1148                \setlength{\leftmargin}{28pt}\labelwidth28pt\labelsep.5em%
1149		\itemsep2pt\parsep0pt
1150                \setlength{\itemindent}{0pt}}}{\end{list}}
1151
1152%_%_%_%_%
1153%_%_%_%_% front matter, etc.
1154%_%_%_%_%
1155\newenvironment{thepreface}{\if@openright\cleardoublepage\else\clearpage\fi
1156\@makeschapterhead{Preface}%
1157\addcontentsline{toc}{chapter}{Preface}%
1158                \@mkboth{Preface}%
1159                        {Preface}%
1160                \thispagestyle{plain}}
1161               {\clearpage}
1162
1163%_%_%_%_%
1164%_%_%_%_%
1165%_%_%_%_%
1166
1167%_%_%_%_% #1 is the contributor's name, #2 is the affiliation
1168\newcommand{\contributor}[2]{\noindent\vtop{\hsize14pc#1\\\itshape#2}\par}
1169
1170\newenvironment{contributors}{\if@openright\cleardoublepage\else\clearpage\fi
1171\@makeschapterhead{List of Contributors}%
1172%\addcontentsline{toc}{chapter}{List of Contributors}%
1173                \@mkboth{List of Contributors}%
1174                        {List of Contributors}%
1175                \thispagestyle{plain}\begin{multicols}{2}\parindent0pt%
1176\parskip6pt plus2pt minus1pt%
1177\widowpenalty10000\clubpenalty10000}
1178               {\end{multicols}\clearpage}
1179
1180\setlength{\parskip}{1\parskip}
1181
1182
1183\parskip1\parskip
1184\hfuzz362pt
1185\endinput
1186%%
1187%% End of file `book.cls'.
1188
1189
1190
1191