1 % SIG-ALT-RELEASE.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-RELEASE 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-release.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-release' <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 Julie Goetz goetz@acm.org or Adrienne Griscti griscti@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
298 % *********************************************
\r
299 % -- End of block A --
\r
302 % -- Start of block B -- UPDATED FONT NAMES
\r
303 % *********************************************
\r
304 % Gerry Murray 11/30/2006
\r
305 % *********************************************
\r
306 \newfont{\secfnt}{ptmb8t at 12pt}
\r
307 \newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
\r
308 \newfont{\subsecfnt}{ptmri8t at 11pt}
\r
309 \newfont{\subsecit}{ptmbi8t at 11pt} %
\r
310 \newfont{\ttlfnt}{phvb8t at 18pt}
\r
311 \newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
\r
312 \newfont{\subttlfnt}{phvr8t at 14pt}
\r
313 \newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
\r
314 \newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
\r
315 \newfont{\aufnt}{phvr8t at 12pt}
\r
316 \newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
\r
317 \newfont{\affaddr}{phvr8t at 10pt}
\r
318 \newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
\r
319 \newfont{\eaddfnt}{phvr8t at 12pt}
\r
320 \newfont{\ixpt}{ptmr8t at 9pt}
\r
321 \newfont{\confname}{ptmri8t at 8pt}
\r
322 \newfont{\crnotice}{ptmr8t at 8pt}
\r
323 \newfont{\ninept}{ptmr8t at 9pt}
\r
324 % +++++++++++++++++++++++++++++++++++++++++++++
\r
325 % -- End of block B --
\r
327 %\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
\r
328 % If we have an email, inside a "shared affiliation" then we need the following instead
\r
329 \def\email#1{{{\eaddfnt{\par #1}}}} % revised - GM - 11/30/2006
\r
331 \def\addauthorsection{\ifnum\originalaucount>6 % was 3 - Gerry March 2007
\r
332 \section{Additional Authors}\the\addauthors
\r
335 \newcount\savesection
\r
336 \newcount\sectioncntr
\r
337 \global\sectioncntr=1
\r
339 \setcounter{secnumdepth}{3}
\r
342 \section*{APPENDIX}
\r
343 \setcounter{section}{0}
\r
344 \setcounter{subsection}{0}
\r
345 \def\thesection{\Alph{section}} }
\r
347 \leftmargini 22.5pt
\r
348 \leftmarginii 19.8pt % > \labelsep + width of '(m)'
\r
349 \leftmarginiii 16.8pt % > \labelsep + width of 'vii.'
\r
350 \leftmarginiv 15.3pt % > \labelsep + width of 'M.'
\r
354 \leftmargin\leftmargini
\r
356 \labelwidth\leftmargini\advance\labelwidth-\labelsep
\r
358 \def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
\r
359 \topsep 7.2pt plus 2pt minus 4pt%
\r
360 \itemsep 3.6pt plus 2pt minus 1pt}
\r
365 \def\@listii{\leftmargin\leftmarginii
\r
366 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
\r
367 \topsep 3.6pt plus 2pt minus 1pt
\r
368 \parsep 1.8pt plus 0.9pt minus 0.9pt
\r
371 \def\@listiii{\leftmargin\leftmarginiii
\r
372 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\r
373 \topsep 1.8pt plus 0.9pt minus 0.9pt
\r
374 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
\r
377 \def\@listiv{\leftmargin\leftmarginiv
\r
378 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\r
380 \def\@listv{\leftmargin\leftmarginv
\r
381 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\r
383 \def\@listvi{\leftmargin\leftmarginvi
\r
384 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
\r
386 \def\labelenumi{\theenumi.}
\r
387 \def\theenumi{\arabic{enumi}}
\r
389 \def\labelenumii{(\theenumii)}
\r
390 \def\theenumii{\alph{enumii}}
\r
391 \def\p@enumii{\theenumi}
\r
393 \def\labelenumiii{\theenumiii.}
\r
394 \def\theenumiii{\roman{enumiii}}
\r
395 \def\p@enumiii{\theenumi(\theenumii)}
\r
397 \def\labelenumiv{\theenumiv.}
\r
398 \def\theenumiv{\Alph{enumiv}}
\r
399 \def\p@enumiv{\p@enumiii\theenumiii}
\r
401 \def\labelitemi{$\bullet$}
\r
402 \def\labelitemii{\bf --}
\r
403 \def\labelitemiii{$\ast$}
\r
404 \def\labelitemiv{$\cdot$}
\r
406 \def\verse{\let\\=\@centercr
\r
407 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
\r
408 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
\r
409 \let\endverse\endlist
\r
411 \def\quotation{\list{}{\listparindent 1.5em
\r
412 \itemindent\listparindent
\r
413 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
\r
414 \let\endquotation=\endlist
\r
416 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
\r
417 \let\endquote=\endlist
\r
419 \def\descriptionlabel#1{\hspace\labelsep \bf #1}
\r
420 \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\r
421 \let\makelabel\descriptionlabel}}
\r
423 \let\enddescription\endlist
\r
425 \def\theequation{\arabic{equation}}
\r
427 \arraycolsep 4.5pt % Half the space between columns in an array environment.
\r
428 \tabcolsep 5.4pt % Half the space between columns in a tabular environment.
\r
429 \arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007
\r
430 \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
\r
432 \tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.)
\r
434 \skip\@mpfootins =\skip\footins
\r
436 \fboxsep =2.7pt % Space left between box and text by \fbox and \framebox.
\r
437 \fboxrule =.5pt % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007
\r
439 \def\thepart{\Roman{part}} % Roman numeral part numbers.
\r
440 \def\thesection {\arabic{section}}
\r
441 \def\thesubsection {\thesection.\arabic{subsection}}
\r
442 %\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
\r
443 %\def\theparagraph {\thesubsubsection.\arabic{paragraph}} % GM 7/30/2002
\r
444 \def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
\r
446 \def\@pnumwidth{1.55em}
\r
447 \def\@tocrmarg {2.55em}
\r
449 \setcounter{tocdepth}{3}
\r
451 \def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
\r
452 allowed in the `acmconf' document style.}\@eha}
\r
454 \def\l@part#1#2{\addpenalty{\@secpenalty}
\r
455 \addvspace{2.25em plus 1pt} % space above part line
\r
457 \@tempdima 3em % width of box holding part number, used by
\r
458 \parindent \z@ \rightskip \@pnumwidth %% \numberline
\r
459 \parfillskip -\@pnumwidth
\r
460 {\large \bf % set line in \large boldface
\r
461 \leavevmode % TeX command to enter horizontal mode.
\r
462 #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
\r
463 \nobreak % Never break after part entry
\r
466 \def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
\r
467 \addvspace{1.0em plus 1pt} % space above toc entry
\r
468 \@tempdima 1.5em % width of box holding section number
\r
470 \parindent \z@ \rightskip \@pnumwidth
\r
471 \parfillskip -\@pnumwidth
\r
473 \leavevmode % TeX command to enter horizontal mode.
\r
474 \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
\r
475 \hskip -\leftskip %% 25 Jan 88 change to \numberline
\r
476 #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
\r
480 \def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\r
481 \def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\r
482 \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\r
483 \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\r
485 \def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
\r
486 allowed in the `acmconf' document style.}\@eha}
\r
488 \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\r
490 \def\listoftables{\@latexerr{\listoftables: Lists of tables are not
\r
491 allowed in the `acmconf' document style.}\@eha}
\r
492 \let\l@table\l@figure
\r
494 \def\footnoterule{\kern-3\p@
\r
495 \hrule width .5\columnwidth % (was .4) updated Gerry March 20 2007
\r
496 \kern 2.6\p@} % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007
\r
498 \long\def\@makefntext#1{\noindent
\r
499 %\hbox to .5em{\hss$^{\@thefnmark}$}#1} % original
\r
500 \hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1} % C. Clifton / GM Oct. 2nd. 2002
\r
503 \long\def\@maketntext#1{\noindent
\r
506 \long\def\@maketitlenotetext#1#2{\noindent
\r
507 \hbox to 1.8em{\hss$^{#1}$}#2}
\r
509 \setcounter{topnumber}{2}
\r
510 \def\topfraction{.7}
\r
511 \setcounter{bottomnumber}{1}
\r
512 \def\bottomfraction{.3}
\r
513 \setcounter{totalnumber}{3}
\r
514 \def\textfraction{.2}
\r
515 \def\floatpagefraction{.5}
\r
516 \setcounter{dbltopnumber}{2}
\r
517 \def\dbltopfraction{.7}
\r
518 \def\dblfloatpagefraction{.5}
\r
521 \long\def\@makecaption#1#2{
\r
522 \vskip \baselineskip
\r
523 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
\r
524 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
\r
525 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
\r
526 \else % ELSE center.
\r
527 \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
\r
532 \long\def\@makecaption#1#2{
\r
534 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
\r
535 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
\r
536 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
\r
537 \else % ELSE center.
\r
538 \hbox to\hsize{\hfil\box\@tempboxa\hfil}
\r
541 \@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
\r
543 \def\fps@figure{tbp}
\r
544 \def\ftype@figure{1}
\r
545 \def\ext@figure{lof}
\r
546 \def\fnum@figure{Figure \thefigure}
\r
547 \def\figure{\@float{figure}}
\r
548 \let\endfigure\end@float
\r
549 \@namedef{figure*}{\@dblfloat{figure}}
\r
550 \@namedef{endfigure*}{\end@dblfloat}
\r
552 \@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
\r
554 \def\fps@table{tbp}
\r
555 \def\ftype@table{2}
\r
556 \def\ext@table{lot}
\r
557 \def\fnum@table{Table \thetable}
\r
558 \def\table{\@float{table}}
\r
559 \let\endtable\end@float
\r
560 \@namedef{table*}{\@dblfloat{table}}
\r
561 \@namedef{endtable*}{\end@dblfloat}
\r
563 \newtoks\titleboxnotes
\r
564 \newcount\titleboxnoteflag
\r
566 \def\maketitle{\par
\r
568 \def\thefootnote{\fnsymbol{footnote}}
\r
569 \def\@makefnmark{\hbox
\r
570 to 0pt{$^{\@thefnmark}$\hss}}
\r
571 \twocolumn[\@maketitle]
\r
574 \setcounter{footnote}{0}
\r
575 \let\maketitle\relax
\r
576 \let\@maketitle\relax
\r
577 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
\r
580 %% CHANGES ON NEXT LINES
\r
581 \newif\if@ll % to record which version of LaTeX is in use
\r
583 \expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
\r
584 \else% LaTeX2e is used, so set ll to true
\r
589 \NeedsTeXFormat{LaTeX2e}
\r
590 \ProvidesClass{sig-alt-release} [2007/06/07 - V1.5 - based on acmproc.cls V1.3 <Nov. 30 '99>]
\r
591 \RequirePackage{latexsym}% QUERY: are these two really needed?
\r
592 \let\dooptions\ProcessOptions
\r
594 \let\dooptions\@options
\r
598 \def\@height{height}
\r
602 \def\hb@xt@{\hbox to}
\r
605 \def\ds@faircopy{\@faircopytrue}
\r
607 \def\ds@preprint{\@faircopyfalse}
\r
611 \def\ds@draft{\overfullrule 5\p@}
\r
612 %% CHANGE ON NEXT LINE
\r
616 \normallineskip \p@
\r
617 \def\baselinestretch{1}
\r
618 \def\@ptsize{0} %needed for amssymbols.sty
\r
620 %% CHANGES ON NEXT LINES
\r
621 \if@ll% allow use of old-style font change commands in LaTeX2e
\r
622 \@maxdepth\maxdepth
\r
624 \DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
\r
625 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\r
626 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\r
627 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\r
628 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\r
629 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\r
630 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\r
631 \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
\r
632 \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
\r
636 \renewcommand{\rmdefault}{cmr} % was 'ttm'
\r
637 % Note! I have also found 'mvr' to work ESPECIALLY well.
\r
638 % Gerry - October 1999
\r
639 % You may need to change your LV1times.fd file so that sc is
\r
640 % mapped to cmcsc - -for smallcaps -- that is if you decide
\r
641 % to change {cmr} to {times} above. (Not recommended)
\r
642 \renewcommand{\@ptsize}{}
\r
643 \renewcommand{\normalsize}{%
\r
644 \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
\r
645 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
\r
646 \belowdisplayskip \abovedisplayskip
\r
647 \abovedisplayshortskip 6\p@ \@minus 3\p@
\r
648 \belowdisplayshortskip 6\p@ \@minus 3\p@
\r
652 \def\@normalsize{%changed next to 9 from 10
\r
653 \@setsize\normalsize{9\p@}\ixpt\@ixpt
\r
654 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
\r
655 \belowdisplayskip \abovedisplayskip
\r
656 \abovedisplayshortskip 6\p@ \@minus 3\p@
\r
657 \belowdisplayshortskip 6\p@ \@minus 3\p@
\r
662 \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
\r
663 \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
\r
664 \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
\r
665 \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
\r
666 \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
\r
667 \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
\r
668 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
\r
670 \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
\r
671 \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
\r
672 \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
\r
673 \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
\r
674 \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
\r
675 \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
\r
676 \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
\r
680 % make aubox hsize/number of authors up to 3, less gutter
\r
681 % then showbox gutter showbox gutter showbox -- GKMT Aug 99
\r
682 \newbox\@acmtitlebox
\r
683 \def\@maketitle{\newpage
\r
685 \setbox\@acmtitlebox\vbox{%
\r
687 \vskip 2em % Vertical space above title.
\r
689 {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size.
\r
690 \vskip 1.5em % Vertical space after title.
\r
691 %This should be the subtitle.
\r
692 {\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
\r
693 {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a
\r
694 \lineskip .5em % tabular environment
\r
695 \begin{tabular}[t]{c}\@author
\r
697 \vskip 1.5em % Vertical space after author.
\r
699 \dimen0=\ht\@acmtitlebox
\r
700 \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
\r
701 \unvbox\@acmtitlebox
\r
702 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
\r
705 \newcount\titlenotecount
\r
706 \global\titlenotecount=0
\r
709 \newtoks\tntoksthree
\r
710 \newtoks\tntoksfour
\r
711 \newtoks\tntoksfive
\r
714 \ifnum\titlenotecount>0 % was =1
\r
716 \reset@font\footnotesize
\r
717 \interlinepenalty\interfootnotelinepenalty
\r
718 \splittopskip\footnotesep
\r
719 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\r
720 \hsize\columnwidth \@parboxrestore
\r
721 \protected@edef\@currentlabel{%
\r
724 \ifnum\titlenotecount=1
\r
726 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
\r
728 \ifnum\titlenotecount=2
\r
730 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
732 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
\r
734 \ifnum\titlenotecount=3
\r
736 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
738 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
740 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
\r
742 \ifnum\titlenotecount=4
\r
744 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
746 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
748 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
\r
750 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
\r
752 \ifnum\titlenotecount=5
\r
754 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
\r
756 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
\r
758 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
\r
760 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
\r
762 \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
\r
764 \color@endgroup} %g}
\r
766 \setcounter{footnote}{0}
\r
767 \section*{ABSTRACT}\normalsize%\ninept
\r
770 \def\endabstract{\if@twocolumn\else\endquotation\fi}
\r
772 \def\keywords{\if@twocolumn
\r
773 \section*{Keywords}
\r
778 \def\terms{\if@twocolumn
\r
779 \section*{General Terms}
\r
784 % -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
\r
788 \def\category#1#2#3{%
\r
790 \section*{Categories and Subject Descriptors}
\r
791 \advance\catcount by 1\else{\unskip; }\fi
\r
792 \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
\r
795 \def\@category#1#2#3[#4]{%
\r
800 \if!#3!\else : #3\fi
\r
803 \if!#3!\else #3\kern\z@---\hskip\z@\fi
\r
810 %%% This section (written by KBT) handles the 1" box in the lower left
\r
811 %%% corner of the left column of the first page by creating a picture,
\r
812 %%% and inserting the predefined string at the bottom (with a negative
\r
813 %%% displacement to offset the space allocated for a non-existent
\r
816 \newtoks\copyrightnotice
\r
817 \def\ftype@copyrightbox{8}
\r
818 \def\@copyrightspace{
\r
819 \@float{copyrightbox}[b]
\r
821 \setlength{\unitlength}{1pc}
\r
822 \begin{picture}(20,6) %Space for copyright notice
\r
823 \put(0,-0.95){\crnotice{\@toappear}}
\r
828 \def\@toappear{} % Default setting blank - commands below change this.
\r
829 \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
\r
830 \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
\r
834 \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
\r
837 \def\marginpar{\@latexerr{The \marginpar command is not allowed in the
\r
838 `acmconf' document style.}\@eha}
\r
840 \mark{{}{}} % Initializes TeX's marks
\r
842 \def\today{\ifcase\month\or
\r
843 January\or February\or March\or April\or May\or June\or
\r
844 July\or August\or September\or October\or November\or December\fi
\r
845 \space\number\day, \number\year}
\r
847 \def\@begintheorem#1#2{%
\r
848 \parskip 0pt % GM July 2000 (for tighter spacing)
\r
853 {{\sc #1}\hskip 5\p@\relax#2.}%
\r
857 \def\@opargbegintheorem#1#2#3{%
\r
858 \parskip 0pt % GM July 2000 (for tighter spacing)
\r
863 {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries
\r
864 \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title'
\r
865 \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
\r
866 \hskip 5\p@\relax % if they occur 'around' said corollaries.
\r
867 \box\@tempboxa % Gerry - Nov. 1999.
\r
873 \global\@qededfalse
\r
877 % \vspace{-\parskip} % GM July 2000 (for tighter spacing)
\r
878 % \global\@qededfalse
\r
879 % \@ifnextchar[{\@xproof}{\@proof}%
\r
881 % -- end of original
\r
883 % (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
\r
885 \vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
\r
886 \global\@qededfalse
\r
887 \@ifnextchar[{\@xproof}{\@proof}%
\r
892 \if@qeded\else\qed\fi
\r
906 \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
\r
914 \linethickness{.4\p@}%
\r
921 \expandafter\@ifdefinable\csname #1\endcsname
\r
922 {\@definecounter{#1}%
\r
923 \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
\r
924 \global\@namedef{#1}{\@defthm{#1}{#2}}%
\r
925 \global\@namedef{end#1}{\@endtheorem}%
\r
929 \refstepcounter{#1}%
\r
930 \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
\r
932 \def\@xdefthm#1#2{%
\r
933 \@begindef{#2}{\csname the#1\endcsname}%
\r
936 \def\@ydefthm#1#2[#3]{%
\r
942 \savebox\@tempboxa{#3}%
\r
943 \ifdim \wd\@tempboxa>\z@
\r
949 \def\@begindef#1#2{%
\r
957 \def\theequation{\arabic{equation}}
\r
960 \newcounter{section}
\r
961 \newcounter{subsection}[section]
\r
962 \newcounter{subsubsection}[subsection]
\r
963 \newcounter{paragraph}[subsubsection]
\r
964 \def\thepart{\Roman{part}}
\r
965 \def\thesection{\arabic{section}}
\r
966 \def\thesubsection{\thesection.\arabic{subsection}}
\r
967 \def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
\r
968 \def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
\r
972 %% CHANGES: NEW NOTE
\r
973 %% NOTE: OK to use old-style font commands below, since they were
\r
974 %% suitably redefined for LaTeX2e
\r
976 \setcounter{secnumdepth}{3}
\r
978 \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
\r
979 {4\p@}{\normalsize\@ucheadtrue}%
\r
982 \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}% GM
\r
983 {4\p@}{\baselineskip 14pt\secfnt\@ucheadtrue}%
\r
987 \@startsection{subsection}{2}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}
\r
990 \def\subsubsection{%
\r
991 \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}%
\r
992 {4\p@}{\subsecfnt}%
\r
995 % \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original
\r
996 % {-5\p@}{\subsecfnt}%
\r
998 % If one wants sections, subsections and subsubsections numbered,
\r
999 % but not paragraphs, one usually sets secnumepth to 3.
\r
1000 % For that, the "depth" of paragraphs must be given correctly
\r
1001 % in the definition (``4'' instead of ``3'' as second argument
\r
1002 % of @startsection):
\r
1004 \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}% % GM and Wolfgang May - 11/30/06
\r
1005 {-5\p@}{\subsecfnt}%
\r
1008 \def\@startsection#1#2#3#4#5#6{%
\r
1009 \if@noskipsec %gkmt, 11 aug 99
\r
1010 \global\let\@period\@empty
\r
1012 \global\let\@period.%
\r
1015 \@tempskipa #4\relax
\r
1017 \ifdim \@tempskipa <\z@
\r
1018 \@tempskipa -\@tempskipa
\r
1019 \@afterindentfalse
\r
1024 \addpenalty\@secpenalty
\r
1025 \addvspace\@tempskipa
\r
1027 \parskip=0pt % GM July 2000 (non numbered) section heads
\r
1029 {\@ssect{#3}{#4}{#5}{#6}}
\r
1030 {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
\r
1032 \def\@sect#1#2#3#4#5#6[#7]#8{%
\r
1033 \ifnum #2>\c@secnumdepth
\r
1034 \let\@svsec\@empty
\r
1036 \refstepcounter{#1}%
\r
1039 %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
\r
1040 \ifnum#2>2 \noexpand#6 \fi
\r
1041 \csname the#1\endcsname
\r
1043 \ifnum #2=1\relax .\fi
\r
1047 \@tempskipa #5\relax
\r
1048 \ifdim \@tempskipa>\z@
\r
1051 \@hangfrom{\hskip #3\relax\@svsec}%
\r
1053 \interlinepenalty \@M
\r
1062 \csname #1mark\endcsname{#7}%
\r
1063 \vskip -12pt %gkmt, 11 aug 99 and GM July 2000 (was -14) - numbered section head spacing
\r
1064 \addcontentsline{toc}{#1}{%
\r
1065 \ifnum #2>\c@secnumdepth \else
\r
1066 \protect\numberline{\csname the#1\endcsname}%
\r
1080 \csname #1mark\endcsname{#7}%
\r
1081 \addcontentsline{toc}{#1}{%
\r
1082 \ifnum #2>\c@secnumdepth \else
\r
1083 \protect\numberline{\csname the#1\endcsname}%
\r
1089 \@xsect{#5}\hskip 1pt
\r
1093 \@tempskipa #1\relax
\r
1094 \ifdim \@tempskipa>\z@
\r
1097 \vskip \@tempskipa
\r
1100 \global\@nobreakfalse
\r
1101 \global\@noskipsectrue
\r
1104 \global\@noskipsecfalse
\r
1106 \hskip -\parindent
\r
1112 \@tempskipa #1\relax
\r
1113 \hskip -\@tempskipa
\r
1115 \clubpenalty \@clubpenalty
\r
1123 \@topsepadd\topsep
\r
1125 \global\let\@period\@empty
\r
1127 \global\let\@period.%
\r
1130 \advance\@topsepadd\partopsep
\r
1140 \@topsep\@topsepadd
\r
1142 \advance\@topsep \parskip
\r
1144 \rightskip\@rightskip
\r
1145 \parfillskip\@flushglue
\r
1146 \@setpar{\if@newlist\else{\@@par}\fi}
\r
1147 \global\@newlisttrue
\r
1148 \@outerparskip\parskip
\r
1151 %%% Actually, 'abbrev' works just fine as the default
\r
1152 %%% Bibliography style.
\r
1154 \typeout{Using 'Abbrev' bibliography style}
\r
1155 \newcommand\bibyear[2]{%
\r
1156 \unskip\quad\ignorespaces#1\unskip
\r
1157 \if#2..\quad \else \quad#2 \fi
\r
1159 \newcommand{\bibemph}[1]{{\em#1}}
\r
1160 \newcommand{\bibemphic}[1]{{\em#1\/}}
\r
1161 \newcommand{\bibsc}[1]{{\sc#1}}
\r
1162 \def\@normalcite{%
\r
1163 \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
\r
1166 \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
\r
1169 \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
\r
1171 \def\start@cite#1#2{%
\r
1172 \edef\citeauthoryear##1##2##3{%
\r
1174 \ifnum#2=\z@ \else\ ###2\fi
\r
1177 \let\@@cite\@citeyear
\r
1179 \let\@@cite\@citenormal
\r
1181 \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
\r
1183 \def\cite{\start@cite23}
\r
1184 \def\citeNP{\cite*}
\r
1185 \def\citeA{\start@cite10}
\r
1186 \def\citeANP{\citeA*}
\r
1187 \def\shortcite{\start@cite23}
\r
1188 \def\shortciteNP{\shortcite*}
\r
1189 \def\shortciteA{\start@cite20}
\r
1190 \def\shortciteANP{\shortciteA*}
\r
1191 \def\citeyear{\start@cite30}
\r
1192 \def\citeyearNP{\citeyear*}
\r
1195 \def\citeauthoryear##1##2##3{##1\ [##3%
\r
1196 \def\reserved@a{##1}%
\r
1197 \def\citeauthoryear####1####2####3{%
\r
1198 \def\reserved@b{####1}%
\r
1199 \ifx\reserved@a\reserved@b
\r
1202 \errmessage{Package acmart Error: author mismatch
\r
1203 in \string\citeN^^J^^J%
\r
1204 See the acmart package documentation for explanation}%
\r
1208 \@ifstar\@citeyear\@citeyear
\r
1212 \def\citeauthoryear##1##2##3{##2\ [##3%
\r
1213 \def\reserved@a{##2}%
\r
1214 \def\citeauthoryear####1####2####3{%
\r
1215 \def\reserved@b{####2}%
\r
1216 \ifx\reserved@a\reserved@b
\r
1219 \errmessage{Package acmart Error: author mismatch
\r
1220 in \string\shortciteN^^J^^J%
\r
1221 See the acmart package documentation for explanation}%
\r
1225 \@ifstar\@citeyear\@citeyear % GM July 2000
\r
1227 \def\@citenormal{%
\r
1228 \@ifnextchar [{\@tempswatrue\@citex;}
\r
1229 {\@tempswafalse\@citex,[]}% % GM July 2000
\r
1232 \@ifnextchar [{\@tempswatrue\@citex,}%
\r
1233 {\@tempswafalse\@citex,[]}%
\r
1235 \def\@citex#1[#2]#3{%
\r
1236 \let\@citea\@empty
\r
1238 \@for\@citeb:=#3\do{%
\r
1241 \edef\@citeb{\expandafter\@iden\@citeb}%
\r
1243 \immediate\write\@auxout{\string\citation{\@citeb}}%
\r
1245 \@ifundefined{b@\@citeb}{%
\r
1248 Citation `\@citeb' on page \thepage\space undefined%
\r
1251 {\csname b@\@citeb\endcsname}%
\r
1255 \let\@biblabel\@gobble
\r
1256 \newdimen\bibindent
\r
1257 \setcounter{enumi}{1}
\r
1259 \def\thebibliography#1{%
\r
1260 \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
\r
1261 \section[References]{% <=== OPTIONAL ARGUMENT ADDED HERE
\r
1262 {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004)
\r
1263 {\vskip -9pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing)
\r
1264 \@mkboth{{\refname}}{{\refname}}%
\r
1266 \list{[\arabic{enumi}]}{%
\r
1267 \settowidth\labelwidth{[#1]}%
\r
1268 \leftmargin\labelwidth
\r
1269 \advance\leftmargin\labelsep
\r
1270 \advance\leftmargin\bibindent
\r
1271 \parsep=0pt\itemsep=1pt % GM July 2000
\r
1272 \itemindent -\bibindent
\r
1273 \listparindent \itemindent
\r
1274 \usecounter{enumi}
\r
1276 \let\newblock\@empty
\r
1277 \raggedright % GM July 2000
\r
1279 \sfcode`\.=1000\relax
\r
1283 \gdef\balancecolumns
\r
1285 \global\@colht=\textheight
\r
1286 \global\ht\@cclv=\textheight
\r
1293 \gdef \@makecol {%
\r
1294 \global\advance\colcntr by 1
\r
1295 \ifnum\colcntr>2 \global\colcntr=1\fi
\r
1297 \setbox\@outputbox \box\@cclv
\r
1299 \setbox\@outputbox \vbox{%
\r
1300 \boxmaxdepth \@maxdepth
\r
1301 \@tempdima\dp\@cclv
\r
1304 \vskip \skip\footins
\r
1312 \xdef\@freelist{\@freelist\@midlist}%
\r
1313 \global \let \@midlist \@empty
\r
1315 \ifvbox\@kludgeins
\r
1316 \@makespecialcolbox
\r
1318 \setbox\@outputbox \vbox to\@colht {%
\r
1320 \dimen@ \dp\@outputbox
\r
1321 \unvbox \@outputbox
\r
1326 \global \maxdepth \@maxdepth
\r
1328 \def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
\r
1329 \global\advance\titlenotecount by 1
\r
1330 \ifnum\titlenotecount=1
\r
1331 \raisebox{9pt}{$\ast$}
\r
1333 \ifnum\titlenotecount=2
\r
1334 \raisebox{9pt}{$\dagger$}
\r
1336 \ifnum\titlenotecount=3
\r
1337 \raisebox{9pt}{$\ddagger$}
\r
1339 \ifnum\titlenotecount=4
\r
1340 \raisebox{9pt}{$\S$}
\r
1342 \ifnum\titlenotecount=5
\r
1343 \raisebox{9pt}{$\P$}
\r
1348 \long\def\@titlenotetext#1{\insert\footins{%
\r
1349 \ifnum\titlenotecount=1\global\tntoks={#1}\fi
\r
1350 \ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
\r
1351 \ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
\r
1352 \ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
\r
1353 \ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
\r
1354 \reset@font\footnotesize
\r
1355 \interlinepenalty\interfootnotelinepenalty
\r
1356 \splittopskip\footnotesep
\r
1357 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\r
1358 \hsize\columnwidth \@parboxrestore
\r
1359 \protected@edef\@currentlabel{%
\r
1364 %%%%%%%%%%%%%%%%%%%%%%%%%
\r
1366 \baselineskip=11pt
\r
1367 \let\thepage\relax % For NO page numbers - GM Nov. 30th. 1999 and July 2000
\r
1368 \def\setpagenumber#1{\global\setcounter{page}{#1}}
\r
1369 %\pagenumbering{arabic} % Arabic page numbers GM July 2000
\r
1370 \twocolumn % Double column.
\r
1371 \flushbottom % Even bottom -- alas, does not balance columns at end of document
\r
1374 % Need Copyright Year and Copyright Data to be user definable (in .tex file).
\r
1375 % Gerry Nov. 30th. 1999
\r
1378 \newtoks\boilerplate
\r
1379 \global\acmcopyr={X-XXXXX-XX-X/XX/XX} % Default - 5/11/2001 *** Gerry
\r
1380 \global\copyrtyr={200X} % Default - 3/3/2003 *** Gerry
\r
1381 \def\CopyrightYear#1{\global\copyrtyr{#1}}
\r
1382 \def\crdata#1{\global\acmcopyr{#1}}
\r
1383 \def\permission#1{\global\boilerplate{#1}}
\r
1385 \global\boilerplate={Copyright is held by the author/owner(s).}
\r
1386 \newtoks\copyrightetc
\r
1387 \global\copyrightetc{ACM \the\acmcopyr}
\r
1389 \toappear{\the\boilerplate\par
\r
1390 {\confname{\the\conf}} \the\confinfo\par \the\copyrightetc.}
\r
1391 %\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8} % << patch needed for accenting e.g. Montreal - Gerry, May 2007
\r
1392 %\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8} % << patch needed for accenting in italicized confname - Gerry, May 2007
\r
1394 %{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.} % << Gerry, May 2007
\r
1396 %% End of sig-alt-release.cls -- V1.5 - 6/07/2007 --
\r
1397 %% Gerry Murray -- Thursday June 7th. 2007
\r
1399 % For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil'
\r
1400 % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
1401 %% This is file `ae.sty'
\r
1402 \def\fileversion{1.3}
\r
1403 \def\filedate{2001/02/12}
\r
1404 \NeedsTeXFormat{LaTeX2e}
\r
1405 %\ProvidesPackage{ae}[\filedate\space\fileversion\space % GM
\r
1406 % Almost European Computer Modern] % GM - keeping the log file clean(er)
\r
1407 \newif\if@ae@slides \@ae@slidesfalse
\r
1408 \DeclareOption{slides}{\@ae@slidestrue}
\r
1411 \RequirePackage[T1]{fontenc}
\r
1413 \renewcommand{\sfdefault}{laess}
\r
1414 \renewcommand{\rmdefault}{laess} % no roman
\r
1415 \renewcommand{\ttdefault}{laett}
\r
1417 \renewcommand{\sfdefault}{aess}
\r
1418 \renewcommand{\rmdefault}{aer}
\r
1419 \renewcommand{\ttdefault}{aett}
\r
1423 %% End of file `ae.sty'.
\r
1426 \def\fileversion{0.9}
\r
1427 \def\filedate{1998/07/23}
\r
1428 \NeedsTeXFormat{LaTeX2e}
\r
1429 %\ProvidesPackage{aecompl}[\filedate\space\fileversion\space % GM
\r
1430 %T1 Complements for AE fonts (D. Roegel)] % GM -- keeping the log file clean(er)
\r
1432 \def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}}
\r
1433 \def\guillemotleft{\@ae@compl{19}}
\r
1434 \def\guillemotright{\@ae@compl{20}}
\r
1435 \def\guilsinglleft{\@ae@compl{14}}
\r
1436 \def\guilsinglright{\@ae@compl{15}}
\r
1437 \def\TH{\@ae@compl{222}}
\r
1438 \def\NG{\@ae@compl{141}}
\r
1439 \def\ng{\@ae@compl{173}}
\r
1440 \def\th{\@ae@compl{254}}
\r
1441 \def\DJ{\@ae@compl{208}}
\r
1442 \def\dj{\@ae@compl{158}}
\r
1443 \def\DH{\@ae@compl{208}}
\r
1444 \def\dh{\@ae@compl{240}}
\r
1445 \def\@perthousandzero{\@ae@compl{24}}
\r
1446 \def\textperthousand{\%\@perthousandzero}
\r
1447 \def\textpertenthousand{\%\@perthousandzero\@perthousandzero}
\r
1451 %% This is file `aeguill.sty'
\r
1452 % This file gives french guillemets (and not guillemots!)
\r
1453 % built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts
\r
1454 % or with the EC fonts.
\r
1455 % This is useful in conjunction with the ae package
\r
1456 % (this package loads the ae package in case it has not been loaded)
\r
1457 % and with or without the french(le) package.
\r
1459 % In order to get the guillemets, it is necessary to either type
\r
1460 % \guillemotleft and \guillemotright, or to use an 8 bit encoding
\r
1461 % (such as ISO-Latin1) which selects these two commands,
\r
1462 % or, if you use the french package (but not the frenchle package),
\r
1463 % to type << or >>.
\r
1465 % By default, you get the Polish CMR guillemets; if this package is loaded
\r
1466 % with the `cm' option, you get the LASY guillemets; with `ec,' you
\r
1467 % get the EC guillemets, and with `cyr,' you get the cyrillic guillemets.
\r
1469 % In verbatim mode, you always get the EC/TT guillemets.
\r
1471 % The default option is interesting in conjunction with PDF,
\r
1472 % because there is a Type 1 version of the Polish CMR fonts
\r
1473 % and these guillemets are very close in shape to the EC guillemets.
\r
1474 % There are no free Type 1 versions of the EC fonts.
\r
1476 % Support for Polish CMR guillemets was kindly provided by
\r
1477 % Rolf Niepraschk <niepraschk@ptb.de> in version 0.99 (2000/05/22).
\r
1478 % Bernd Raichle provided extensive simplifications to the code
\r
1479 % for version 1.00.
\r
1481 % This package is released under the LPPL.
\r
1485 % 2001/04/12 1.01 the frenchle and french package are now distinguished.
\r
1487 \def\fileversion{1.01}
\r
1488 \def\filedate{2001/04/12}
\r
1489 \NeedsTeXFormat{LaTeX2e}
\r
1490 %\ProvidesPackage{aeguill}[2001/04/12 1.01 % % GM
\r
1491 %AE fonts with french guillemets (D. Roegel)] % GM - keeping the log file clean(er)
\r
1492 %\RequirePackage{ae} % GM May 2007 - already embedded here
\r
1494 \newcommand{\@ae@switch}[4]{#4}
\r
1495 \DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}}
\r
1496 \DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}}
\r
1497 \DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}}
\r
1498 \DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}}
\r
1499 \ExecuteOptions{pl}
\r
1503 % Load necessary packages
\r
1508 \RequirePackage{latexsym}% GM - May 2007 - already 'mentioned as required' up above
\r
1510 \RequirePackage[OT2,T1]{fontenc}%
\r
1512 \RequirePackage[OT4,T1]{fontenc}%
\r
1515 % The following command will be compared to \frenchname,
\r
1516 % as defined in french.sty and frenchle.sty.
\r
1517 \def\aeguillfrenchdefault{french}%
\r
1519 \let\guill@verbatim@font\verbatim@font
\r
1520 \def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}%
\r
1521 \let\guillemotleft\@oguills\let\guillemotright\@fguills}
\r
1523 \begingroup \catcode`\<=13 \catcode`\>=13
\r
1525 \def\ae@lfguill{<<}%
\r
1526 \def\ae@rfguill{>>}%
\r
1529 \newcommand{\ecguills}[1]{%
\r
1530 \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}%
\r
1531 \def\@oguills{{\selectguillfont\symbol{19}}}%
\r
1532 \def\@fguills{{\selectguillfont\symbol{20}}}%
\r
1535 \newcommand{\aeguills}{%
\r
1537 % We redefine \guillemotleft and \guillemotright
\r
1538 % in order to catch them when they are used
\r
1539 % with \DeclareInputText (in latin1.def for instance)
\r
1540 % We use \auxWARNINGi as a safe indicator that french.sty is used.
\r
1541 \gdef\guillemotleft{\ifx\auxWARNINGi\undefined
\r
1542 \@oguills % neither french.sty nor frenchle.sty
\r
1544 \ifx\aeguillfrenchdefault\frenchname
\r
1545 \ae@lfguill % french.sty
\r
1547 \@oguills % frenchle.sty
\r
1550 \gdef\guillemotright{\ifx\auxWARNINGi\undefined
\r
1551 \@fguills % neither french.sty nor frenchle.sty
\r
1553 \ifx\aeguillfrenchdefault\frenchname
\r
1554 \ae@rfguill % french.sty
\r
1556 \@fguills % frenchle.sty
\r
1562 % Depending on the class option
\r
1563 % define the internal command \ae@guills
\r
1565 \newcommand{\ae@guills}{%
\r
1568 \newcommand{\ae@guills}{%
\r
1569 \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}%
\r
1570 \fontseries{m}\fontshape{n}\selectfont}%
\r
1571 \def\@oguills{\leavevmode\nobreak
\r
1572 \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}%
\r
1573 \def\@fguills{\leavevmode\nobreak
\r
1574 \hbox{\selectguillfont \kern.20em)\kern-.2em)}%
\r
1575 \ifdim\fontdimen\@ne\font>\z@\/\fi}}%
\r
1577 \newcommand{\ae@guills}{%
\r
1578 \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}%
\r
1579 \def\@oguills{{\selectguillfont\symbol{60}}}%
\r
1580 \def\@fguills{{\selectguillfont\symbol{62}}}}
\r
1582 \newcommand{\ae@guills}{%
\r
1583 \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}%
\r
1584 \def\@oguills{{\selectguillfont\symbol{174}}}%
\r
1585 \def\@fguills{{\selectguillfont\symbol{175}}}}
\r
1589 \AtBeginDocument{%
\r
1590 \ifx\GOfrench\undefined
\r
1593 \let\aeguill@GOfrench\GOfrench
\r
1594 \gdef\GOfrench{\aeguill@GOfrench \aeguills}%
\r
1600 %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r