summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siam/proc209.sty
blob: 56365402dbb975d83cd32b89865608cc7e02049f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
%%%%%%%%%%%%%%%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%   This is proc209.sty. 
%   This file may be freely distributed but may not be altered in any way.
%   Any comments or questions regarding these macros should be directed to:

%                 Corey Gray
%                 SIAM
%                 3600 University City Science Center
%                 Philadelphia, PA 19104-2688
%                 USA
%                 Telephone: (215) 382-9800
%                 Fax: (215) 386-7999
%                 e-mail: gray@siam.org

%   This is a file of macros and definitions for creating a chapter for 
%   publication in the SIAM Proceedings series using LaTeX.

%   Report the version.
\message{*** SIAM LaTeX 2.09 Proceedings Series macro package, version 1.1,
October 28, 1996 ***} 

\pretolerance=800 
\tolerance=10000 
\sloppy 
 
 
\vsize=56pc 
\hsize=36pc 
\baselineskip=13pt 
\hoffset -.5in
\voffset -.5in
\footskip=18pt 
\topmargin 24pt  
\headheight 12pt  
\headsep 15pt  
\textheight 53.5pc  \advance\textheight by \topskip 
\textwidth 36pc  
\parskip 0pt
\parindent 18pt
\def\topfraction{.9}
\def\textfraction{.1}
\def\topnumber{2}
%% footnotes  to be set 8/10 
\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt 
   %  \indent 
       \abovedisplayskip \z@ 
      \belowdisplayskip\z@ 
     \abovedisplayshortskip\abovedisplayskip 
    \belowdisplayshortskip\belowdisplayshortskip 
\def\@listi{\leftmargin\leftmargini \topsep 3pt plus 1pt minus 1pt 
     \parsep 2pt plus 1pt minus 1pt 
    \itemsep \parsep}} 
 
\let\referencesize\footnotesize 
 
\footnotesep 0pt  
 
\skip\footins 12pt plus 12pt  
 
\def\footnoterule{\kern3\p@  \hrule width 3em\vspace{3pt}} % the \hrule is .4pt high 
 
 
\def\ps@plain{\let\@mkboth\@gobbletwo 
     \def\@oddfoot{{\hfil\small\thepage\hfil}}% 
     \def\@oddhead{} 
      \def\@evenhead{}\def\@evenfoot{}} 
 
 
 
\def\ps@headings{\let\@mkboth\markboth 
        \def\@oddfoot{}\def\@evenfoot{}% 
        \def\@evenhead{{\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}%
        \def\@oddhead{\hfil{\noindent\sc\rightmark}\hspace*{2pc}{\rm\thepage}}%

 
 
\def\ps@myheadings{\let\@mkboth\@gobbletwo 
 \def\@oddfoot{}\def\@evenfoot{}% 
 \def\@oddhead{\hfil{\sc\rightmark}\hspace*{2pc}{\normalsize\rm\thepage}}% 
 \def\@evenhead{{\normalsize\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}% 
%        \def\chaptermark##1{}% 
 %       \def\sectionmark##1{}\def\subsectionmark##1{}} 
}} 
 
 
 
\def\theequation{\arabic{equation}} 
 
\def\abstract{\if@twocolumn
\section*{Abstract}
\else \small 
\begin{center}
{\bf Abstract\vspace{-.5em}\vspace{3pt}} 
\end{center}
\quotation 
\fi}
\def\endabstract{\if@twocolumn\else\endquotation\fi}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%                                         % 
%     THEOREMS, PROOFS, ALGORITHMS        % 
%                                         % 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
 
%%% defined proof environment by theorem model (took out counter) 

\def\qed{{\qquad \vbox{\hrule\hbox{%
   \vrule height1.3ex\hskip0.8ex\vrule}\hrule
  }}\par}   

\def\newproof#1{\@nprf{#1}} 
 
\def\@nprf#1#2{\@xnprf{#1}{#2}} 
 
\def\@xnprf#1#2{\expandafter\@ifdefinable\csname #1\endcsname 
\global\@namedef{#1}{\@prf{#1}{#2}}\global\@namedef{end#1}{\@endproof}} 
 
\def\@prf#1#2{\@xprf{#1}{#2}} 
 
\def\@xprf#1#2{\@beginproof{#2}{\csname the#1\endcsname}\ignorespaces} 
 
 
 
%%% defined algorithm environment by theorem model 
 
\def\newalgorithm#1{\@ifnextchar[{\@oalg{#1}}{\@nalg{#1}}} 
 
\def\@nalg#1#2{% 
\@ifnextchar[{\@xnalg{#1}{#2}}{\@ynalg{#1}{#2}}} 
 
\def\@xnalg#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname 
{\@definecounter{#1}\@addtoreset{#1}{#3}% 
\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand 
  \csname the#3\endcsname \@thmcountersep \@thmcounter{#1}}% 
\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} 
 
\def\@ynalg#1#2{\expandafter\@ifdefinable\csname #1\endcsname 
{\@definecounter{#1}% 
\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}% 
\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} 
 
\def\@oalg#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname 
  {\global\@namedef{the#1}{\@nameuse{the#2}}% 
\global\@namedef{#1}{\@alg{#2}{#3}}% 
\global\@namedef{end#1}{\@endalgorithm}}} 
 
\def\@alg#1#2{\refstepcounter 
    {#1}\@ifnextchar[{\@yalg{#1}{#2}}{\@xalg{#1}{#2}}} 
 
\def\@xalg#1#2{\@beginalgorithm{#2}{\csname the#1\endcsname}\ignorespaces} 
\def\@yalg#1#2[#3]{\@opargbeginalgorithm{#2}{\csname 
       the#1\endcsname}{#3}\ignorespaces} 
 
 
 
 
\def\@beginproof#1{\rm {\it #1.\ }} 
\def\@endproof{\outerparskip 0pt\endtrivlist} 
 
\def\@begintheorem#1#2{\it {\sc #1\ #2.\ }} 
\def\@opargbegintheorem#1#2#3{\it 
      {\sc #1\ #2\ (#3).\ }} 
\def\@endtheorem{\outerparskip 0pt\endtrivlist} 

%\def\@begindefinition#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} 
%\def\@opargbegindefinition#1#2#3{\rm \trivlist 
%      \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} 
%\def\@enddefinition{\outerparskip 0pt\endtrivlist} 

 
\def\@beginalgorithm#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} 
\def\@opargbeginalgorithm#1#2#3{\rm \trivlist 
      \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} 
\def\@endalgorithm{\outerparskip 6pt\endtrivlist} 
 
 
\newskip\outerparskip 
 
\def\trivlist{\parsep\outerparskip 
  \@trivlist \labelwidth\z@ \leftmargin\z@ 
  \itemindent\parindent \def\makelabel##1{##1}} 
 
\def\@trivlist{\topsep=0pt\@topsepadd\topsep 
  \if@noskipsec \leavevmode \fi 
  \ifvmode \advance\@topsepadd\partopsep \else \unskip\par\fi 
  \if@inlabel \@noparitemtrue \@noparlisttrue  
    \else \@noparlistfalse \@topsep\@topsepadd \fi 
    \advance\@topsep \parskip 
  \leftskip\z@\rightskip\@rightskip \parfillskip\@flushglue 
  \@setpar{\if@newlist\else{\@@par}\fi}% 
  \global\@newlisttrue \@outerparskip\parskip} 
 
 
\def\endtrivlist{\if@newlist\@noitemerr\fi  
   \if@inlabel\indent\fi  
   \ifhmode\unskip \par\fi  
   \if@noparlist \else 
      \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip 
         \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip  
         \vskip\@tempskipa 
   \fi\@endparenv\fi 
   \vskip\outerparskip} 
 
 

 \newproof{@proof}{Proof} 
 \newenvironment{proof}{\begin{@proof}}{\end{@proof}} 
 
 \newtheorem{@theorem}{Theorem}[section] 
 \newenvironment{theorem}{\begin{@theorem}}{\end{@theorem}} 
 
% \newalgorithm{@algorithm}{Algorithm}[section] 
% \newenvironment{algorithm}{\begin{@algorithm}}{\end{@algorithm}} 
 
 
 
\newtheorem{lemma}{Lemma}[section] 
\newtheorem{fact}{Fact}[section] 
\newtheorem{corollary}{Corollary}[section] 
\newtheorem{axiom}{Axiom}[section] 
\newtheorem{cond}{Condition}[section] 
\newtheorem{property}{Property}[section]  
\newtheorem{proposition}{Proposition}[section] 
 
\newtheorem{Conjecture}{Conjecture}[section] 
\newtheorem{Definition}{Definition}[section] 
\newtheorem{Lemma}{Lemma}[section] 
\newtheorem{Remark}{Remark}[section] 
 
\newproof{Example}{Example} 
\newproof{Method}{Method} 
\newproof{Exercise}{Exercise} 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%                                         % 
%        TABLE AND FIGURE CAPTIONS        % 
%                                         % 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
 \def\@figtxt{figure}
\long\def\@makecaption#1#2{\small
\setlength{\parindent}{18pt}
\baselineskip 14pt
 \ifx\@captype\@figtxt
 \vskip 10pt 
 \setbox\@tempboxa\hbox{{\sc #1} {\it #2}}
 \ifdim \wd\@tempboxa >\hsize {\sc #1} {\it #2}\par \else \hbox
to\hsize{\hfil\box\@tempboxa\hfil}%
 \fi\else\hbox to\hsize{\hfil{\sc #1}\hfil}%
 \setbox\@tempboxa\hbox{{\it #2}}%
 \ifdim \wd\@tempboxa >\hsize {\it #2}\par \else
 \hbox to \hsize{\hfil\box\@tempboxa\hfil}\fi
 \vskip 10pt
 \fi}

 
%\newif\iftable  \global\tablefalse 
 
 
%\long\def\@makecaption#1#2{% 
%\setlength{\parindent}{18pt}
% \vskip 12pt  
%    \iftable 
 %              \hbox to \hsize{\hfil\sc #1\hfil} 
 %              \hbox to \hsize{\hfil\it #2\hfil} 
 %              \global\tablefalse 
 %    \else 
 %      \setbox\@tempboxa\hbox{{\small#1} {\small\it#2}} 
 %        \ifdim \wd\@tempboxa >\hsize  
 %           \indent{\small#1}{\small\it#2}\par  
 %               \else  
 %                \hbox to\hsize{\hfil\box\@tempboxa\hfil}\fi 
 % \fi} 
% \vskip 6pt} 
 
 
 
%\def\figure{\global\tablefalse\@float{figure}} 
\def\fnum@figure{\par\sc Fig. \thefigure.\ } 
%\def\fnum@figure{\par\sc Fig. \thefigure\ } 
 
%\def\table{\global\tabletrue\@float{table}} 
\def\fnum@table{\small \sc Table \thetable} 
 
 
 

 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%                                         % 
%             SECTIONS                    % 
%                                         % 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus 
 -.2ex}%{2.3ex plus .2ex}
{2pt}{\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus 
 -.2ex}%{1.5ex plus .2ex}
{2pt}{\large\bf}}
\def\subsubsection{\@startsection {subsubsection}{3}{\z@}{1.3ex plus .5ex minus 
    .2ex}{-.5em plus -.1em}{\normalsize\bf}}






%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%%                                          %% 
%%            BIBLIOGRAPHY                  %% 
%%                                          %% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

 
\def\thebibliography#1{% 
%\cleardoublepage 
\parindent 0em
\vspace{9pt}
\begin{flushleft}\large\bf {References}\end{flushleft}
\addvspace{3pt}\nopagebreak\list 
 %% default is no labels, for those not using \cite or BibTeX 
{[\arabic{enumi}]} {\settowidth\labelwidth{[#1]} 
%%{[\arabic{enumi}]}{\settowidth\labelwidth{mm} 
\leftmargin\labelwidth 
\leftmargin=17pt
 \advance\leftmargin\labelsep 
 \usecounter{enumi}\@bibsetup} 
\def\newblock{\hskip .11em plus .33em minus -.07em} 
 \sloppy\clubpenalty4000\widowpenalty4000 
 \sfcode`\.=1000\relax} 


 
%% setup 8/10 type 
\def\@bibsetup{%\itemindent=0pt
\itemsep=0pt \parsep=0pt
\small} 
 
\def\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt} 
 
  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%                                         % 
%                INDEX                    % 
%                                         % 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
 
 
%makeindex.sty        official version 6.4  
%The second line came from /usr/misc/lib/tex82/report.sty. 
 
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi 
\columnseprule \z@ 
\columnsep 35pt\twocolumn[\chapter*{Index}] 
 \parskip\z@ plus .3pt\relax\let\item\@idxitem} 
 
 
\def\printindex{\cleardoublepage\markboth{INDEX}{INDEX} 
\addcontentsline{toc}{chapter}{Index}\@input{\jobname.ind}} 
 
\ps@headings  
 
 
%%% end of style file