1 % SIG-ALT-RELEASE2.CLS - VERSION 1.5
\r
2 % "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V3.1SP
\r
3 % PRODUCES A 'TIGHTER' PAPER AND DOES INCLUDE A RELEASE STATEMENT
\r
4 % Gerald Murray June 7th. 2007
\r
6 % ---- Start of 'updates' ----
\r
8 % To produce Type 1 fonts in the document plus allow for 'normal LaTeX accenting' in the critical areas;
\r
9 % title, author block, section-heads, confname, etc. etc.
\r
10 % i.e. the whole purpose of this version update is to NOT resort to 'inelegant accent patches'.
\r
11 % After much research, three extra .sty packages were added to the the tail (ae, aecompl, aeguill) to solve,
\r
12 % in particular, the accenting problem(s). We _could_ ask authors (via instructions/sample file) to 'include' these in
\r
13 % the source .tex file - in the preamble - but if everything is already provided ('behind the scenes' - embedded IN the .cls)
\r
14 % then this is less work for authors and also makes everything appear 'vanilla'.
\r
15 % NOTE: all 'patchwork accenting" has been commented out (here) and is no longer 'used' in the sample .tex file (either).
\r
18 % Patch for accenting in conference name/location. Gerry May 3rd. 2007
\r
19 % Rule widths changed to .5, author count (>6) fixed, roll-back for Type 3 problem. Gerry March 20th. 2007
\r
20 % Changes made to 'modernize' the fontnames but esp. for MikTeX users V2.4/2.5 - Nov. 30th. 2006
\r
21 % Updated the \email definition to allow for its use inside of 'shared affiliations' - Nov. 30th. 2006
\r
22 % Fixed the 'section number depth value' - Nov. 30th. 2006
\r
24 % Footnotes inside table cells using \minipage (Oct. 2002)
\r
25 % Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
\r
26 % JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
\r
28 % Made the Permission Statement / Conference Info / Copyright Info
\r
29 % 'user definable' in the source .tex file OR automatic if
\r
32 % Allowance made to switch default fonts between those systems using
\r
33 % normal/modern font names and those using 'Type 1' or 'Truetype' fonts.
\r
34 % See LINE NUMBER 255 for details.
\r
35 % Also provided for enumerated/annotated Corollaries 'surrounded' by
\r
36 % enumerated Theorems (line 848).
\r
37 % Gerry November 11th. 1999
\r
39 % ---- End of 'updates' ----
\r
41 \def\fileversion{v1.5} % for ACM's tracking purposes
\r
42 \def\filedate{June 7, 2007} % Gerry Murray's tracking data
\r
43 \def\docdate {Thursday 7th. June 2007} % Gerry Murray (with deltas to doc}
\r
45 \usepackage{amssymb}
\r
46 \usepackage{amsmath}
\r
47 \usepackage{amsfonts}
\r
48 % Need this for accents in Arial/Helvetica
\r
49 %\usepackage[T1]{fontenc} % Gerry March 12, 2007 - causes Type 3 problems (body text)
\r
50 %\usepackage{textcomp}
\r
52 % SIG-ALT-RELEASE2 DOCUMENT STYLE
\r
53 % G.K.M. Tobin August-October 1999
\r
54 % adapted from ARTICLE document style by Ken Traub, Olin Shivers
\r
55 % also using elements of esub2acm.cls
\r
56 % HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000
\r
57 % ARTICLE DOCUMENT STYLE -- Released 16 March 1988
\r
58 % for LaTeX version 2.09
\r
59 % Copyright (C) 1988 by Leslie Lamport
\r
62 %%% sig-alt-release2.cls is an 'ALTERNATE-RELEASE' document style for producing
\r
63 %%% two-column camera-ready pages for ACM conferences.
\r
64 %%% THIS FILE DOES NOT STRICTLY ADHERE TO THE SIGS (BOARD-ENDORSED)
\r
65 %%% PROCEEDINGS STYLE. It has been designed to produce a 'tighter'
\r
66 %%% paper in response to concerns over page budgets.
\r
67 %%% The main features of this style are:
\r
70 %%% 2) Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of
\r
71 %%% 2pc, hence columns are 20pc wide and 55.5pc tall. (6pc =3D 1in, approx)
\r
72 %%% 3) First page has title information, and an extra 6pc of space at the
\r
73 %%% bottom of the first column for the ACM copyright notice.
\r
74 %%% 4) Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.
\r
77 %%% There are a few restrictions you must observe:
\r
79 %%% 1) You cannot change the font size; ACM wants you to use 9pt.
\r
80 %%% 3) You must start your paper with the \maketitle command. Prior to the
\r
81 %%% \maketitle you must have \title and \author commands. If you have a
\r
82 %%% \date command it will be ignored; no date appears on the paper, since
\r
83 %%% the proceedings will have a date on the front cover.
\r
84 %%% 4) Marginal paragraphs, tables of contents, lists of figures and tables,
\r
85 %%% and page headings are all forbidden.
\r
86 %%% 5) The `figure' environment will produce a figure one column wide; if you
\r
87 %%% want one that is two columns wide, use `figure*'.
\r
90 %%% Copyright Space:
\r
91 %%% This style automatically reserves 1" blank space at the bottom of page 1/
\r
92 %%% column 1. This space can optionally be filled with some text using the
\r
93 %%% \toappear{...} command. If used, this command must be BEFORE the \maketitle
\r
94 %%% command. If this command is defined AND [preprint] is on, then the
\r
95 %%% space is filled with the {...} text (at the bottom); otherwise, it is
\r
96 %%% blank. If you use \toappearbox{...} instead of \toappear{...} then a
\r
97 %%% box will be drawn around the text (if [preprint] is on).
\r
99 %%% A typical usage looks like this:
\r
100 %%% \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian
\r
101 %%% Embalming Technique, June 1991, Alfaretta, Georgia.}
\r
102 %%% This will be included in the preprint, and left out of the conference
\r
106 %%% Some dvi-ps converters heuristically allow chars to drift from their
\r
107 %%% true positions a few pixels. This may be noticeable with the 9pt sans-serif
\r
108 %%% bold font used for section headers.
\r
109 %%% You may turn this hackery off via the -e option:
\r
110 %%% dvips -e 0 foo.dvi >foo.ps
\r
112 \typeout{Document Class 'sig-alt-release2' <7th. June '07>. Modified by G.K.M. Tobin/Gerry Murray}
\r
113 \typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
\r
114 \typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
\r
115 \typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
\r
116 \typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}
\r
117 \typeout{Questions on the style, SIGS policies, etc. to Gerry Murray at ACM murray@acm.org}
\r
118 \oddsidemargin 4.5pc
\r
119 \evensidemargin 4.5pc
\r
120 \advance\oddsidemargin by -1in % Correct for LaTeX gratuitousness
\r
121 \advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
\r
122 \marginparwidth 0pt % Margin pars are not allowed.
\r
123 \marginparsep 11pt % Horizontal space between outer margin and
\r
127 \topmargin 4.5pc % Nominal distance from top of page to top of
\r
128 % box containing running head.
\r
129 \advance\topmargin by -1in % Correct for LaTeX gratuitousness
\r
130 \headheight 0pt % Height of box containing running head.
\r
131 \headsep 0pt % Space between running head and text.
\r
133 \footskip 30pt % Distance from baseline of box containing foot
\r
134 % to baseline of last line of text.
\r
135 \@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
\r
136 \footheight 12pt % Height of box containing running foot.
\r
138 %% Must redefine the top margin so there's room for headers and
\r
139 %% page numbers if you are using the preprint option. Footers
\r
140 %% are OK as is. Olin.
\r
141 \advance\topmargin by -37pt % Leave 37pt above text for headers
\r
142 \headheight 12pt % Height of box containing running head.
\r
143 \headsep 25pt % Space between running head and text.
\r
145 \textheight 666pt % 9 1/4 column height
\r
146 \textwidth 42pc % Width of text line.
\r
147 % For two-column mode:
\r
148 \columnsep 2pc % Space between columns
\r
149 \columnseprule 0pt % Width of rule between columns.
\r
150 \hfuzz 1pt % Allow some variation in column width, otherwise it's
\r
151 % too hard to typeset in narrow columns.
\r
153 \footnotesep 5.6pt % Height of strut placed at the beginning of every
\r
154 % footnote =3D height of normal \footnotesize strut,
\r
155 % so no extra space between footnotes.
\r
157 \skip\footins 8.1pt plus 4pt minus 2pt % Space between last line of text and
\r
158 % top of first footnote.
\r
159 \floatsep 11pt plus 2pt minus 2pt % Space between adjacent floats moved
\r
160 % to top or bottom of text page.
\r
161 \textfloatsep 18pt plus 2pt minus 4pt % Space between main text and floats
\r
162 % at top or bottom of page.
\r
163 \intextsep 11pt plus 2pt minus 2pt % Space between in-text figures and
\r
165 \@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
\r
166 \@maxsep 18pt % The maximum of \floatsep,
\r
167 % \textfloatsep and \intextsep (minus
\r
168 % the stretch and shrink).
\r
169 \dblfloatsep 11pt plus 2pt minus 2pt % Same as \floatsep for double-column
\r
170 % figures in two-column mode.
\r
171 \dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column
\r
173 \@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
\r
174 \@dblmaxsep 18pt % The maximum of \dblfloatsep and
\r
176 \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must be
\r
178 \@fpsep 8pt plus 2fil % Space between floats on float page/column.
\r
179 \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must be
\r
181 \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
\r
182 \@dblfpsep 8pt plus 2fil % Space between floats on float page.
\r
183 \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
\r
185 \marginparpush 5pt % Minimum vertical separation between two marginal
\r
188 \parskip 0pt plus 1pt % Extra vertical space between paragraphs.
\r
189 \parindent 9pt % GM July 2000 / was 0pt - width of paragraph indentation.
\r
190 \partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to
\r
191 % \parskip and \topsep, added when user
\r
192 % leaves blank line before environment.
\r
194 \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
\r
195 \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
\r
196 \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
\r
198 \@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
\r
199 \@endparpenalty -\@lowpenalty % After a list or paragraph environment.
\r
200 \@itempenalty -\@lowpenalty % Between list items.
\r
202 \@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
\r
203 document style.}\@eha}
\r
204 \@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
\r
205 document style.}\@eha}
\r
206 \@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
\r
207 document style.}\@eha}
\r
211 \lineskip 2pt % \lineskip is 1pt for all font sizes.
\r
212 \normallineskip 2pt
\r
213 \def\baselinestretch{1}
\r
215 \abovedisplayskip 9pt plus2pt minus4.5pt%
\r
216 \belowdisplayskip \abovedisplayskip
\r
217 \abovedisplayshortskip \z@ plus3pt%
\r
218 \belowdisplayshortskip 5.4pt plus3pt minus3pt%
\r
219 \let\@listi\@listI % Setting of \@listi added 9 Jun 87
\r
221 \def\small{\@setsize\small{9pt}\viiipt\@viiipt
\r
222 \abovedisplayskip 7.6pt plus 3pt minus 4pt%
\r
223 \belowdisplayskip \abovedisplayskip
\r
224 \abovedisplayshortskip \z@ plus2pt%
\r
225 \belowdisplayshortskip 3.6pt plus2pt minus 2pt
\r
226 \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
\r
227 \topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
\r
230 \def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt
\r
231 \abovedisplayskip 6.4pt plus 2pt minus 4pt%
\r
232 \belowdisplayskip \abovedisplayskip
\r
233 \abovedisplayshortskip \z@ plus 1pt%
\r
234 \belowdisplayshortskip 2.7pt plus 1pt minus 2pt
\r
235 \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
\r
236 \topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
\r
240 \newcount\originalaucount
\r
242 \auwidth=\textwidth
\r
244 \newcount\auskipcount
\r
247 \newdimen\allauboxes
\r
248 \allauboxes=\auwidth
\r
249 \newtoks\addauthors
\r
250 \newcount\addauflag
\r
251 \global\addauflag=0 %Haven't shown additional authors yet
\r
253 \newtoks\subtitletext
\r
254 \gdef\subtitle#1{\subtitletext={#1}}
\r
256 \gdef\additionalauthors#1{\addauthors={#1}}
\r
258 \gdef\numberofauthors#1{\global\aucount=#1
\r
259 \ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}
\r
260 \global\auskipcount=\aucount\global\advance\auskipcount by 1
\r
261 \global\multiply\auskipcount by 2
\r
262 \global\multiply\auskip by \auskipcount
\r
263 \global\advance\auwidth by -\auskip
\r
264 \global\divide\auwidth by \aucount}
\r
266 % \and was modified to count the number of authors. GKMT 12 Aug 1999
\r
267 \def\alignauthor{% % \begin{tabular}
\r
269 \begin{tabular}[t]{p{\auwidth}}\centering}%
\r
271 % *** NOTE *** NOTE *** NOTE *** NOTE ***
\r
272 % If you have 'font problems' then you may need
\r
273 % to change these, e.g. 'arialb' instead of "arialbd".
\r
274 % Gerry Murray 11/11/1999
\r
275 % *** OR ** comment out block A and activate block B or vice versa.
\r
276 % **********************************************
\r
278 % -- Start of block A -- (Type 1 or Truetype fonts)
\r
279 %\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd
\r
280 %\newfont{\secit}{timesbi at 12pt} %13 Jan 00 gkmt
\r
281 %\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi
\r
282 %\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000
\r
283 % % because "normal" is italic, "italic" is Roman
\r
284 %\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd
\r
285 %\newfont{\ttlit}{arialbi at 18pt} % 13 Jan 00 gkmt
\r
286 %\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial
\r
287 %\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt
\r
288 %\newfont{\subttlbf}{arialbd at 14pt} % 13 Jan 00 gkmt
\r
289 %\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial
\r
290 %\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt
\r
291 %\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial
\r
292 %\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt
\r
293 %\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial
\r
294 %\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times
\r
295 %\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi
\r
296 %\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times
\r
297 %\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times
\r
299 % *********************************************
\r
300 % -- End of block A --
\r
303 % -- Start of block B -- UPDATED FONT NAMES
\r
304 % *********************************************
\r
305 % Gerry Murray 11/30/2006
\r
306 % *********************************************
\r
307 \newfont{\secfnt}{ptmb8t at 12pt}
\r
308 \newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
\r
309 \newfont{\subsecfnt}{ptmri8t at 11pt}
\r
310 \newfont{\subsecit}{ptmbi8t at 11pt} %
\r
311 \newfont{\ttlfnt}{phvb8t at 18pt}
\r
312 \newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
\r
313 \newfont{\subttlfnt}{phvr8t at 14pt}
\r
314 \newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
\r
315 \newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
\r
316 \newfont{\aufnt}{phvr8t at 12pt}
\r
317 \newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
\r
318 \newfont{\affaddr}{phvr8t at 10pt}
\r
319 \newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
\r
320 \newfont{\eaddfnt}{phvr8t at 12pt}
\r
321 \newfont{\ixpt}{ptmr8t at 9pt}
\r
322 \newfont{\confname}{ptmri8t at 8pt}
\r
323 \newfont{\crnotice}{ptmr8t at 8pt}
\r
324 \newfont{\ninept}{ptmr8t at 9pt}
\r
325 % +++++++++++++++++++++++++++++++++++++++++++++
\r
326 % -- End of block B --
\r
328 %\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
\r
329 % If we have an email, inside a "shared affiliation" then we need the following instead
\r
330 \def\email#1{{{\eaddfnt{\par #1}}}} % revised - GM - 11/30/2006
\r
332 \def\addauthorsection{\ifnum\originalaucount>6 % was 3 - Gerry March 2007
\r
333 \section{Additional Authors}\the\addauthors
\r
336 \newcount\savesection
\r
337 \newcount\sectioncntr
\r
338 \global\sectioncntr=1
\r
340 \setcounter{secnumdepth}{3}
\r
343 \section*{APPENDIX}
\r
344 \setcounter{section}{0}
\r
345 \setcounter{subsection}{0}
\r
346 \def\thesection{\Alph{section}} }
\r
348 \leftmargini 22.5pt
\r
349 \leftmarginii 19.8pt % > \labelsep + width of '(m)'
\r
350 \leftmarginiii 16.8pt % > \labelsep + width of 'vii.'
\r
351 \leftmarginiv 15.3pt % > \labelsep + width of 'M.'
\r
355 \leftmargin\leftmargini
\r
357 \labelwidth\leftmargini\advance\labelwidth-\labelsep
\r
359 \def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
\r
360 \topsep 7.2pt plus 2pt minus 4pt%
\r
361 \itemsep 3.6pt plus 2pt minus 1pt}
\r
366 \def\@listii{\leftmargin\leftmarginii
\r
367 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
\r
368 \topsep 3.6pt plus 2pt minus 1pt
\r
369 \parsep 1.8pt plus 0.9pt minus 0.9pt
\r
372 \def\@listiii{\leftmargin\leftmarginiii
\r
373 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\r
374 \topsep 1.8pt plus 0.9pt minus 0.9pt
\r
375 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
\r
378 \def\@listiv{\leftmargin\leftmarginiv
\r
379 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\r
381 \def\@listv{\leftmargin\leftmarginv
\r
382 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\r
384 \def\@listvi{\leftmargin\leftmarginvi
\r
385 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
\r
387 \def\labelenumi{\theenumi.}
\r
388 \def\theenumi{\arabic{enumi}}
\r
390 \def\labelenumii{(\theenumii)}
\r
391 \def\theenumii{\alph{enumii}}
\r
392 \def\p@enumii{\theenumi}
\r
394 \def\labelenumiii{\theenumiii.}
\r
395 \def\theenumiii{\roman{enumiii}}
\r
396 \def\p@enumiii{\theenumi(\theenumii)}
\r
398 \def\labelenumiv{\theenumiv.}
\r
399 \def\theenumiv{\Alph{enumiv}}
\r
400 \def\p@enumiv{\p@enumiii\theenumiii}
\r
402 \def\labelitemi{$\bullet$}
\r
403 \def\labelitemii{\bf --}
\r
404 \def\labelitemiii{$\ast$}
\r
405 \def\labelitemiv{$\cdot$}
\r
407 \def\verse{\let\\=\@centercr
\r
408 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
\r
409 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
\r
410 \let\endverse\endlist
\r
412 \def\quotation{\list{}{\listparindent 1.5em
\r
413 \itemindent\listparindent
\r
414 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
\r
415 \let\endquotation=\endlist
\r
417 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
\r
418 \let\endquote=\endlist
\r
420 \def\descriptionlabel#1{\hspace\labelsep \bf #1}
\r
421 \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\r
422 \let\makelabel\descriptionlabel}}
\r
424 \let\enddescription\endlist
\r
426 \def\theequation{\arabic{equation}}
\r
428 \arraycolsep 4.5pt % Half the space between columns in an array environment.
\r
429 \tabcolsep 5.4pt % Half the space between columns in a tabular environment.
\r
430 \arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007
\r
431 \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
\r
433 \tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.)
\r
435 \skip\@mpfootins =\skip\footins
\r
437 \fboxsep =2.7pt % Space left between box and text by \fbox and \framebox.
\r
438 \fboxrule =.5pt % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007
\r
440 \def\thepart{\Roman{part}} % Roman numeral part numbers.
\r
441 \def\thesection {\arabic{section}}
\r
442 \def\thesubsection {\thesection.\arabic{subsection}}
\r
443 %\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
\r
444 %\def\theparagraph {\thesubsubsection.\arabic{paragraph}} % GM 7/30/2002
\r
445 \def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
\r
447 \def\@pnumwidth{1.55em}
\r
448 \def\@tocrmarg {2.55em}
\r
450 \setcounter{tocdepth}{3}
\r
452 \def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
\r
453 allowed in the `acmconf' document style.}\@eha}
\r
455 \def\l@part#1#2{\addpenalty{\@secpenalty}
\r
456 \addvspace{2.25em plus 1pt} % space above part line
\r
458 \@tempdima 3em % width of box holding part number, used by
\r
459 \parindent \z@ \rightskip \@pnumwidth %% \numberline
\r
460 \parfillskip -\@pnumwidth
\r
461 {\large \bf % set line in \large boldface
\r
462 \leavevmode % TeX command to enter horizontal mode.
\r
463 #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
\r
464 \nobreak % Never break after part entry
\r
467 \def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
\r
468 \addvspace{1.0em plus 1pt} % space above toc entry
\r
469 \@tempdima 1.5em % width of box holding section number
\r
471 \parindent \z@ \rightskip \@pnumwidth
\r
472 \parfillskip -\@pnumwidth
\r
474 \leavevmode % TeX command to enter horizontal mode.
\r
475 \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
\r
476 \hskip -\leftskip %% 25 Jan 88 change to \numberline
\r
477 #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
\r
481 \def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\r
482 \def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\r
483 \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\r
484 \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\r
486 \def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
\r
487 allowed in the `acmconf' document style.}\@eha}
\r
489 \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\r
491 \def\listoftables{\@latexerr{\listoftables: Lists of tables are not
\r
492 allowed in the `acmconf' document style.}\@eha}
\r
493 \let\l@table\l@figure
\r
495 \def\footnoterule{\kern-3\p@
\r
496 \hrule width .5\columnwidth % (was .4) updated Gerry March 20 2007
\r
497 \kern 2.6\p@} % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007
\r
499 \long\def\@makefntext#1{\noindent
\r
500 %\hbox to .5em{\hss$^{\@thefnmark}$}#1} % original
\r
501 \hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1} % C. Clifton / GM Oct. 2nd. 2002
\r
504 \long\def\@maketntext#1{\noindent
\r
507 \long\def\@maketitlenotetext#1#2{\noindent
\r
508 \hbox to 1.8em{\hss$^{#1}$}#2}
\r
510 \setcounter{topnumber}{2}
\r
511 \def\topfraction{.7}
\r
512 \setcounter{bottomnumber}{1}
\r
513 \def\bottomfraction{.3}
\r
514 \setcounter{totalnumber}{3}
\r
515 \def\textfraction{.2}
\r
516 \def\floatpagefraction{.5}
\r
517 \setcounter{dbltopnumber}{2}
\r
518 \def\dbltopfraction{.7}
\r
519 \def\dblfloatpagefraction{.5}
\r
522 \long\def\@makecaption#1#2{
\r
523 \vskip \baselineskip
\r
524 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
\r
525 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
\r
526 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
\r
527 \else % ELSE center.
\r
528 \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
\r
533 \long\def\@makecaption#1#2{
\r
535 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
\r
536 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
\r
537 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
\r
538 \else % ELSE center.
\r
539 \hbox to\hsize{\hfil\box\@tempboxa\hfil}
\r
542 \@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
\r
544 \def\fps@figure{tbp}
\r
545 \def\ftype@figure{1}
\r
546 \def\ext@figure{lof}
\r
547 \def\fnum@figure{Figure \thefigure}
\r
548 \def\figure{\@float{figure}}
\r
549 \let\endfigure\end@float
\r
550 \@namedef{figure*}{\@dblfloat{figure}}
\r
551 \@namedef{endfigure*}{\end@dblfloat}
\r
553 \@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
\r
555 \def\fps@table{tbp}
\r
556 \def\ftype@table{2}
\r
557 \def\ext@table{lot}
\r
558 \def\fnum@table{Table \thetable}
\r
559 \def\table{\@float{table}}
\r
560 \let\endtable\end@float
\r
561 \@namedef{table*}{\@dblfloat{table}}
\r
562 \@namedef{endtable*}{\end@dblfloat}
\r
564 \newtoks\titleboxnotes
\r
565 \newcount\titleboxnoteflag
\r
567 \def\maketitle{\par
\r
569 \def\thefootnote{\fnsymbol{footnote}}
\r
570 \def\@makefnmark{\hbox
\r
571 to 0pt{$^{\@thefnmark}$\hss}}
\r
572 \twocolumn[\@maketitle]
\r
575 \setcounter{footnote}{0}
\r
576 \let\maketitle\relax
\r
577 \let\@maketitle\relax
\r
578 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
\r
581 %% CHANGES ON NEXT LINES
\r
582 \newif\if@ll % to record which version of LaTeX is in use
\r
584 \expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
\r
585 \else% LaTeX2e is used, so set ll to true
\r
590 \NeedsTeXFormat{LaTeX2e}
\r
591 \ProvidesClass{sig-alt-release2} [2007/06/07 - V1.5 - based on acmproc.cls V1.3 <Nov. 30 '99>]
\r
592 \RequirePackage{latexsym}% QUERY: are these two really needed?
\r
593 \let\dooptions\ProcessOptions
\r
595 \let\dooptions\@options
\r
599 \def\@height{height}
\r
603 \def\hb@xt@{\hbox to}
\r
606 \def\ds@faircopy{\@faircopytrue}
\r
608 \def\ds@preprint{\@faircopyfalse}
\r
612 \def\ds@draft{\overfullrule 5\p@}
\r
613 %% CHANGE ON NEXT LINE
\r
617 \normallineskip \p@
\r
618 \def\baselinestretch{1}
\r
619 \def\@ptsize{0} %needed for amssymbols.sty
\r
621 %% CHANGES ON NEXT LINES
\r
622 \if@ll% allow use of old-style font change commands in LaTeX2e
\r
623 \@maxdepth\maxdepth
\r
625 \DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
\r
626 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\r
627 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\r
628 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\r
629 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\r
630 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\r
631 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\r
632 \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
\r
633 \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
\r
637 \renewcommand{\rmdefault}{cmr} % was 'ttm'
\r
638 % Note! I have also found 'mvr' to work ESPECIALLY well.
\r
639 % Gerry - October 1999
\r
640 % You may need to change your LV1times.fd file so that sc is
\r
641 % mapped to cmcsc - -for smallcaps -- that is if you decide
\r
642 % to change {cmr} to {times} above. (Not recommended)
\r
643 \renewcommand{\@ptsize}{}
\r
644 \renewcommand{\normalsize}{%
\r
645 \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
\r
646 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
\r
647 \belowdisplayskip \abovedisplayskip
\r
648 \abovedisplayshortskip 6\p@ \@minus 3\p@
\r
649 \belowdisplayshortskip 6\p@ \@minus 3\p@
\r
653 \def\@normalsize{%changed next to 9 from 10
\r
654 \@setsize\normalsize{9\p@}\ixpt\@ixpt
\r
655 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
\r
656 \belowdisplayskip \abovedisplayskip
\r
657 \abovedisplayshortskip 6\p@ \@minus 3\p@
\r
658 \belowdisplayshortskip 6\p@ \@minus 3\p@
\r
663 \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
\r
664 \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
\r
665 \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
\r
666 \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
\r
667 \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
\r
668 \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
\r
669 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
\r
671 \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
\r
672 \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
\r
673 \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
\r
674 \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
\r
675 \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
\r
676 \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
\r
677 \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
\r
681 % make aubox hsize/number of authors up to 3, less gutter
\r
682 % then showbox gutter showbox gutter showbox -- GKMT Aug 99
\r
683 \newbox\@acmtitlebox
\r
684 \def\@maketitle{\newpage
\r
686 \setbox\@acmtitlebox\vbox{%
\r
688 \vskip 2em % Vertical space above title.
\r
690 {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size.
\r
691 \vskip 1.5em % Vertical space after title.
\r
692 %This should be the subtitle.
\r
693 {\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
\r
694 {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a
\r
695 \lineskip .5em % tabular environment
\r
696 \begin{tabular}[t]{c}\@author
\r
698 \vskip 1.5em % Vertical space after author.
\r
700 \dimen0=\ht\@acmtitlebox
\r
701 \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
\r
702 \unvbox\@acmtitlebox
\r
703 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
\r
706 \newcount\titlenotecount
\r
707 \global\titlenotecount=0
\r
710 \newtoks\tntoksthree
\r
711 \newtoks\tntoksfour
\r
712 \newtoks\tntoksfive
\r
715 \ifnum\titlenotecount>0 % was =1
\r
717 \reset@font\footnotesize
\r
718 \interlinepenalty\interfootnotelinepenalty
\r
719 \splittopskip\footnotesep
\r
720 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\r
721 \hsize\columnwidth \@parboxrestore
\r
722 \protected@edef\@currentlabel{%
\r
725 \ifnum\titlenotecount=1
\r
727 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
\r
729 \ifnum\titlenotecount=2
\r
731 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
733 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
\r
735 \ifnum\titlenotecount=3
\r
737 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
739 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
741 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
\r
743 \ifnum\titlenotecount=4
\r
745 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
747 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
749 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
\r
751 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
\r
753 \ifnum\titlenotecount=5
\r
755 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
757 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
759 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
\r
761 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
\r
763 \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
\r
765 \color@endgroup} %g}
\r
767 \setcounter{footnote}{0}
\r
768 \section*{ABSTRACT}\normalsize%\ninept
\r
771 \def\endabstract{\if@twocolumn\else\endquotation\fi}
\r
773 \def\keywords{\if@twocolumn
\r
774 \section*{Keywords}
\r
779 \def\terms{\if@twocolumn
\r
780 \section*{General Terms}
\r
785 % -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
\r
789 \def\category#1#2#3{%
\r
791 \section*{Categories and Subject Descriptors}
\r
792 \advance\catcount by 1\else{\unskip; }\fi
\r
793 \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
\r
796 \def\@category#1#2#3[#4]{%
\r
801 \if!#3!\else : #3\fi
\r
804 \if!#3!\else #3\kern\z@---\hskip\z@\fi
\r
811 %%% This section (written by KBT) handles the 1" box in the lower left
\r
812 %%% corner of the left column of the first page by creating a picture,
\r
813 %%% and inserting the predefined string at the bottom (with a negative
\r
814 %%% displacement to offset the space allocated for a non-existent
\r
817 \newtoks\copyrightnotice
\r
818 \def\ftype@copyrightbox{8}
\r
819 \def\@copyrightspace{
\r
820 \@float{copyrightbox}[b]
\r
822 \setlength{\unitlength}{1pc}
\r
823 %\begin{picture}(20,6) %Space for copyright notice
\r
824 \begin{picture}(20,1) %Space for copyright notice
\r
825 \put(0,-0.95){\crnotice{\@toappear}}
\r
830 \def\@toappear{} % Default setting blank - commands below change this.
\r
831 \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
\r
832 \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
\r
836 \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
\r
839 \def\marginpar{\@latexerr{The \marginpar command is not allowed in the
\r
840 `acmconf' document style.}\@eha}
\r
842 \mark{{}{}} % Initializes TeX's marks
\r
844 \def\today{\ifcase\month\or
\r
845 January\or February\or March\or April\or May\or June\or
\r
846 July\or August\or September\or October\or November\or December\fi
\r
847 \space\number\day, \number\year}
\r
849 \def\@begintheorem#1#2{%
\r
850 \parskip 0pt % GM July 2000 (for tighter spacing)
\r
855 {{\sc #1}\hskip 5\p@\relax#2.}%
\r
859 \def\@opargbegintheorem#1#2#3{%
\r
860 \parskip 0pt % GM July 2000 (for tighter spacing)
\r
865 {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries
\r
866 \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title'
\r
867 \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
\r
868 \hskip 5\p@\relax % if they occur 'around' said corollaries.
\r
869 \box\@tempboxa % Gerry - Nov. 1999.
\r
875 \global\@qededfalse
\r
879 % \vspace{-\parskip} % GM July 2000 (for tighter spacing)
\r
880 % \global\@qededfalse
\r
881 % \@ifnextchar[{\@xproof}{\@proof}%
\r
883 % -- end of original
\r
885 % (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
\r
887 \vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
\r
888 \global\@qededfalse
\r
889 \@ifnextchar[{\@xproof}{\@proof}%
\r
893 \if@qeded\else\qed\fi
\r
907 \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
\r
915 \linethickness{.4\p@}%
\r
922 \expandafter\@ifdefinable\csname #1\endcsname
\r
923 {\@definecounter{#1}%
\r
924 \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
\r
925 \global\@namedef{#1}{\@defthm{#1}{#2}}%
\r
926 \global\@namedef{end#1}{\@endtheorem}%
\r
930 \refstepcounter{#1}%
\r
931 \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
\r
933 \def\@xdefthm#1#2{%
\r
934 \@begindef{#2}{\csname the#1\endcsname}%
\r
937 \def\@ydefthm#1#2[#3]{%
\r
943 \savebox\@tempboxa{#3}%
\r
944 \ifdim \wd\@tempboxa>\z@
\r
950 \def\@begindef#1#2{%
\r
958 \def\theequation{\arabic{equation}}
\r
961 \newcounter{section}
\r
962 \newcounter{subsection}[section]
\r
963 \newcounter{subsubsection}[subsection]
\r
964 \newcounter{paragraph}[subsubsection]
\r
965 \def\thepart{\Roman{part}}
\r
966 \def\thesection{\arabic{section}}
\r
967 \def\thesubsection{\thesection.\arabic{subsection}}
\r
968 \def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
\r
969 \def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
\r
973 %% CHANGES: NEW NOTE
\r
974 %% NOTE: OK to use old-style font commands below, since they were
\r
975 %% suitably redefined for LaTeX2e
\r
977 \setcounter{secnumdepth}{3}
\r
979 \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
\r
980 {4\p@}{\normalsize\@ucheadtrue}%
\r
983 \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}% GM
\r
984 {4\p@}{\baselineskip 14pt\secfnt\@ucheadtrue}%
\r
988 \@startsection{subsection}{2}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}
\r
991 \def\subsubsection{%
\r
992 \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}%
\r
993 {4\p@}{\subsecfnt}%
\r
996 % \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original
\r
997 % {-5\p@}{\subsecfnt}%
\r
999 % If one wants sections, subsections and subsubsections numbered,
\r
1000 % but not paragraphs, one usually sets secnumepth to 3.
\r
1001 % For that, the "depth" of paragraphs must be given correctly
\r
1002 % in the definition (``4'' instead of ``3'' as second argument
\r
1003 % of @startsection):
\r
1005 \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}% % GM and Wolfgang May - 11/30/06
\r
1006 {-5\p@}{\subsecfnt}%
\r
1009 \def\@startsection#1#2#3#4#5#6{%
\r
1010 \if@noskipsec %gkmt, 11 aug 99
\r
1011 \global\let\@period\@empty
\r
1013 \global\let\@period.%
\r
1016 \@tempskipa #4\relax
\r
1018 \ifdim \@tempskipa <\z@
\r
1019 \@tempskipa -\@tempskipa
\r
1020 \@afterindentfalse
\r
1025 \addpenalty\@secpenalty
\r
1026 \addvspace\@tempskipa
\r
1028 \parskip=0pt % GM July 2000 (non numbered) section heads
\r
1030 {\@ssect{#3}{#4}{#5}{#6}}
\r
1031 {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
\r
1033 \def\@sect#1#2#3#4#5#6[#7]#8{%
\r
1034 \ifnum #2>\c@secnumdepth
\r
1035 \let\@svsec\@empty
\r
1037 \refstepcounter{#1}%
\r
1040 %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
\r
1041 \ifnum#2>2 \noexpand#6 \fi
\r
1042 \csname the#1\endcsname
\r
1044 \ifnum #2=1\relax .\fi
\r
1048 \@tempskipa #5\relax
\r
1049 \ifdim \@tempskipa>\z@
\r
1052 \@hangfrom{\hskip #3\relax\@svsec}%
\r
1054 \interlinepenalty \@M
\r
1063 \csname #1mark\endcsname{#7}%
\r
1064 \vskip -12pt %gkmt, 11 aug 99 and GM July 2000 (was -14) - numbered section head spacing
\r
1065 \addcontentsline{toc}{#1}{%
\r
1066 \ifnum #2>\c@secnumdepth \else
\r
1067 \protect\numberline{\csname the#1\endcsname}%
\r
1081 \csname #1mark\endcsname{#7}%
\r
1082 \addcontentsline{toc}{#1}{%
\r
1083 \ifnum #2>\c@secnumdepth \else
\r
1084 \protect\numberline{\csname the#1\endcsname}%
\r
1090 \@xsect{#5}\hskip 1pt
\r
1094 \@tempskipa #1\relax
\r
1095 \ifdim \@tempskipa>\z@
\r
1098 \vskip \@tempskipa
\r
1101 \global\@nobreakfalse
\r
1102 \global\@noskipsectrue
\r
1105 \global\@noskipsecfalse
\r
1107 \hskip -\parindent
\r
1113 \@tempskipa #1\relax
\r
1114 \hskip -\@tempskipa
\r
1116 \clubpenalty \@clubpenalty
\r
1124 \@topsepadd\topsep
\r
1126 \global\let\@period\@empty
\r
1128 \global\let\@period.%
\r
1131 \advance\@topsepadd\partopsep
\r
1141 \@topsep\@topsepadd
\r
1143 \advance\@topsep \parskip
\r
1145 \rightskip\@rightskip
\r
1146 \parfillskip\@flushglue
\r
1147 \@setpar{\if@newlist\else{\@@par}\fi}
\r
1148 \global\@newlisttrue
\r
1149 \@outerparskip\parskip
\r
1152 %%% Actually, 'abbrev' works just fine as the default
\r
1153 %%% Bibliography style.
\r
1155 \typeout{Using 'Abbrev' bibliography style}
\r
1156 \newcommand\bibyear[2]{%
\r
1157 \unskip\quad\ignorespaces#1\unskip
\r
1158 \if#2..\quad \else \quad#2 \fi
\r
1160 \newcommand{\bibemph}[1]{{\em#1}}
\r
1161 \newcommand{\bibemphic}[1]{{\em#1\/}}
\r
1162 \newcommand{\bibsc}[1]{{\sc#1}}
\r
1163 \def\@normalcite{%
\r
1164 \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
\r
1167 \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
\r
1170 \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
\r
1172 \def\start@cite#1#2{%
\r
1173 \edef\citeauthoryear##1##2##3{%
\r
1175 \ifnum#2=\z@ \else\ ###2\fi
\r
1178 \let\@@cite\@citeyear
\r
1180 \let\@@cite\@citenormal
\r
1182 \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
\r
1184 \def\cite{\start@cite23}
\r
1185 \def\citeNP{\cite*}
\r
1186 \def\citeA{\start@cite10}
\r
1187 \def\citeANP{\citeA*}
\r
1188 \def\shortcite{\start@cite23}
\r
1189 \def\shortciteNP{\shortcite*}
\r
1190 \def\shortciteA{\start@cite20}
\r
1191 \def\shortciteANP{\shortciteA*}
\r
1192 \def\citeyear{\start@cite30}
\r
1193 \def\citeyearNP{\citeyear*}
\r
1196 \def\citeauthoryear##1##2##3{##1\ [##3%
\r
1197 \def\reserved@a{##1}%
\r
1198 \def\citeauthoryear####1####2####3{%
\r
1199 \def\reserved@b{####1}%
\r
1200 \ifx\reserved@a\reserved@b
\r
1203 \errmessage{Package acmart Error: author mismatch
\r
1204 in \string\citeN^^J^^J%
\r
1205 See the acmart package documentation for explanation}%
\r
1209 \@ifstar\@citeyear\@citeyear
\r
1213 \def\citeauthoryear##1##2##3{##2\ [##3%
\r
1214 \def\reserved@a{##2}%
\r
1215 \def\citeauthoryear####1####2####3{%
\r
1216 \def\reserved@b{####2}%
\r
1217 \ifx\reserved@a\reserved@b
\r
1220 \errmessage{Package acmart Error: author mismatch
\r
1221 in \string\shortciteN^^J^^J%
\r
1222 See the acmart package documentation for explanation}%
\r
1226 \@ifstar\@citeyear\@citeyear % GM July 2000
\r
1228 \def\@citenormal{%
\r
1229 \@ifnextchar [{\@tempswatrue\@citex;}
\r
1230 {\@tempswafalse\@citex,[]}% % GM July 2000
\r
1233 \@ifnextchar [{\@tempswatrue\@citex,}%
\r
1234 {\@tempswafalse\@citex,[]}%
\r
1236 \def\@citex#1[#2]#3{%
\r
1237 \let\@citea\@empty
\r
1239 \@for\@citeb:=#3\do{%
\r
1242 \edef\@citeb{\expandafter\@iden\@citeb}%
\r
1244 \immediate\write\@auxout{\string\citation{\@citeb}}%
\r
1246 \@ifundefined{b@\@citeb}{%
\r
1249 Citation `\@citeb' on page \thepage\space undefined%
\r
1252 {\csname b@\@citeb\endcsname}%
\r
1256 \let\@biblabel\@gobble
\r
1257 \newdimen\bibindent
\r
1258 \setcounter{enumi}{1}
\r
1260 \def\thebibliography#1{%
\r
1261 \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
\r
1262 \section[References]{% <=== OPTIONAL ARGUMENT ADDED HERE
\r
1263 {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004)
\r
1264 {\vskip -9pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing)
\r
1265 \@mkboth{{\refname}}{{\refname}}%
\r
1267 \list{[\arabic{enumi}]}{%
\r
1268 \settowidth\labelwidth{[#1]}%
\r
1269 \leftmargin\labelwidth
\r
1270 \advance\leftmargin\labelsep
\r
1271 \advance\leftmargin\bibindent
\r
1272 \parsep=0pt\itemsep=1pt % GM July 2000
\r
1273 \itemindent -\bibindent
\r
1274 \listparindent \itemindent
\r
1275 \usecounter{enumi}
\r
1277 \let\newblock\@empty
\r
1278 \raggedright % GM July 2000
\r
1280 \sfcode`\.=1000\relax
\r
1284 \gdef\balancecolumns
\r
1286 \global\@colht=\textheight
\r
1287 \global\ht\@cclv=\textheight
\r
1294 \gdef \@makecol {%
\r
1295 \global\advance\colcntr by 1
\r
1296 \ifnum\colcntr>2 \global\colcntr=1\fi
\r
1298 \setbox\@outputbox \box\@cclv
\r
1300 \setbox\@outputbox \vbox{%
\r
1301 \boxmaxdepth \@maxdepth
\r
1302 \@tempdima\dp\@cclv
\r
1305 \vskip \skip\footins
\r
1313 \xdef\@freelist{\@freelist\@midlist}%
\r
1314 \global \let \@midlist \@empty
\r
1316 \ifvbox\@kludgeins
\r
1317 \@makespecialcolbox
\r
1319 \setbox\@outputbox \vbox to\@colht {%
\r
1321 \dimen@ \dp\@outputbox
\r
1322 \unvbox \@outputbox
\r
1327 \global \maxdepth \@maxdepth
\r
1329 \def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
\r
1330 \global\advance\titlenotecount by 1
\r
1331 \ifnum\titlenotecount=1
\r
1332 \raisebox{9pt}{$\ast$}
\r
1334 \ifnum\titlenotecount=2
\r
1335 \raisebox{9pt}{$\dagger$}
\r
1337 \ifnum\titlenotecount=3
\r
1338 \raisebox{9pt}{$\ddagger$}
\r
1340 \ifnum\titlenotecount=4
\r
1341 \raisebox{9pt}{$\S$}
\r
1343 \ifnum\titlenotecount=5
\r
1344 \raisebox{9pt}{$\P$}
\r
1349 \long\def\@titlenotetext#1{\insert\footins{%
\r
1350 \ifnum\titlenotecount=1\global\tntoks={#1}\fi
\r
1351 \ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
\r
1352 \ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
\r
1353 \ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
\r
1354 \ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
\r
1355 \reset@font\footnotesize
\r
1356 \interlinepenalty\interfootnotelinepenalty
\r
1357 \splittopskip\footnotesep
\r
1358 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\r
1359 \hsize\columnwidth \@parboxrestore
\r
1360 \protected@edef\@currentlabel{%
\r
1365 %%%%%%%%%%%%%%%%%%%%%%%%%
\r
1367 \baselineskip=11pt
\r
1368 \let\thepage\relax % For NO page numbers - GM Nov. 30th. 1999 and July 2000
\r
1369 \def\setpagenumber#1{\global\setcounter{page}{#1}}
\r
1370 %\pagenumbering{arabic} % Arabic page numbers GM July 2000
\r
1371 \twocolumn % Double column.
\r
1372 \flushbottom % Even bottom -- alas, does not balance columns at end of document
\r
1375 % Need Copyright Year and Copyright Data to be user definable (in .tex file).
\r
1376 % Gerry Nov. 30th. 1999
\r
1379 \newtoks\boilerplate
\r
1380 \global\acmcopyr={X-XXXXX-XX-X/XX/XX} % Default - 5/11/2001 *** Gerry
\r
1381 \global\copyrtyr={200X} % Default - 3/3/2003 *** Gerry
\r
1382 \def\CopyrightYear#1{\global\copyrtyr{#1}}
\r
1383 \def\crdata#1{\global\acmcopyr{#1}}
\r
1384 \def\permission#1{\global\boilerplate{#1}}
\r
1386 \global\boilerplate={Copyright is held by the author/owner(s).}
\r
1387 \newtoks\copyrightetc
\r
1388 \global\copyrightetc{ACM \the\acmcopyr}
\r
1390 \toappear{\the\boilerplate\par
\r
1391 {\confname{\the\conf}} \the\confinfo\par \the\copyrightetc.}
\r
1392 %\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8} % << patch needed for accenting e.g. Montreal - Gerry, May 2007
\r
1393 %\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8} % << patch needed for accenting in italicized confname - Gerry, May 2007
\r
1395 %{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.} % << Gerry, May 2007
\r
1397 %% End of sig-alt-release2.cls -- V1.5 - 6/07/2007 --
\r
1398 %% Gerry Murray -- Thursday June 7th. 2007
\r
1400 % The following section (i.e. 3 .sty inclusions) was added in May 2007 so as to fix the problems that many
\r
1401 % authors were having with accents. Sometimes accents would occur, but the letter-character would be of a different
\r
1402 % font. Conversely the letter-character font would be correct but, e.g. a 'bar' would appear superimposed on the
\r
1403 % character instead of, say, an unlaut/diaresis. Sometimes the letter-character would NOT appear at all.
\r
1404 % Using [T1]{fontenc} outright was not an option as this caused 99% of the authors to 'produce' a Type-3 (bitmapped)
\r
1405 % PDF file - useless for production.
\r
1407 % For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil'
\r
1408 % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
1409 %% This is file `ae.sty'
\r
1410 \def\fileversion{1.3}
\r
1411 \def\filedate{2001/02/12}
\r
1412 \NeedsTeXFormat{LaTeX2e}
\r
1413 %\ProvidesPackage{ae}[\filedate\space\fileversion\space % GM
\r
1414 % Almost European Computer Modern] % GM - keeping the log file clean(er)
\r
1415 \newif\if@ae@slides \@ae@slidesfalse
\r
1416 \DeclareOption{slides}{\@ae@slidestrue}
\r
1419 \RequirePackage[T1]{fontenc}
\r
1421 \renewcommand{\sfdefault}{laess}
\r
1422 \renewcommand{\rmdefault}{laess} % no roman
\r
1423 \renewcommand{\ttdefault}{laett}
\r
1425 \renewcommand{\sfdefault}{aess}
\r
1426 \renewcommand{\rmdefault}{aer}
\r
1427 \renewcommand{\ttdefault}{aett}
\r
1431 %% End of file `ae.sty'.
\r
1434 \def\fileversion{0.9}
\r
1435 \def\filedate{1998/07/23}
\r
1436 \NeedsTeXFormat{LaTeX2e}
\r
1437 %\ProvidesPackage{aecompl}[\filedate\space\fileversion\space % GM
\r
1438 %T1 Complements for AE fonts (D. Roegel)] % GM -- keeping the log file clean(er)
\r
1440 \def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}}
\r
1441 \def\guillemotleft{\@ae@compl{19}}
\r
1442 \def\guillemotright{\@ae@compl{20}}
\r
1443 \def\guilsinglleft{\@ae@compl{14}}
\r
1444 \def\guilsinglright{\@ae@compl{15}}
\r
1445 \def\TH{\@ae@compl{222}}
\r
1446 \def\NG{\@ae@compl{141}}
\r
1447 \def\ng{\@ae@compl{173}}
\r
1448 \def\th{\@ae@compl{254}}
\r
1449 \def\DJ{\@ae@compl{208}}
\r
1450 \def\dj{\@ae@compl{158}}
\r
1451 \def\DH{\@ae@compl{208}}
\r
1452 \def\dh{\@ae@compl{240}}
\r
1453 \def\@perthousandzero{\@ae@compl{24}}
\r
1454 \def\textperthousand{\%\@perthousandzero}
\r
1455 \def\textpertenthousand{\%\@perthousandzero\@perthousandzero}
\r
1459 %% This is file `aeguill.sty'
\r
1460 % This file gives french guillemets (and not guillemots!)
\r
1461 % built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts
\r
1462 % or with the EC fonts.
\r
1463 % This is useful in conjunction with the ae package
\r
1464 % (this package loads the ae package in case it has not been loaded)
\r
1465 % and with or without the french(le) package.
\r
1467 % In order to get the guillemets, it is necessary to either type
\r
1468 % \guillemotleft and \guillemotright, or to use an 8 bit encoding
\r
1469 % (such as ISO-Latin1) which selects these two commands,
\r
1470 % or, if you use the french package (but not the frenchle package),
\r
1471 % to type << or >>.
\r
1473 % By default, you get the Polish CMR guillemets; if this package is loaded
\r
1474 % with the `cm' option, you get the LASY guillemets; with `ec,' you
\r
1475 % get the EC guillemets, and with `cyr,' you get the cyrillic guillemets.
\r
1477 % In verbatim mode, you always get the EC/TT guillemets.
\r
1479 % The default option is interesting in conjunction with PDF,
\r
1480 % because there is a Type 1 version of the Polish CMR fonts
\r
1481 % and these guillemets are very close in shape to the EC guillemets.
\r
1482 % There are no free Type 1 versions of the EC fonts.
\r
1484 % Support for Polish CMR guillemets was kindly provided by
\r
1485 % Rolf Niepraschk <niepraschk@ptb.de> in version 0.99 (2000/05/22).
\r
1486 % Bernd Raichle provided extensive simplifications to the code
\r
1487 % for version 1.00.
\r
1489 % This package is released under the LPPL.
\r
1493 % 2001/04/12 1.01 the frenchle and french package are now distinguished.
\r
1495 \def\fileversion{1.01}
\r
1496 \def\filedate{2001/04/12}
\r
1497 \NeedsTeXFormat{LaTeX2e}
\r
1498 %\ProvidesPackage{aeguill}[2001/04/12 1.01 % % GM
\r
1499 %AE fonts with french guillemets (D. Roegel)] % GM - keeping the log file clean(er)
\r
1500 %\RequirePackage{ae} % GM May 2007 - already embedded here
\r
1502 \newcommand{\@ae@switch}[4]{#4}
\r
1503 \DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}}
\r
1504 \DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}}
\r
1505 \DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}}
\r
1506 \DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}}
\r
1507 \ExecuteOptions{pl}
\r
1511 % Load necessary packages
\r
1516 \RequirePackage{latexsym}% GM - May 2007 - already 'mentioned as required' up above
\r
1518 \RequirePackage[OT2,T1]{fontenc}%
\r
1520 \RequirePackage[OT4,T1]{fontenc}%
\r
1523 % The following command will be compared to \frenchname,
\r
1524 % as defined in french.sty and frenchle.sty.
\r
1525 \def\aeguillfrenchdefault{french}%
\r
1527 \let\guill@verbatim@font\verbatim@font
\r
1528 \def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}%
\r
1529 \let\guillemotleft\@oguills\let\guillemotright\@fguills}
\r
1531 \begingroup \catcode`\<=13 \catcode`\>=13
\r
1533 \def\ae@lfguill{<<}%
\r
1534 \def\ae@rfguill{>>}%
\r
1537 \newcommand{\ecguills}[1]{%
\r
1538 \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}%
\r
1539 \def\@oguills{{\selectguillfont\symbol{19}}}%
\r
1540 \def\@fguills{{\selectguillfont\symbol{20}}}%
\r
1543 \newcommand{\aeguills}{%
\r
1545 % We redefine \guillemotleft and \guillemotright
\r
1546 % in order to catch them when they are used
\r
1547 % with \DeclareInputText (in latin1.def for instance)
\r
1548 % We use \auxWARNINGi as a safe indicator that french.sty is used.
\r
1549 \gdef\guillemotleft{\ifx\auxWARNINGi\undefined
\r
1550 \@oguills % neither french.sty nor frenchle.sty
\r
1552 \ifx\aeguillfrenchdefault\frenchname
\r
1553 \ae@lfguill % french.sty
\r
1555 \@oguills % frenchle.sty
\r
1558 \gdef\guillemotright{\ifx\auxWARNINGi\undefined
\r
1559 \@fguills % neither french.sty nor frenchle.sty
\r
1561 \ifx\aeguillfrenchdefault\frenchname
\r
1562 \ae@rfguill % french.sty
\r
1564 \@fguills % frenchle.sty
\r
1570 % Depending on the class option
\r
1571 % define the internal command \ae@guills
\r
1573 \newcommand{\ae@guills}{%
\r
1576 \newcommand{\ae@guills}{%
\r
1577 \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}%
\r
1578 \fontseries{m}\fontshape{n}\selectfont}%
\r
1579 \def\@oguills{\leavevmode\nobreak
\r
1580 \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}%
\r
1581 \def\@fguills{\leavevmode\nobreak
\r
1582 \hbox{\selectguillfont \kern.20em)\kern-.2em)}%
\r
1583 \ifdim\fontdimen\@ne\font>\z@\/\fi}}%
\r
1585 \newcommand{\ae@guills}{%
\r
1586 \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}%
\r
1587 \def\@oguills{{\selectguillfont\symbol{60}}}%
\r
1588 \def\@fguills{{\selectguillfont\symbol{62}}}}
\r
1590 \newcommand{\ae@guills}{%
\r
1591 \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}%
\r
1592 \def\@oguills{{\selectguillfont\symbol{174}}}%
\r
1593 \def\@fguills{{\selectguillfont\symbol{175}}}}
\r
1597 \AtBeginDocument{%
\r
1598 \ifx\GOfrench\undefined
\r
1601 \let\aeguill@GOfrench\GOfrench
\r
1602 \gdef\GOfrench{\aeguill@GOfrench \aeguills}%
\r
1608 %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r