annotate docs/WAC2016/sig-alternate.cls @ 308:a2e79ccd10f1 WAC2016

Started WAC paper
author Brecht De Man <b.deman@qmul.ac.uk>
date Tue, 22 Sep 2015 19:22:02 +0200
parents
children 4cf9d989d77c
rev   line source
b@308 1 % SIG-ALTERNATE.CLS - VERSION 2.8
b@308 2 % "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V3.2SP
b@308 3 % Gerald Murray - May 23rd 2012
b@308 4 % Boris Veytsman - April 23 2013
b@308 5 % Boris Veytsman - May 12 2013
b@308 6 % Boris Veytsman - June 09 2013
b@308 7 % Boris Veytsman - August 12 2013
b@308 8 %
b@308 9 % ---- Start of 'updates' ----
b@308 10 % Added new permission/copyright statement - BV
b@308 11 % Changed $10 fee to $15 -- May 2012 -- Gerry
b@308 12 % Changed $5 fee to $10 -- April 2009 -- Gerry
b@308 13 % April 22nd. 2009 - Fixed 'Natbib' incompatibility problem - Gerry
b@308 14 % April 22nd. 2009 - Fixed 'Babel' incompatibility problem - Gerry
b@308 15 % April 22nd. 2009 - Inserted various bug-fixes and improvements - Gerry
b@308 16 %
b@308 17 % To produce Type 1 fonts in the document plus allow for 'normal LaTeX accenting' in the critical areas;
b@308 18 % title, author block, section-heads, confname, etc. etc.
b@308 19 % i.e. the whole purpose of this version update is to NOT resort to 'inelegant accent patches'.
b@308 20 % After much research, three extra .sty packages were added to the the tail (ae, aecompl, aeguill) to solve,
b@308 21 % in particular, the accenting problem(s). We _could_ ask authors (via instructions/sample file) to 'include' these in
b@308 22 % the source .tex file - in the preamble - but if everything is already provided ('behind the scenes' - embedded IN the .cls)
b@308 23 % then this is less work for authors and also makes everything appear 'vanilla'.
b@308 24 % NOTE: all 'patchwork accenting" has been commented out (here) and is no longer 'used' in the sample .tex file (either).
b@308 25 % Gerry June 2007
b@308 26 %
b@308 27 % Patch for accenting in conference name/location. Gerry May 3rd. 2007
b@308 28 % Rule widths changed to .5, author count (>6) fixed, roll-back for Type 3 problem. Gerry March 20th. 2007
b@308 29 % Changes made to 'modernize' the fontnames but esp. for MikTeX users V2.4/2.5 - Nov. 30th. 2006
b@308 30 % Updated the \email definition to allow for its use inside of 'shared affiliations' - Nov. 30th. 2006
b@308 31 % Fixed the 'section number depth value' - Nov. 30th. 2006
b@308 32 %
b@308 33 % Footnotes inside table cells using \minipage (Oct. 2002)
b@308 34 % Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
b@308 35 % JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
b@308 36 %
b@308 37 % Made the Permission Statement / Conference Info / Copyright Info
b@308 38 % 'user definable' in the source .tex file OR automatic if
b@308 39 % not specified.
b@308 40 %
b@308 41 % Allowance made to switch default fonts between those systems using
b@308 42 % normal/modern font names and those using 'Type 1' or 'Truetype' fonts.
b@308 43 % See LINE NUMBER 255 for details.
b@308 44 % Also provided for enumerated/annotated Corollaries 'surrounded' by
b@308 45 % enumerated Theorems (line 848).
b@308 46 % Gerry November 11th. 1999
b@308 47 %
b@308 48 % ---- End of 'updates' ----
b@308 49 %
b@308 50 \def\fileversion{v2.9} % for ACM's tracking purposes
b@308 51 \def\filedate{August 12, 2013} % Gerry Murray's tracking data
b@308 52 \def\docdate {\filedate}
b@308 53 \usepackage{epsfig}
b@308 54 \usepackage{amssymb}
b@308 55 \usepackage{amsmath}
b@308 56 \usepackage{amsfonts}
b@308 57 % Need this for accents in Arial/Helvetica
b@308 58 %\usepackage[T1]{fontenc} % Gerry March 12, 2007 - causes Type 3 problems (body text)
b@308 59 %\usepackage{textcomp}
b@308 60 %
b@308 61 % SIG-ALTERNATE DOCUMENT STYLE
b@308 62 % G.K.M. Tobin August-October 1999
b@308 63 % adapted from ARTICLE document style by Ken Traub, Olin Shivers
b@308 64 % also using elements of esub2acm.cls
b@308 65 % HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000
b@308 66 % ARTICLE DOCUMENT STYLE -- Released 16 March 1988
b@308 67 % for LaTeX version 2.09
b@308 68 % Copyright (C) 1988 by Leslie Lamport
b@308 69 %
b@308 70 %
b@308 71 %%% sig-alternate.cls is an 'ALTERNATE' document style for producing
b@308 72 %%% two-column camera-ready pages for ACM conferences.
b@308 73 %%% THIS FILE DOES NOT STRICTLY ADHERE TO THE SIGS (BOARD-ENDORSED)
b@308 74 %%% PROCEEDINGS STYLE. It has been designed to produce a 'tighter'
b@308 75 %%% paper in response to concerns over page budgets.
b@308 76 %%% The main features of this style are:
b@308 77 %%%
b@308 78 %%% 1) Two columns.
b@308 79 %%% 2) Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of
b@308 80 %%% 2pc, hence columns are 20pc wide and 55.5pc tall. (6pc =3D 1in, approx)
b@308 81 %%% 3) First page has title information, and an extra 6pc of space at the
b@308 82 %%% bottom of the first column for the ACM copyright notice.
b@308 83 %%% 4) Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.
b@308 84 %%%
b@308 85 %%%
b@308 86 %%% There are a few restrictions you must observe:
b@308 87 %%%
b@308 88 %%% 1) You cannot change the font size; ACM wants you to use 9pt.
b@308 89 %%% 3) You must start your paper with the \maketitle command. Prior to the
b@308 90 %%% \maketitle you must have \title and \author commands. If you have a
b@308 91 %%% \date command it will be ignored; no date appears on the paper, since
b@308 92 %%% the proceedings will have a date on the front cover.
b@308 93 %%% 4) Marginal paragraphs, tables of contents, lists of figures and tables,
b@308 94 %%% and page headings are all forbidden.
b@308 95 %%% 5) The `figure' environment will produce a figure one column wide; if you
b@308 96 %%% want one that is two columns wide, use `figure*'.
b@308 97 %%%
b@308 98 %
b@308 99 %%% Copyright Space:
b@308 100 %%% This style automatically reserves 1" blank space at the bottom of page 1/
b@308 101 %%% column 1. This space can optionally be filled with some text using the
b@308 102 %%% \toappear{...} command. If used, this command must be BEFORE the \maketitle
b@308 103 %%% command. If this command is defined AND [preprint] is on, then the
b@308 104 %%% space is filled with the {...} text (at the bottom); otherwise, it is
b@308 105 %%% blank. If you use \toappearbox{...} instead of \toappear{...} then a
b@308 106 %%% box will be drawn around the text (if [preprint] is on).
b@308 107 %%%
b@308 108 %%% A typical usage looks like this:
b@308 109 %%% \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian
b@308 110 %%% Embalming Technique, June 1991, Alfaretta, Georgia.}
b@308 111 %%% This will be included in the preprint, and left out of the conference
b@308 112 %%% version.
b@308 113 %%%
b@308 114 %%% WARNING:
b@308 115 %%% Some dvi-ps converters heuristically allow chars to drift from their
b@308 116 %%% true positions a few pixels. This may be noticeable with the 9pt sans-serif
b@308 117 %%% bold font used for section headers.
b@308 118 %%% You may turn this hackery off via the -e option:
b@308 119 %%% dvips -e 0 foo.dvi >foo.ps
b@308 120 %%%
b@308 121 \typeout{Document Class 'sig-alternate' <9th June '13>. Modified by
b@308 122 G.K.M. Tobin/Gerry Murray/Boris Veytsman}
b@308 123 \typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
b@308 124 \typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
b@308 125 \typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
b@308 126 \typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}
b@308 127 \typeout{Questions on the style, SIGS policies, etc. to Adrienne Griscti griscti@acm.org}
b@308 128
b@308 129
b@308 130 \let\@concepts\@empty
b@308 131 % Support for CCSXML file
b@308 132 \RequirePackage{comment}
b@308 133 \excludecomment{CCSXML}
b@308 134
b@308 135 % New concepts scheme
b@308 136 %
b@308 137 % The first argument is the significance, the
b@308 138 % second is the concept(s)
b@308 139 %
b@308 140 \newcommand\ccsdesc[2][100]{%
b@308 141 \ccsdesc@parse#1~#2~}
b@308 142 %
b@308 143 % The parser of the expression Significance~General~Specific
b@308 144 %
b@308 145 \def\ccsdesc@parse#1~#2~#3~{%
b@308 146 \expandafter\ifx\csname CCS@#2\endcsname\relax
b@308 147 \expandafter\gdef\csname CCS@#2\endcsname{\textbullet\textbf{#2} $\to$ }%
b@308 148 \g@addto@macro{\@concepts}{\csname CCS@#2\endcsname}\fi
b@308 149 \expandafter\g@addto@macro\expandafter{\csname CCS@#2\endcsname}{%
b@308 150 \ifnum#1>499\textbf{#3; }\else
b@308 151 \ifnum#1>299\textit{#3; }\else
b@308 152 #3; \fi\fi}}
b@308 153
b@308 154 \newcommand\printccsdesc{%
b@308 155 \ifx\@concepts\@empty\else
b@308 156 \if@twocolumn
b@308 157 \section*{CCS Concepts}
b@308 158 \@concepts
b@308 159 \else \small
b@308 160 \quotation{\@concepts}%
b@308 161 \fi
b@308 162 \fi}
b@308 163
b@308 164
b@308 165
b@308 166
b@308 167 \def\doi#1{\def\@doi{#1}}
b@308 168 \doi{http://dx.doi.org/10.1145/0000000.0000000}
b@308 169
b@308 170 \oddsidemargin 4.5pc
b@308 171 \evensidemargin 4.5pc
b@308 172 \advance\oddsidemargin by -1in % Correct for LaTeX gratuitousness
b@308 173 \advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
b@308 174 \marginparwidth 0pt % Margin pars are not allowed.
b@308 175 \marginparsep 11pt % Horizontal space between outer margin and
b@308 176 % marginal note
b@308 177
b@308 178 % Top of page:
b@308 179 \topmargin 4.5pc % Nominal distance from top of page to top of
b@308 180 % box containing running head.
b@308 181 \advance\topmargin by -1in % Correct for LaTeX gratuitousness
b@308 182 \headheight 0pt % Height of box containing running head.
b@308 183 \headsep 0pt % Space between running head and text.
b@308 184 % Bottom of page:
b@308 185 \footskip 30pt % Distance from baseline of box containing foot
b@308 186 % to baseline of last line of text.
b@308 187 \@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
b@308 188 \footheight 12pt % Height of box containing running foot.
b@308 189
b@308 190 %% Must redefine the top margin so there's room for headers and
b@308 191 %% page numbers if you are using the preprint option. Footers
b@308 192 %% are OK as is. Olin.
b@308 193 \advance\topmargin by -37pt % Leave 37pt above text for headers
b@308 194 \headheight 12pt % Height of box containing running head.
b@308 195 \headsep 25pt % Space between running head and text.
b@308 196
b@308 197 \textheight 666pt % 9 1/4 column height
b@308 198 \textwidth 42pc % Width of text line.
b@308 199 % For two-column mode:
b@308 200 \columnsep 2pc % Space between columns
b@308 201 \columnseprule 0pt % Width of rule between columns.
b@308 202 \hfuzz 1pt % Allow some variation in column width, otherwise it's
b@308 203 % too hard to typeset in narrow columns.
b@308 204
b@308 205 \footnotesep 5.6pt % Height of strut placed at the beginning of every
b@308 206 % footnote =3D height of normal \footnotesize strut,
b@308 207 % so no extra space between footnotes.
b@308 208
b@308 209 \skip\footins 8.1pt plus 4pt minus 2pt % Space between last line of text and
b@308 210 % top of first footnote.
b@308 211 \floatsep 11pt plus 2pt minus 2pt % Space between adjacent floats moved
b@308 212 % to top or bottom of text page.
b@308 213 \textfloatsep 18pt plus 2pt minus 4pt % Space between main text and floats
b@308 214 % at top or bottom of page.
b@308 215 \intextsep 11pt plus 2pt minus 2pt % Space between in-text figures and
b@308 216 % text.
b@308 217 \@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
b@308 218 \@maxsep 18pt % The maximum of \floatsep,
b@308 219 % \textfloatsep and \intextsep (minus
b@308 220 % the stretch and shrink).
b@308 221 \dblfloatsep 11pt plus 2pt minus 2pt % Same as \floatsep for double-column
b@308 222 % figures in two-column mode.
b@308 223 \dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column
b@308 224 % floats.
b@308 225 \@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
b@308 226 \@dblmaxsep 18pt % The maximum of \dblfloatsep and
b@308 227 % \dbltexfloatsep.
b@308 228 \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must be
b@308 229 % 0pt plus ...)
b@308 230 \@fpsep 8pt plus 2fil % Space between floats on float page/column.
b@308 231 \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must be
b@308 232 % 0pt plus ... )
b@308 233 \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
b@308 234 \@dblfpsep 8pt plus 2fil % Space between floats on float page.
b@308 235 \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
b@308 236 % 0pt plus ... )
b@308 237 \marginparpush 5pt % Minimum vertical separation between two marginal
b@308 238 % notes.
b@308 239
b@308 240 \parskip 0pt plus 1pt % Extra vertical space between paragraphs.
b@308 241 \parindent 9pt % GM July 2000 / was 0pt - width of paragraph indentation.
b@308 242 \partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to
b@308 243 % \parskip and \topsep, added when user
b@308 244 % leaves blank line before environment.
b@308 245
b@308 246 \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
b@308 247 \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
b@308 248 \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
b@308 249
b@308 250 \@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
b@308 251 \@endparpenalty -\@lowpenalty % After a list or paragraph environment.
b@308 252 \@itempenalty -\@lowpenalty % Between list items.
b@308 253
b@308 254 %\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
b@308 255 \@namedef{ds@10pt}{\ClassError{The `10pt' option is not allowed in the `acmconf' % January 2008
b@308 256 document style.}\@eha}
b@308 257 %\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
b@308 258 \@namedef{ds@11pt}{\ClassError{The `11pt' option is not allowed in the `acmconf' % January 2008
b@308 259 document style.}\@eha}
b@308 260 %\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
b@308 261 \@namedef{ds@12pt}{\ClassError{The `12pt' option is not allowed in the `acmconf' % January 2008
b@308 262 document style.}\@eha}
b@308 263
b@308 264 \@options
b@308 265
b@308 266 \lineskip 2pt % \lineskip is 1pt for all font sizes.
b@308 267 \normallineskip 2pt
b@308 268 \def\baselinestretch{1}
b@308 269
b@308 270 \abovedisplayskip 9pt plus2pt minus4.5pt%
b@308 271 \belowdisplayskip \abovedisplayskip
b@308 272 \abovedisplayshortskip \z@ plus3pt%
b@308 273 \belowdisplayshortskip 5.4pt plus3pt minus3pt%
b@308 274 \let\@listi\@listI % Setting of \@listi added 9 Jun 87
b@308 275
b@308 276 \def\small{\@setsize\small{9pt}\viiipt\@viiipt
b@308 277 \abovedisplayskip 7.6pt plus 3pt minus 4pt%
b@308 278 \belowdisplayskip \abovedisplayskip
b@308 279 \abovedisplayshortskip \z@ plus2pt%
b@308 280 \belowdisplayshortskip 3.6pt plus2pt minus 2pt
b@308 281 \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
b@308 282 \topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
b@308 283 \itemsep \parsep}}
b@308 284
b@308 285 \def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt
b@308 286 \abovedisplayskip 6.4pt plus 2pt minus 4pt%
b@308 287 \belowdisplayskip \abovedisplayskip
b@308 288 \abovedisplayshortskip \z@ plus 1pt%
b@308 289 \belowdisplayshortskip 2.7pt plus 1pt minus 2pt
b@308 290 \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
b@308 291 \topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
b@308 292 \itemsep \parsep}}
b@308 293
b@308 294 \newcount\aucount
b@308 295 \newcount\originalaucount
b@308 296 \newdimen\auwidth
b@308 297 \auwidth=\textwidth
b@308 298 \newdimen\auskip
b@308 299 \newcount\auskipcount
b@308 300 \newdimen\auskip
b@308 301 \global\auskip=1pc
b@308 302 \newdimen\allauboxes
b@308 303 \allauboxes=\auwidth
b@308 304 \newtoks\addauthors
b@308 305 \newcount\addauflag
b@308 306 \global\addauflag=0 %Haven't shown additional authors yet
b@308 307
b@308 308 \newtoks\subtitletext
b@308 309 \gdef\subtitle#1{\subtitletext={#1}}
b@308 310
b@308 311 \gdef\additionalauthors#1{\addauthors={#1}}
b@308 312
b@308 313 \gdef\numberofauthors#1{\global\aucount=#1
b@308 314 \ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g} % 3 OK - Gerry March 2007
b@308 315 \global\auskipcount=\aucount\global\advance\auskipcount by 1
b@308 316 \global\multiply\auskipcount by 2
b@308 317 \global\multiply\auskip by \auskipcount
b@308 318 \global\advance\auwidth by -\auskip
b@308 319 \global\divide\auwidth by \aucount}
b@308 320
b@308 321 % \and was modified to count the number of authors. GKMT 12 Aug 1999
b@308 322 \def\alignauthor{% % \begin{tabular}
b@308 323 \end{tabular}%
b@308 324 \begin{tabular}[t]{p{\auwidth}}\centering}%
b@308 325
b@308 326 % *** NOTE *** NOTE *** NOTE *** NOTE ***
b@308 327 % If you have 'font problems' then you may need
b@308 328 % to change these, e.g. 'arialb' instead of "arialbd".
b@308 329 % Gerry Murray 11/11/1999
b@308 330 % *** OR ** comment out block A and activate block B or vice versa.
b@308 331 % **********************************************
b@308 332 %
b@308 333 % -- Start of block A -- (Type 1 or Truetype fonts)
b@308 334 %\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd
b@308 335 %\newfont{\secit}{timesbi at 12pt} %13 Jan 00 gkmt
b@308 336 %\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi
b@308 337 %\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000
b@308 338 % % because "normal" is italic, "italic" is Roman
b@308 339 %\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd
b@308 340 %\newfont{\ttlit}{arialbi at 18pt} % 13 Jan 00 gkmt
b@308 341 %\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial
b@308 342 %\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt
b@308 343 %\newfont{\subttlbf}{arialbd at 14pt} % 13 Jan 00 gkmt
b@308 344 %\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial
b@308 345 %\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt
b@308 346 %\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial
b@308 347 %\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt
b@308 348 %\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial
b@308 349 %\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times
b@308 350 %\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi
b@308 351 %\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times
b@308 352 %\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times
b@308 353
b@308 354 % *********************************************
b@308 355 % -- End of block A --
b@308 356 %
b@308 357 %
b@308 358 % -- Start of block B -- UPDATED FONT NAMES
b@308 359 % *********************************************
b@308 360 % Gerry Murray 11/30/2006
b@308 361 % *********************************************
b@308 362 \newfont{\secfnt}{ptmb8t at 12pt}
b@308 363 \newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
b@308 364 \newfont{\subsecfnt}{ptmri8t at 11pt}
b@308 365 \newfont{\subsecit}{ptmbi8t at 11pt} %
b@308 366 \newfont{\ttlfnt}{phvb8t at 18pt}
b@308 367 \newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
b@308 368 \newfont{\subttlfnt}{phvr8t at 14pt}
b@308 369 \newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
b@308 370 \newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
b@308 371 \newfont{\aufnt}{phvr8t at 12pt}
b@308 372 \newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
b@308 373 \newfont{\affaddr}{phvr8t at 10pt}
b@308 374 \newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
b@308 375 \newfont{\eaddfnt}{phvr8t at 12pt}
b@308 376 \newfont{\ixpt}{ptmr8t at 9pt}
b@308 377 \newfont{\confname}{ptmri8t at 8pt}
b@308 378 \newfont{\crnotice}{ptmr8t at 8pt}
b@308 379 \newfont{\ninept}{ptmr8t at 9pt}
b@308 380 % +++++++++++++++++++++++++++++++++++++++++++++
b@308 381 % -- End of block B --
b@308 382
b@308 383 %\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
b@308 384 % If we have an email, inside a "shared affiliation" then we need the following instead
b@308 385 \def\email#1{{{\eaddfnt{\par #1}}}} % revised - GM - 11/30/2006
b@308 386
b@308 387 \def\addauthorsection{\ifnum\originalaucount>6 % was 3 - Gerry March 2007
b@308 388 \section{Additional Authors}\the\addauthors
b@308 389 \fi}
b@308 390
b@308 391 \newcount\savesection
b@308 392 \newcount\sectioncntr
b@308 393 \global\sectioncntr=1
b@308 394
b@308 395 \setcounter{secnumdepth}{3}
b@308 396
b@308 397 \def\appendix{\par
b@308 398 \section*{APPENDIX}
b@308 399 \setcounter{section}{0}
b@308 400 \setcounter{subsection}{0}
b@308 401 \def\thesection{\Alph{section}} }
b@308 402
b@308 403 \leftmargini 22.5pt
b@308 404 \leftmarginii 19.8pt % > \labelsep + width of '(m)'
b@308 405 \leftmarginiii 16.8pt % > \labelsep + width of 'vii.'
b@308 406 \leftmarginiv 15.3pt % > \labelsep + width of 'M.'
b@308 407 \leftmarginv 9pt
b@308 408 \leftmarginvi 9pt
b@308 409
b@308 410 \leftmargin\leftmargini
b@308 411 \labelsep 4.5pt
b@308 412 \labelwidth\leftmargini\advance\labelwidth-\labelsep
b@308 413
b@308 414 \def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
b@308 415 \topsep 7.2pt plus 2pt minus 4pt%
b@308 416 \itemsep 3.6pt plus 2pt minus 1pt}
b@308 417
b@308 418 \let\@listi\@listI
b@308 419 \@listi
b@308 420
b@308 421 \def\@listii{\leftmargin\leftmarginii
b@308 422 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
b@308 423 \topsep 3.6pt plus 2pt minus 1pt
b@308 424 \parsep 1.8pt plus 0.9pt minus 0.9pt
b@308 425 \itemsep \parsep}
b@308 426
b@308 427 \def\@listiii{\leftmargin\leftmarginiii
b@308 428 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
b@308 429 \topsep 1.8pt plus 0.9pt minus 0.9pt
b@308 430 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
b@308 431 \itemsep \topsep}
b@308 432
b@308 433 \def\@listiv{\leftmargin\leftmarginiv
b@308 434 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
b@308 435
b@308 436 \def\@listv{\leftmargin\leftmarginv
b@308 437 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
b@308 438
b@308 439 \def\@listvi{\leftmargin\leftmarginvi
b@308 440 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
b@308 441
b@308 442 \def\labelenumi{\theenumi.}
b@308 443 \def\theenumi{\arabic{enumi}}
b@308 444
b@308 445 \def\labelenumii{(\theenumii)}
b@308 446 \def\theenumii{\alph{enumii}}
b@308 447 \def\p@enumii{\theenumi}
b@308 448
b@308 449 \def\labelenumiii{\theenumiii.}
b@308 450 \def\theenumiii{\roman{enumiii}}
b@308 451 \def\p@enumiii{\theenumi(\theenumii)}
b@308 452
b@308 453 \def\labelenumiv{\theenumiv.}
b@308 454 \def\theenumiv{\Alph{enumiv}}
b@308 455 \def\p@enumiv{\p@enumiii\theenumiii}
b@308 456
b@308 457 \def\labelitemi{$\bullet$}
b@308 458 \def\labelitemii{\bf --}
b@308 459 \def\labelitemiii{$\ast$}
b@308 460 \def\labelitemiv{$\cdot$}
b@308 461
b@308 462 \def\verse{\let\\=\@centercr
b@308 463 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
b@308 464 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
b@308 465 \let\endverse\endlist
b@308 466
b@308 467 \def\quotation{\list{}{\listparindent 1.5em
b@308 468 \itemindent\listparindent
b@308 469 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
b@308 470 \let\endquotation=\endlist
b@308 471
b@308 472 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
b@308 473 \let\endquote=\endlist
b@308 474
b@308 475 \def\descriptionlabel#1{\hspace\labelsep \bf #1}
b@308 476 \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
b@308 477 \let\makelabel\descriptionlabel}}
b@308 478
b@308 479 \let\enddescription\endlist
b@308 480
b@308 481 \def\theequation{\arabic{equation}}
b@308 482
b@308 483 \arraycolsep 4.5pt % Half the space between columns in an array environment.
b@308 484 \tabcolsep 5.4pt % Half the space between columns in a tabular environment.
b@308 485 \arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007
b@308 486 \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
b@308 487
b@308 488 \tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.)
b@308 489
b@308 490 \skip\@mpfootins =\skip\footins
b@308 491
b@308 492 \fboxsep =2.7pt % Space left between box and text by \fbox and \framebox.
b@308 493 \fboxrule =.5pt % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007
b@308 494
b@308 495 \def\thepart{\Roman{part}} % Roman numeral part numbers.
b@308 496 \def\thesection {\arabic{section}}
b@308 497 \def\thesubsection {\thesection.\arabic{subsection}}
b@308 498 %\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
b@308 499 %\def\theparagraph {\thesubsubsection.\arabic{paragraph}} % GM 7/30/2002
b@308 500 \def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
b@308 501
b@308 502 \def\@pnumwidth{1.55em}
b@308 503 \def\@tocrmarg {2.55em}
b@308 504 \def\@dotsep{4.5}
b@308 505 \setcounter{tocdepth}{3}
b@308 506
b@308 507 %\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
b@308 508 % allowed in the `acmconf' document style.}\@eha}
b@308 509
b@308 510 \def\tableofcontents{\ClassError{%
b@308 511 \string\tableofcontents\space is not allowed in the `acmconf' document % January 2008
b@308 512 style}\@eha}
b@308 513
b@308 514 \def\l@part#1#2{\addpenalty{\@secpenalty}
b@308 515 \addvspace{2.25em plus 1pt} % space above part line
b@308 516 \begingroup
b@308 517 \@tempdima 3em % width of box holding part number, used by
b@308 518 \parindent \z@ \rightskip \@pnumwidth %% \numberline
b@308 519 \parfillskip -\@pnumwidth
b@308 520 {\large \bf % set line in \large boldface
b@308 521 \leavevmode % TeX command to enter horizontal mode.
b@308 522 #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
b@308 523 \nobreak % Never break after part entry
b@308 524 \endgroup}
b@308 525
b@308 526 \def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
b@308 527 \addvspace{1.0em plus 1pt} % space above toc entry
b@308 528 \@tempdima 1.5em % width of box holding section number
b@308 529 \begingroup
b@308 530 \parindent \z@ \rightskip \@pnumwidth
b@308 531 \parfillskip -\@pnumwidth
b@308 532 \bf % Boldface.
b@308 533 \leavevmode % TeX command to enter horizontal mode.
b@308 534 \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
b@308 535 \hskip -\leftskip %% 25 Jan 88 change to \numberline
b@308 536 #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
b@308 537 \endgroup}
b@308 538
b@308 539
b@308 540 \def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
b@308 541 \def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
b@308 542 \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
b@308 543 \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
b@308 544
b@308 545 %\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
b@308 546 % allowed in the `acmconf' document style.}\@eha}
b@308 547
b@308 548 \def\listoffigures{\ClassError{%
b@308 549 \string\listoffigures\space is not allowed in the `acmconf' document % January 2008
b@308 550 style}\@eha}
b@308 551
b@308 552 \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
b@308 553
b@308 554 %\def\listoftables{\@latexerr{\listoftables: Lists of tables are not
b@308 555 % allowed in the `acmconf' document style.}\@eha}
b@308 556 %\let\l@table\l@figure
b@308 557
b@308 558 \def\listoftables{\ClassError{%
b@308 559 \string\listoftables\space is not allowed in the `acmconf' document % January 2008
b@308 560 style}\@eha}
b@308 561 \let\l@table\l@figure
b@308 562
b@308 563 \def\footnoterule{\kern-3\p@
b@308 564 \hrule width .5\columnwidth % (was .4) updated Gerry March 20 2007
b@308 565 \kern 2.6\p@} % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007
b@308 566 % ------
b@308 567 \long\def\@makefntext#1{\noindent
b@308 568 %\hbox to .5em{\hss$^{\@thefnmark}$}#1} % original
b@308 569 \hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1} % C. Clifton / GM Oct. 2nd. 2002
b@308 570 % -------
b@308 571
b@308 572 \long\def\@maketntext#1{\noindent
b@308 573 #1}
b@308 574
b@308 575 \long\def\@maketitlenotetext#1#2{\noindent
b@308 576 \hbox to 1.8em{\hss$^{#1}$}#2}
b@308 577
b@308 578 \setcounter{topnumber}{2}
b@308 579 \def\topfraction{.7}
b@308 580 \setcounter{bottomnumber}{1}
b@308 581 \def\bottomfraction{.3}
b@308 582 \setcounter{totalnumber}{3}
b@308 583 \def\textfraction{.2}
b@308 584 \def\floatpagefraction{.5}
b@308 585 \setcounter{dbltopnumber}{2}
b@308 586 \def\dbltopfraction{.7}
b@308 587 \def\dblfloatpagefraction{.5}
b@308 588
b@308 589 %
b@308 590 \long\def\@makecaption#1#2{
b@308 591 \vskip \baselineskip
b@308 592 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
b@308 593 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
b@308 594 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
b@308 595 \else % ELSE center.
b@308 596 \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
b@308 597 \fi}
b@308 598
b@308 599 %
b@308 600
b@308 601 \long\def\@makecaption#1#2{
b@308 602 \vskip 10pt
b@308 603 \setbox\@tempboxa\hbox{\textbf{#1: #2}}
b@308 604 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
b@308 605 \textbf{#1: #2}\par % THEN set as ordinary paragraph.
b@308 606 \else % ELSE center.
b@308 607 \hbox to\hsize{\hfil\box\@tempboxa\hfil}
b@308 608 \fi}
b@308 609
b@308 610 \@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
b@308 611
b@308 612 \def\fps@figure{tbp}
b@308 613 \def\ftype@figure{1}
b@308 614 \def\ext@figure{lof}
b@308 615 \def\fnum@figure{Figure \thefigure}
b@308 616 \def\figure{\@float{figure}}
b@308 617 %\let\endfigure\end@float
b@308 618 \def\endfigure{\end@float} % Gerry January 2008
b@308 619 \@namedef{figure*}{\@dblfloat{figure}}
b@308 620 \@namedef{endfigure*}{\end@dblfloat}
b@308 621
b@308 622 \@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
b@308 623
b@308 624 \def\fps@table{tbp}
b@308 625 \def\ftype@table{2}
b@308 626 \def\ext@table{lot}
b@308 627 \def\fnum@table{Table \thetable}
b@308 628 \def\table{\@float{table}}
b@308 629 %\let\endtable\end@float
b@308 630 \def\endtable{\end@float} % Gerry January 2008
b@308 631 \@namedef{table*}{\@dblfloat{table}}
b@308 632 \@namedef{endtable*}{\end@dblfloat}
b@308 633
b@308 634 \newtoks\titleboxnotes
b@308 635 \newcount\titleboxnoteflag
b@308 636
b@308 637 \def\maketitle{\par
b@308 638 \begingroup
b@308 639 \def\thefootnote{\fnsymbol{footnote}}
b@308 640 \def\@makefnmark{\hbox
b@308 641 to 0pt{$^{\@thefnmark}$\hss}}
b@308 642 \twocolumn[\@maketitle]
b@308 643 \@thanks
b@308 644 \endgroup
b@308 645 \setcounter{footnote}{0}
b@308 646 \let\maketitle\relax
b@308 647 \let\@maketitle\relax
b@308 648 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
b@308 649 \@copyrightspace}
b@308 650
b@308 651 %% CHANGES ON NEXT LINES
b@308 652 \newif\if@ll % to record which version of LaTeX is in use
b@308 653
b@308 654 \expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
b@308 655 \else% LaTeX2e is used, so set ll to true
b@308 656 \global\@lltrue
b@308 657 \fi
b@308 658
b@308 659 \if@ll
b@308 660 \NeedsTeXFormat{LaTeX2e}
b@308 661 \ProvidesClass{sig-alternate} [2013/05/12 v2.7 based on acmproc.cls V1.3 <Nov. 30 '99>]
b@308 662 \RequirePackage{latexsym}% QUERY: are these two really needed?
b@308 663 \let\dooptions\ProcessOptions
b@308 664 \else
b@308 665 \let\dooptions\@options
b@308 666 \fi
b@308 667 %% END CHANGES
b@308 668
b@308 669 \def\@height{height}
b@308 670 \def\@width{width}
b@308 671 \def\@minus{minus}
b@308 672 \def\@plus{plus}
b@308 673 \def\hb@xt@{\hbox to}
b@308 674 \newif\if@faircopy
b@308 675 \@faircopyfalse
b@308 676 \def\ds@faircopy{\@faircopytrue}
b@308 677
b@308 678 \def\ds@preprint{\@faircopyfalse}
b@308 679
b@308 680 \@twosidetrue
b@308 681 \@mparswitchtrue
b@308 682 \def\ds@draft{\overfullrule 5\p@}
b@308 683 %% CHANGE ON NEXT LINE
b@308 684 \dooptions
b@308 685
b@308 686 \lineskip \p@
b@308 687 \normallineskip \p@
b@308 688 \def\baselinestretch{1}
b@308 689 \def\@ptsize{0} %needed for amssymbols.sty
b@308 690
b@308 691 %% CHANGES ON NEXT LINES
b@308 692 \if@ll% allow use of old-style font change commands in LaTeX2e
b@308 693 \@maxdepth\maxdepth
b@308 694 %
b@308 695 \DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
b@308 696 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
b@308 697 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
b@308 698 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
b@308 699 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
b@308 700 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
b@308 701 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
b@308 702 \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
b@308 703 \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
b@308 704 \fi
b@308 705 %
b@308 706 \if@ll
b@308 707 \renewcommand{\rmdefault}{cmr} % was 'ttm'
b@308 708 % Note! I have also found 'mvr' to work ESPECIALLY well.
b@308 709 % Gerry - October 1999
b@308 710 % You may need to change your LV1times.fd file so that sc is
b@308 711 % mapped to cmcsc - -for smallcaps -- that is if you decide
b@308 712 % to change {cmr} to {times} above. (Not recommended)
b@308 713 \renewcommand{\@ptsize}{}
b@308 714 \renewcommand{\normalsize}{%
b@308 715 \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
b@308 716 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
b@308 717 \belowdisplayskip \abovedisplayskip
b@308 718 \abovedisplayshortskip 6\p@ \@minus 3\p@
b@308 719 \belowdisplayshortskip 6\p@ \@minus 3\p@
b@308 720 \let\@listi\@listI
b@308 721 }
b@308 722 \else
b@308 723 \def\@normalsize{%changed next to 9 from 10
b@308 724 \@setsize\normalsize{9\p@}\ixpt\@ixpt
b@308 725 \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
b@308 726 \belowdisplayskip \abovedisplayskip
b@308 727 \abovedisplayshortskip 6\p@ \@minus 3\p@
b@308 728 \belowdisplayshortskip 6\p@ \@minus 3\p@
b@308 729 \let\@listi\@listI
b@308 730 }%
b@308 731 \fi
b@308 732 \if@ll
b@308 733 \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
b@308 734 \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
b@308 735 \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
b@308 736 \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
b@308 737 \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
b@308 738 \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
b@308 739 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
b@308 740 \else
b@308 741 \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
b@308 742 \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
b@308 743 \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
b@308 744 \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
b@308 745 \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
b@308 746 \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
b@308 747 \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
b@308 748 \fi
b@308 749 \normalsize
b@308 750
b@308 751 % make aubox hsize/number of authors up to 3, less gutter
b@308 752 % then showbox gutter showbox gutter showbox -- GKMT Aug 99
b@308 753 \newbox\@acmtitlebox
b@308 754 \def\@maketitle{\newpage
b@308 755 \null
b@308 756 \setbox\@acmtitlebox\vbox{%
b@308 757 \baselineskip 20pt
b@308 758 \vskip 2em % Vertical space above title.
b@308 759 \begin{center}
b@308 760 {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size.
b@308 761 \vskip 1.5em % Vertical space after title.
b@308 762 %This should be the subtitle.
b@308 763 {\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
b@308 764 {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a
b@308 765 \lineskip .5em % tabular environment
b@308 766 \begin{tabular}[t]{c}\@author
b@308 767 \end{tabular}\par}
b@308 768 \vskip 1.5em % Vertical space after author.
b@308 769 \end{center}}
b@308 770 \dimen0=\ht\@acmtitlebox
b@308 771 \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
b@308 772 \unvbox\@acmtitlebox
b@308 773 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
b@308 774
b@308 775
b@308 776 \newcount\titlenotecount
b@308 777 \global\titlenotecount=0
b@308 778 \newtoks\tntoks
b@308 779 \newtoks\tntokstwo
b@308 780 \newtoks\tntoksthree
b@308 781 \newtoks\tntoksfour
b@308 782 \newtoks\tntoksfive
b@308 783
b@308 784 \def\abstract{
b@308 785 \ifnum\titlenotecount>0 % was =1
b@308 786 \insert\footins{%
b@308 787 \reset@font\footnotesize
b@308 788 \interlinepenalty\interfootnotelinepenalty
b@308 789 \splittopskip\footnotesep
b@308 790 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
b@308 791 \hsize\columnwidth \@parboxrestore
b@308 792 \protected@edef\@currentlabel{%
b@308 793 }%
b@308 794 \color@begingroup
b@308 795 \ifnum\titlenotecount=1
b@308 796 \@maketntext{%
b@308 797 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
b@308 798 \fi
b@308 799 \ifnum\titlenotecount=2
b@308 800 \@maketntext{%
b@308 801 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
b@308 802 \@maketntext{%
b@308 803 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
b@308 804 \fi
b@308 805 \ifnum\titlenotecount=3
b@308 806 \@maketntext{%
b@308 807 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
b@308 808 \@maketntext{%
b@308 809 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
b@308 810 \@maketntext{%
b@308 811 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
b@308 812 \fi
b@308 813 \ifnum\titlenotecount=4
b@308 814 \@maketntext{%
b@308 815 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
b@308 816 \@maketntext{%
b@308 817 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
b@308 818 \@maketntext{%
b@308 819 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
b@308 820 \@maketntext{%
b@308 821 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
b@308 822 \fi
b@308 823 \ifnum\titlenotecount=5
b@308 824 \@maketntext{%
b@308 825 \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
b@308 826 \@maketntext{%
b@308 827 \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
b@308 828 \@maketntext{%
b@308 829 \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
b@308 830 \@maketntext{%
b@308 831 \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
b@308 832 \@maketntext{%
b@308 833 \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
b@308 834 \fi
b@308 835 \color@endgroup} %g}
b@308 836 \fi
b@308 837 \setcounter{footnote}{0}
b@308 838 \section*{ABSTRACT}\normalsize%\ninept
b@308 839 }
b@308 840
b@308 841 \def\endabstract{\if@twocolumn\else\endquotation\fi}
b@308 842
b@308 843 \def\keywords{\if@twocolumn
b@308 844 \section*{Keywords}
b@308 845 \else \small
b@308 846 \quotation
b@308 847 \fi}
b@308 848
b@308 849 \def\terms#1{%
b@308 850 %\if@twocolumn
b@308 851 %\section*{General Terms}
b@308 852 %\else \small
b@308 853 %\quotation
b@308 854 %\fi
b@308 855 }
b@308 856
b@308 857 % -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
b@308 858 \newcount\catcount
b@308 859 \global\catcount=1
b@308 860
b@308 861 \def\category#1#2#3{%
b@308 862 \ifnum\catcount=1
b@308 863 \section*{Categories and Subject Descriptors}
b@308 864 \advance\catcount by 1\else{\unskip; }\fi
b@308 865 \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
b@308 866 }
b@308 867
b@308 868
b@308 869 \def\@category#1#2#3[#4]{%
b@308 870 \begingroup
b@308 871 \let\and\relax
b@308 872 #1 [\textbf{#2}]%
b@308 873 \if!#4!%
b@308 874 \if!#3!\else : #3\fi
b@308 875 \else
b@308 876 :\space
b@308 877 \if!#3!\else #3\kern\z@---\hskip\z@\fi
b@308 878 \textit{#4}%
b@308 879 \fi
b@308 880 \endgroup
b@308 881 }
b@308 882 %
b@308 883
b@308 884
b@308 885
b@308 886
b@308 887
b@308 888
b@308 889 %%% This section (written by KBT) handles the 1" box in the lower left
b@308 890 %%% corner of the left column of the first page by creating a picture,
b@308 891 %%% and inserting the predefined string at the bottom (with a negative
b@308 892 %%% displacement to offset the space allocated for a non-existent
b@308 893 %%% caption).
b@308 894 %%%
b@308 895 \newtoks\copyrightnotice
b@308 896 \def\ftype@copyrightbox{8}
b@308 897 \def\@copyrightspace{
b@308 898 \@float{copyrightbox}[b]
b@308 899 \begin{center}
b@308 900 \setlength{\unitlength}{1pc}
b@308 901 \begin{picture}(20,6) %Space for copyright notice
b@308 902 \put(0,-0.95){\crnotice{\@toappear}}
b@308 903 \end{picture}
b@308 904 \end{center}
b@308 905 \end@float}
b@308 906
b@308 907 \def\@toappear{} % Default setting blank - commands below change this.
b@308 908 \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
b@308 909 \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
b@308 910
b@308 911 \newtoks\conf
b@308 912 \newtoks\confinfo
b@308 913 \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
b@308 914
b@308 915
b@308 916 %\def\marginpar{\@latexerr{The \marginpar command is not allowed in the
b@308 917 % `acmconf' document style.}\@eha}
b@308 918
b@308 919 \def\marginpar{\ClassError{%
b@308 920 \string\marginpar\space is not allowed in the `acmconf' document % January 2008
b@308 921 style}\@eha}
b@308 922
b@308 923 \mark{{}{}} % Initializes TeX's marks
b@308 924
b@308 925 \def\today{\ifcase\month\or
b@308 926 January\or February\or March\or April\or May\or June\or
b@308 927 July\or August\or September\or October\or November\or December\fi
b@308 928 \space\number\day, \number\year}
b@308 929
b@308 930 \def\@begintheorem#1#2{%
b@308 931 \parskip 0pt % GM July 2000 (for tighter spacing)
b@308 932 \trivlist
b@308 933 \item[%
b@308 934 \hskip 10\p@
b@308 935 \hskip \labelsep
b@308 936 {{\sc #1}\hskip 5\p@\relax#2.}%
b@308 937 ]
b@308 938 \it
b@308 939 }
b@308 940 \def\@opargbegintheorem#1#2#3{%
b@308 941 \parskip 0pt % GM July 2000 (for tighter spacing)
b@308 942 \trivlist
b@308 943 \item[%
b@308 944 \hskip 10\p@
b@308 945 \hskip \labelsep
b@308 946 {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries
b@308 947 \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title'
b@308 948 \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
b@308 949 \hskip 5\p@\relax % if they occur 'around' said corollaries.
b@308 950 \box\@tempboxa % Gerry - Nov. 1999.
b@308 951 \fi.}%
b@308 952 ]
b@308 953 \it
b@308 954 }
b@308 955 \newif\if@qeded
b@308 956 \global\@qededfalse
b@308 957
b@308 958 % -- original
b@308 959 %\def\proof{%
b@308 960 % \vspace{-\parskip} % GM July 2000 (for tighter spacing)
b@308 961 % \global\@qededfalse
b@308 962 % \@ifnextchar[{\@xproof}{\@proof}%
b@308 963 %}
b@308 964 % -- end of original
b@308 965
b@308 966 % (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
b@308 967 \def\proof{%
b@308 968 \vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
b@308 969 \global\@qededfalse
b@308 970 \@ifnextchar[{\@xproof}{\@proof}%
b@308 971 }
b@308 972
b@308 973 \def\endproof{%
b@308 974 \if@qeded\else\qed\fi
b@308 975 \endtrivlist
b@308 976 }
b@308 977 \def\@proof{%
b@308 978 \trivlist
b@308 979 \item[%
b@308 980 \hskip 10\p@
b@308 981 \hskip \labelsep
b@308 982 {\sc Proof.}%
b@308 983 ]
b@308 984 \ignorespaces
b@308 985 }
b@308 986 \def\@xproof[#1]{%
b@308 987 \trivlist
b@308 988 \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
b@308 989 \ignorespaces
b@308 990 }
b@308 991 \def\qed{%
b@308 992 \unskip
b@308 993 \kern 10\p@
b@308 994 \begingroup
b@308 995 \unitlength\p@
b@308 996 \linethickness{.4\p@}%
b@308 997 \framebox(6,6){}%
b@308 998 \endgroup
b@308 999 \global\@qededtrue
b@308 1000 }
b@308 1001
b@308 1002 \def\newdef#1#2{%
b@308 1003 \expandafter\@ifdefinable\csname #1\endcsname
b@308 1004 {\@definecounter{#1}%
b@308 1005 \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
b@308 1006 \global\@namedef{#1}{\@defthm{#1}{#2}}%
b@308 1007 \global\@namedef{end#1}{\@endtheorem}%
b@308 1008 }%
b@308 1009 }
b@308 1010 \def\@defthm#1#2{%
b@308 1011 \refstepcounter{#1}%
b@308 1012 \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
b@308 1013 }
b@308 1014 \def\@xdefthm#1#2{%
b@308 1015 \@begindef{#2}{\csname the#1\endcsname}%
b@308 1016 \ignorespaces
b@308 1017 }
b@308 1018 \def\@ydefthm#1#2[#3]{%
b@308 1019 \trivlist
b@308 1020 \item[%
b@308 1021 \hskip 10\p@
b@308 1022 \hskip \labelsep
b@308 1023 {\it #2%
b@308 1024 % \savebox\@tempboxa{#3}%
b@308 1025 \saveb@x\@tempboxa{#3}% % January 2008
b@308 1026 \ifdim \wd\@tempboxa>\z@
b@308 1027 \ \box\@tempboxa
b@308 1028 \fi.%
b@308 1029 }]%
b@308 1030 \ignorespaces
b@308 1031 }
b@308 1032 \def\@begindef#1#2{%
b@308 1033 \trivlist
b@308 1034 \item[%
b@308 1035 \hskip 10\p@
b@308 1036 \hskip \labelsep
b@308 1037 {\it #1\ \rm #2.}%
b@308 1038 ]%
b@308 1039 }
b@308 1040 \def\theequation{\arabic{equation}}
b@308 1041
b@308 1042 \newcounter{part}
b@308 1043 \newcounter{section}
b@308 1044 \newcounter{subsection}[section]
b@308 1045 \newcounter{subsubsection}[subsection]
b@308 1046 \newcounter{paragraph}[subsubsection]
b@308 1047 \def\thepart{\Roman{part}}
b@308 1048 \def\thesection{\arabic{section}}
b@308 1049 \def\thesubsection{\thesection.\arabic{subsection}}
b@308 1050 \def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
b@308 1051 \def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
b@308 1052 \newif\if@uchead
b@308 1053 \@ucheadfalse
b@308 1054
b@308 1055 %% CHANGES: NEW NOTE
b@308 1056 %% NOTE: OK to use old-style font commands below, since they were
b@308 1057 %% suitably redefined for LaTeX2e
b@308 1058 %% END CHANGES
b@308 1059 \setcounter{secnumdepth}{3}
b@308 1060 \def\part{%
b@308 1061 \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
b@308 1062 {4\p@}{\normalsize\@ucheadtrue}%
b@308 1063 }
b@308 1064 \def\section{%
b@308 1065 \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}% GM
b@308 1066 {4\p@}{\baselineskip 14pt\secfnt\@ucheadtrue}%
b@308 1067 }
b@308 1068
b@308 1069 \def\subsection{%
b@308 1070 \@startsection{subsection}{2}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}
b@308 1071 {4\p@}{\secfnt}%
b@308 1072 }
b@308 1073 \def\subsubsection{%
b@308 1074 \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}%
b@308 1075 {4\p@}{\subsecfnt}%
b@308 1076 }
b@308 1077 %\def\paragraph{%
b@308 1078 % \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original
b@308 1079 % {-5\p@}{\subsecfnt}%
b@308 1080 %}
b@308 1081 % If one wants sections, subsections and subsubsections numbered,
b@308 1082 % but not paragraphs, one usually sets secnumepth to 3.
b@308 1083 % For that, the "depth" of paragraphs must be given correctly
b@308 1084 % in the definition (``4'' instead of ``3'' as second argument
b@308 1085 % of @startsection):
b@308 1086 \def\paragraph{%
b@308 1087 \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}% % GM and Wolfgang May - 11/30/06
b@308 1088 {-5\p@}{\subsecfnt}%
b@308 1089 }
b@308 1090 \let\@period=.
b@308 1091 \def\@startsection#1#2#3#4#5#6{%
b@308 1092 \if@noskipsec %gkmt, 11 aug 99
b@308 1093 \global\let\@period\@empty
b@308 1094 \leavevmode
b@308 1095 \global\let\@period.%
b@308 1096 \fi
b@308 1097 \par %
b@308 1098 \@tempskipa #4\relax
b@308 1099 \@afterindenttrue
b@308 1100 \ifdim \@tempskipa <\z@
b@308 1101 \@tempskipa -\@tempskipa
b@308 1102 \@afterindentfalse
b@308 1103 \fi
b@308 1104 \if@nobreak
b@308 1105 \everypar{}%
b@308 1106 \else
b@308 1107 \addpenalty\@secpenalty
b@308 1108 \addvspace\@tempskipa
b@308 1109 \fi
b@308 1110 \parskip=0pt % GM July 2000 (non numbered) section heads
b@308 1111 \@ifstar
b@308 1112 {\@ssect{#3}{#4}{#5}{#6}}
b@308 1113 {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
b@308 1114 }
b@308 1115 \def\@sect#1#2#3#4#5#6[#7]#8{%
b@308 1116 \ifnum #2>\c@secnumdepth
b@308 1117 \let\@svsec\@empty
b@308 1118 \else
b@308 1119 \refstepcounter{#1}%
b@308 1120 \edef\@svsec{%
b@308 1121 \begingroup
b@308 1122 %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
b@308 1123 \ifnum#2>2 \noexpand#6 \fi
b@308 1124 \csname the#1\endcsname
b@308 1125 \endgroup
b@308 1126 \ifnum #2=1\relax .\fi
b@308 1127 \hskip 1em
b@308 1128 }%
b@308 1129 \fi
b@308 1130 \@tempskipa #5\relax
b@308 1131 \ifdim \@tempskipa>\z@
b@308 1132 \begingroup
b@308 1133 #6\relax
b@308 1134 \@hangfrom{\hskip #3\relax\@svsec}%
b@308 1135 \begingroup
b@308 1136 \interlinepenalty \@M
b@308 1137 \if@uchead
b@308 1138 \uppercase{#8}%
b@308 1139 \else
b@308 1140 #8%
b@308 1141 \fi
b@308 1142 \par
b@308 1143 \endgroup
b@308 1144 \endgroup
b@308 1145 \csname #1mark\endcsname{#7}%
b@308 1146 \vskip -12pt %gkmt, 11 aug 99 and GM July 2000 (was -14) - numbered section head spacing
b@308 1147 \addcontentsline{toc}{#1}{%
b@308 1148 \ifnum #2>\c@secnumdepth \else
b@308 1149 \protect\numberline{\csname the#1\endcsname}%
b@308 1150 \fi
b@308 1151 #7%
b@308 1152 }%
b@308 1153 \else
b@308 1154 \def\@svsechd{%
b@308 1155 #6%
b@308 1156 \hskip #3\relax
b@308 1157 \@svsec
b@308 1158 \if@uchead
b@308 1159 \uppercase{#8}%
b@308 1160 \else
b@308 1161 #8%
b@308 1162 \fi
b@308 1163 \csname #1mark\endcsname{#7}%
b@308 1164 \addcontentsline{toc}{#1}{%
b@308 1165 \ifnum #2>\c@secnumdepth \else
b@308 1166 \protect\numberline{\csname the#1\endcsname}%
b@308 1167 \fi
b@308 1168 #7%
b@308 1169 }%
b@308 1170 }%
b@308 1171 \fi
b@308 1172 \@xsect{#5}\hskip 1pt
b@308 1173 \par
b@308 1174 }
b@308 1175 \def\@xsect#1{%
b@308 1176 \@tempskipa #1\relax
b@308 1177 \ifdim \@tempskipa>\z@
b@308 1178 \par
b@308 1179 \nobreak
b@308 1180 \vskip \@tempskipa
b@308 1181 \@afterheading
b@308 1182 \else
b@308 1183 \global\@nobreakfalse
b@308 1184 \global\@noskipsectrue
b@308 1185 \everypar{%
b@308 1186 \if@noskipsec
b@308 1187 \global\@noskipsecfalse
b@308 1188 \clubpenalty\@M
b@308 1189 \hskip -\parindent
b@308 1190 \begingroup
b@308 1191 \@svsechd
b@308 1192 \@period
b@308 1193 \endgroup
b@308 1194 \unskip
b@308 1195 \@tempskipa #1\relax
b@308 1196 \hskip -\@tempskipa
b@308 1197 \else
b@308 1198 \clubpenalty \@clubpenalty
b@308 1199 \everypar{}%
b@308 1200 \fi
b@308 1201 }%
b@308 1202 \fi
b@308 1203 \ignorespaces
b@308 1204 }
b@308 1205 \def\@trivlist{%
b@308 1206 \@topsepadd\topsep
b@308 1207 \if@noskipsec
b@308 1208 \global\let\@period\@empty
b@308 1209 \leavevmode
b@308 1210 \global\let\@period.%
b@308 1211 \fi
b@308 1212 \ifvmode
b@308 1213 \advance\@topsepadd\partopsep
b@308 1214 \else
b@308 1215 \unskip
b@308 1216 \par
b@308 1217 \fi
b@308 1218 \if@inlabel
b@308 1219 \@noparitemtrue
b@308 1220 \@noparlisttrue
b@308 1221 \else
b@308 1222 \@noparlistfalse
b@308 1223 \@topsep\@topsepadd
b@308 1224 \fi
b@308 1225 \advance\@topsep \parskip
b@308 1226 \leftskip\z@skip
b@308 1227 \rightskip\@rightskip
b@308 1228 \parfillskip\@flushglue
b@308 1229 \@setpar{\if@newlist\else{\@@par}\fi}
b@308 1230 \global\@newlisttrue
b@308 1231 \@outerparskip\parskip
b@308 1232 }
b@308 1233
b@308 1234 %%% Actually, 'abbrev' works just fine as the default
b@308 1235 %%% Bibliography style.
b@308 1236
b@308 1237 \typeout{Using 'Abbrev' bibliography style}
b@308 1238 \newcommand\bibyear[2]{%
b@308 1239 \unskip\quad\ignorespaces#1\unskip
b@308 1240 \if#2..\quad \else \quad#2 \fi
b@308 1241 }
b@308 1242 \newcommand{\bibemph}[1]{{\em#1}}
b@308 1243 \newcommand{\bibemphic}[1]{{\em#1\/}}
b@308 1244 \newcommand{\bibsc}[1]{{\sc#1}}
b@308 1245 \def\@normalcite{%
b@308 1246 \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
b@308 1247 }
b@308 1248 \def\@citeNB{%
b@308 1249 \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
b@308 1250 }
b@308 1251 \def\@citeRB{%
b@308 1252 \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
b@308 1253 }
b@308 1254 \def\start@cite#1#2{%
b@308 1255 \edef\citeauthoryear##1##2##3{%
b@308 1256 ###1%
b@308 1257 \ifnum#2=\z@ \else\ ###2\fi
b@308 1258 }%
b@308 1259 \ifnum#1=\thr@@
b@308 1260 \let\@@cite\@citeyear
b@308 1261 \else
b@308 1262 \let\@@cite\@citenormal
b@308 1263 \fi
b@308 1264 \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
b@308 1265 }
b@308 1266 %\def\cite{\start@cite23}
b@308 1267 \DeclareRobustCommand\cite{\start@cite23} % January 2008
b@308 1268 \def\citeNP{\cite*} % No Parentheses e.g. 5
b@308 1269 %\def\citeA{\start@cite10}
b@308 1270 \DeclareRobustCommand\citeA{\start@cite10} % January 2008
b@308 1271 \def\citeANP{\citeA*}
b@308 1272 %\def\shortcite{\start@cite23}
b@308 1273 \DeclareRobustCommand\shortcite{\start@cite23} % January 2008
b@308 1274 \def\shortciteNP{\shortcite*}
b@308 1275 %\def\shortciteA{\start@cite20}
b@308 1276 \DeclareRobustCommand\shortciteA{\start@cite20} % January 2008
b@308 1277 \def\shortciteANP{\shortciteA*}
b@308 1278 %\def\citeyear{\start@cite30}
b@308 1279 \DeclareRobustCommand\citeyear{\start@cite30} % January 2008
b@308 1280 \def\citeyearNP{\citeyear*}
b@308 1281 %\def\citeN{%
b@308 1282 \DeclareRobustCommand\citeN{% % January 2008
b@308 1283 \@citeRB
b@308 1284 \def\citeauthoryear##1##2##3{##1\ [##3%
b@308 1285 \def\reserved@a{##1}%
b@308 1286 \def\citeauthoryear####1####2####3{%
b@308 1287 \def\reserved@b{####1}%
b@308 1288 \ifx\reserved@a\reserved@b
b@308 1289 ####3%
b@308 1290 \else
b@308 1291 \errmessage{Package acmart Error: author mismatch
b@308 1292 in \string\citeN^^J^^J%
b@308 1293 See the acmart package documentation for explanation}%
b@308 1294 \fi
b@308 1295 }%
b@308 1296 }%
b@308 1297 \@ifstar\@citeyear\@citeyear
b@308 1298 }
b@308 1299 %\def\shortciteN{%
b@308 1300 \DeclareRobustCommand\shortciteN{% % January 2008
b@308 1301 \@citeRB
b@308 1302 \def\citeauthoryear##1##2##3{##2\ [##3%
b@308 1303 \def\reserved@a{##2}%
b@308 1304 \def\citeauthoryear####1####2####3{%
b@308 1305 \def\reserved@b{####2}%
b@308 1306 \ifx\reserved@a\reserved@b
b@308 1307 ####3%
b@308 1308 \else
b@308 1309 \errmessage{Package acmart Error: author mismatch
b@308 1310 in \string\shortciteN^^J^^J%
b@308 1311 See the acmart package documentation for explanation}%
b@308 1312 \fi
b@308 1313 }%
b@308 1314 }%
b@308 1315 \@ifstar\@citeyear\@citeyear % GM July 2000
b@308 1316 }
b@308 1317
b@308 1318 \def\@citenormal{%
b@308 1319 \@ifnextchar [{\@tempswatrue\@citex;}%
b@308 1320 % original {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00
b@308 1321 {\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009
b@308 1322 }
b@308 1323
b@308 1324 \def\@citeyear{%
b@308 1325 \@ifnextchar [{\@tempswatrue\@citex,}%
b@308 1326 % original {\@tempswafalse\@citex,[]}%
b@308 1327 {\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009
b@308 1328 }
b@308 1329
b@308 1330 \def\@citex#1[#2]#3{%
b@308 1331 \let\@citea\@empty
b@308 1332 \@cite{%
b@308 1333 \@for\@citeb:=#3\do{%
b@308 1334 \@citea
b@308 1335 % original \def\@citea{#1 }%
b@308 1336 \def\@citea{#1, }% % GERRY FIX FOR BABEL 3/20/2009 -- SO THAT YOU GET [1, 2] IN THE BODY TEXT
b@308 1337 \edef\@citeb{\expandafter\@iden\@citeb}%
b@308 1338 \if@filesw
b@308 1339 \immediate\write\@auxout{\string\citation{\@citeb}}%
b@308 1340 \fi
b@308 1341 \@ifundefined{b@\@citeb}{%
b@308 1342 {\bf ?}%
b@308 1343 \@warning{%
b@308 1344 Citation `\@citeb' on page \thepage\space undefined%
b@308 1345 }%
b@308 1346 }%
b@308 1347 {\csname b@\@citeb\endcsname}%
b@308 1348 }%
b@308 1349 }{#2}%
b@308 1350 }
b@308 1351 %\let\@biblabel\@gobble % Dec. 2008 - Gerry
b@308 1352 % ----
b@308 1353 \def\@biblabelnum#1{[#1]} % Gerry's solution #1 - for Natbib -- April 2009
b@308 1354 \let\@biblabel=\@biblabelnum % Gerry's solution #1 - for Natbib -- April 2009
b@308 1355 \def\newblock{\relax} % Gerry Dec. 2008
b@308 1356 % ---
b@308 1357 \newdimen\bibindent
b@308 1358 \setcounter{enumi}{1}
b@308 1359 \bibindent=0em
b@308 1360 \def\thebibliography#1{%
b@308 1361 \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
b@308 1362 \section[References]{% <=== OPTIONAL ARGUMENT ADDED HERE
b@308 1363 {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004)
b@308 1364 {\vskip -9pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing)
b@308 1365 \@mkboth{{\refname}}{{\refname}}%
b@308 1366 }%
b@308 1367 \list{[\arabic{enumi}]}{%
b@308 1368 \settowidth\labelwidth{[#1]}%
b@308 1369 \leftmargin\labelwidth
b@308 1370 \advance\leftmargin\labelsep
b@308 1371 \advance\leftmargin\bibindent
b@308 1372 \parsep=0pt\itemsep=1pt % GM July 2000
b@308 1373 \itemindent -\bibindent
b@308 1374 \listparindent \itemindent
b@308 1375 \usecounter{enumi}
b@308 1376 }%
b@308 1377 \let\newblock\@empty
b@308 1378 \raggedright % GM July 2000
b@308 1379 \sloppy
b@308 1380 \sfcode`\.=1000\relax
b@308 1381 }
b@308 1382
b@308 1383
b@308 1384 \gdef\balancecolumns
b@308 1385 {\vfill\eject
b@308 1386 \global\@colht=\textheight
b@308 1387 \global\ht\@cclv=\textheight
b@308 1388 }
b@308 1389
b@308 1390 \newcount\colcntr
b@308 1391 \global\colcntr=0
b@308 1392 %\newbox\savebox
b@308 1393 \newbox\saveb@x % January 2008
b@308 1394
b@308 1395 \gdef \@makecol {%
b@308 1396 \global\advance\colcntr by 1
b@308 1397 \ifnum\colcntr>2 \global\colcntr=1\fi
b@308 1398 \ifvoid\footins
b@308 1399 \setbox\@outputbox \box\@cclv
b@308 1400 \else
b@308 1401 \setbox\@outputbox \vbox{%
b@308 1402 \boxmaxdepth \@maxdepth
b@308 1403 \@tempdima\dp\@cclv
b@308 1404 \unvbox \@cclv
b@308 1405 \vskip-\@tempdima
b@308 1406 \vskip \skip\footins
b@308 1407 \color@begingroup
b@308 1408 \normalcolor
b@308 1409 \footnoterule
b@308 1410 \unvbox \footins
b@308 1411 \color@endgroup
b@308 1412 }%
b@308 1413 \fi
b@308 1414 \xdef\@freelist{\@freelist\@midlist}%
b@308 1415 \global \let \@midlist \@empty
b@308 1416 \@combinefloats
b@308 1417 \ifvbox\@kludgeins
b@308 1418 \@makespecialcolbox
b@308 1419 \else
b@308 1420 \setbox\@outputbox \vbox to\@colht {%
b@308 1421 \@texttop
b@308 1422 \dimen@ \dp\@outputbox
b@308 1423 \unvbox \@outputbox
b@308 1424 \vskip -\dimen@
b@308 1425 \@textbottom
b@308 1426 }%
b@308 1427 \fi
b@308 1428 \global \maxdepth \@maxdepth
b@308 1429 }
b@308 1430 \def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
b@308 1431 \global\advance\titlenotecount by 1
b@308 1432 \ifnum\titlenotecount=1
b@308 1433 \raisebox{9pt}{$\ast$}
b@308 1434 \fi
b@308 1435 \ifnum\titlenotecount=2
b@308 1436 \raisebox{9pt}{$\dagger$}
b@308 1437 \fi
b@308 1438 \ifnum\titlenotecount=3
b@308 1439 \raisebox{9pt}{$\ddagger$}
b@308 1440 \fi
b@308 1441 \ifnum\titlenotecount=4
b@308 1442 \raisebox{9pt}{$\S$}
b@308 1443 \fi
b@308 1444 \ifnum\titlenotecount=5
b@308 1445 \raisebox{9pt}{$\P$}
b@308 1446 \fi
b@308 1447 \@titlenotetext
b@308 1448 }}
b@308 1449
b@308 1450 \long\def\@titlenotetext#1{\insert\footins{%
b@308 1451 \ifnum\titlenotecount=1\global\tntoks={#1}\fi
b@308 1452 \ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
b@308 1453 \ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
b@308 1454 \ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
b@308 1455 \ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
b@308 1456 \reset@font\footnotesize
b@308 1457 \interlinepenalty\interfootnotelinepenalty
b@308 1458 \splittopskip\footnotesep
b@308 1459 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
b@308 1460 \hsize\columnwidth \@parboxrestore
b@308 1461 \protected@edef\@currentlabel{%
b@308 1462 }%
b@308 1463 \color@begingroup
b@308 1464 \color@endgroup}}
b@308 1465
b@308 1466 %%%%%%%%%%%%%%%%%%%%%%%%%
b@308 1467 \ps@plain
b@308 1468 \baselineskip=11pt
b@308 1469 \let\thepage\relax % For NO page numbers - GM Nov. 30th. 1999 and July 2000
b@308 1470 \def\setpagenumber#1{\global\setcounter{page}{#1}}
b@308 1471 %\pagenumbering{arabic} % Arabic page numbers GM July 2000
b@308 1472 \twocolumn % Double column.
b@308 1473 \flushbottom % Even bottom -- alas, does not balance columns at end of document
b@308 1474 \pagestyle{plain}
b@308 1475
b@308 1476 % Need Copyright Year and Copyright Data to be user definable (in .tex file).
b@308 1477 % Gerry Nov. 30th. 1999
b@308 1478 \newtoks\copyrtyr
b@308 1479 \newtoks\acmcopyr
b@308 1480 \newtoks\boilerplate
b@308 1481 \global\acmcopyr={X-XXXXX-XX-X/XX/XX} % Default - 5/11/2001 *** Gerry
b@308 1482 \global\copyrtyr={\the\year} % Default - 3/3/2003 *** Gerry
b@308 1483 \def\acmPrice#1{\gdef\@acmPrice{#1}}
b@308 1484 \acmPrice{} %article price % Changed to 15 - June 2012 - Gerry
b@308 1485
b@308 1486
b@308 1487 \def\CopyrightYear#1{\global\copyrtyr{#1}}
b@308 1488 \def\crdata#1{\global\acmcopyr{#1}}
b@308 1489 \def\permission#1{\global\boilerplate{#1}}
b@308 1490
b@308 1491 % ISBN
b@308 1492 %
b@308 1493 \def\isbn#1{\global\acmcopyr={#1}}
b@308 1494 \isbn{978-1-4503-2138-9}
b@308 1495
b@308 1496 \RequirePackage{url}
b@308 1497 \urlstyle{rm}
b@308 1498 \def\doi#1{\def\@doi{#1}}
b@308 1499 \doi{10.1145/1235}
b@308 1500 \def\printdoi#1{\url{#1}}
b@308 1501
b@308 1502
b@308 1503
b@308 1504 % Copyright
b@308 1505 \RequirePackage{waccopyright}
b@308 1506 \setcopyright{none}
b@308 1507
b@308 1508 %
b@308 1509 \global\boilerplate={\@copyrightpermission}
b@308 1510
b@308 1511
b@308 1512
b@308 1513 \newtoks\copyrightetc
b@308 1514 \global\copyrightetc{%
b@308 1515 {\noindent\confname\ \the\conf\ \the\confinfo}\par\smallskip
b@308 1516 \if@printcopyright
b@308 1517 \copyright\ \the\copyrtyr\ \@copyrightowner
b@308 1518 \fi
b@308 1519 \if@acmowned ISBN \else\ifnum\acm@copyrightmode=2 ISBN \else %\par\smallskip ~
b@308 1520 \fi\fi
b@308 1521 % \the\acmcopyr
b@308 1522 \ifx\@acmPrice\@empty.\else\dots\@acmPrice\fi\par%\smallskip
b@308 1523 %{DOI: \small\expandafter\printdoi\expandafter{\@doi}%
b@308 1524 }
b@308 1525 \toappear{\fontsize{7pt}{8pt}\fontfamily{ptm}\selectfont
b@308 1526 \the\boilerplate\par\smallskip
b@308 1527 \the\copyrightetc}
b@308 1528 %\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8} % << patch needed for accenting e.g. Montreal - Gerry, May 2007
b@308 1529 %\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8} % << patch needed for accenting in italicized confname - Gerry, May 2007
b@308 1530 %
b@308 1531 %{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.} % << Gerry, May 2007
b@308 1532 %
b@308 1533 % The following section (i.e. 3 .sty inclusions) was added in May 2007 so as to fix the problems that many
b@308 1534 % authors were having with accents. Sometimes accents would occur, but the letter-character would be of a different
b@308 1535 % font. Conversely the letter-character font would be correct but, e.g. a 'bar' would appear superimposed on the
b@308 1536 % character instead of, say, an unlaut/diaresis. Sometimes the letter-character would NOT appear at all.
b@308 1537 % Using [T1]{fontenc} outright was not an option as this caused 99% of the authors to 'produce' a Type-3 (bitmapped)
b@308 1538 % PDF file - useless for production.
b@308 1539 %
b@308 1540 % For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil'
b@308 1541 % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b@308 1542 %% This is file `ae.sty'
b@308 1543 \def\fileversion{1.3}
b@308 1544 \def\filedate{2001/02/12}
b@308 1545 \NeedsTeXFormat{LaTeX2e}
b@308 1546 %\ProvidesPackage{ae}[\filedate\space\fileversion\space % GM
b@308 1547 % Almost European Computer Modern] % GM - keeping the log file clean(er)
b@308 1548 \newif\if@ae@slides \@ae@slidesfalse
b@308 1549 \DeclareOption{slides}{\@ae@slidestrue}
b@308 1550 \ProcessOptions
b@308 1551 \fontfamily{aer}
b@308 1552 \RequirePackage[T1]{fontenc}
b@308 1553 \if@ae@slides
b@308 1554 \renewcommand{\sfdefault}{laess}
b@308 1555 \renewcommand{\rmdefault}{laess} % no roman
b@308 1556 \renewcommand{\ttdefault}{laett}
b@308 1557 \else
b@308 1558 \renewcommand{\sfdefault}{aess}
b@308 1559 \renewcommand{\rmdefault}{aer}
b@308 1560 \renewcommand{\ttdefault}{aett}
b@308 1561 \fi
b@308 1562 \DeclareRobustCommand{\ttfamily}{\fontencoding{T1}\fontfamily{lmtt}\selectfont}
b@308 1563 \endinput
b@308 1564 %%
b@308 1565 %% End of file `ae.sty'.
b@308 1566 %
b@308 1567 %
b@308 1568 \def\fileversion{0.9}
b@308 1569 \def\filedate{1998/07/23}
b@308 1570 \NeedsTeXFormat{LaTeX2e}
b@308 1571 %\ProvidesPackage{aecompl}[\filedate\space\fileversion\space % GM
b@308 1572 %T1 Complements for AE fonts (D. Roegel)] % GM -- keeping the log file clean(er)
b@308 1573
b@308 1574 \def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}}
b@308 1575 \def\guillemotleft{\@ae@compl{19}}
b@308 1576 \def\guillemotright{\@ae@compl{20}}
b@308 1577 \def\guilsinglleft{\@ae@compl{14}}
b@308 1578 \def\guilsinglright{\@ae@compl{15}}
b@308 1579 \def\TH{\@ae@compl{222}}
b@308 1580 \def\NG{\@ae@compl{141}}
b@308 1581 \def\ng{\@ae@compl{173}}
b@308 1582 \def\th{\@ae@compl{254}}
b@308 1583 \def\DJ{\@ae@compl{208}}
b@308 1584 \def\dj{\@ae@compl{158}}
b@308 1585 \def\DH{\@ae@compl{208}}
b@308 1586 \def\dh{\@ae@compl{240}}
b@308 1587 \def\@perthousandzero{\@ae@compl{24}}
b@308 1588 \def\textperthousand{\%\@perthousandzero}
b@308 1589 \def\textpertenthousand{\%\@perthousandzero\@perthousandzero}
b@308 1590 \endinput
b@308 1591 %
b@308 1592 %
b@308 1593 %% This is file `aeguill.sty'
b@308 1594 % This file gives french guillemets (and not guillemots!)
b@308 1595 % built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts
b@308 1596 % or with the EC fonts.
b@308 1597 % This is useful in conjunction with the ae package
b@308 1598 % (this package loads the ae package in case it has not been loaded)
b@308 1599 % and with or without the french(le) package.
b@308 1600 %
b@308 1601 % In order to get the guillemets, it is necessary to either type
b@308 1602 % \guillemotleft and \guillemotright, or to use an 8 bit encoding
b@308 1603 % (such as ISO-Latin1) which selects these two commands,
b@308 1604 % or, if you use the french package (but not the frenchle package),
b@308 1605 % to type << or >>.
b@308 1606 %
b@308 1607 % By default, you get the Polish CMR guillemets; if this package is loaded
b@308 1608 % with the `cm' option, you get the LASY guillemets; with `ec,' you
b@308 1609 % get the EC guillemets, and with `cyr,' you get the cyrillic guillemets.
b@308 1610 %
b@308 1611 % In verbatim mode, you always get the EC/TT guillemets.
b@308 1612 %
b@308 1613 % The default option is interesting in conjunction with PDF,
b@308 1614 % because there is a Type 1 version of the Polish CMR fonts
b@308 1615 % and these guillemets are very close in shape to the EC guillemets.
b@308 1616 % There are no free Type 1 versions of the EC fonts.
b@308 1617 %
b@308 1618 % Support for Polish CMR guillemets was kindly provided by
b@308 1619 % Rolf Niepraschk <niepraschk@ptb.de> in version 0.99 (2000/05/22).
b@308 1620 % Bernd Raichle provided extensive simplifications to the code
b@308 1621 % for version 1.00.
b@308 1622 %
b@308 1623 % This package is released under the LPPL.
b@308 1624 %
b@308 1625 % Changes:
b@308 1626 % Date version
b@308 1627 % 2001/04/12 1.01 the frenchle and french package are now distinguished.
b@308 1628 %
b@308 1629 \def\fileversion{1.01}
b@308 1630 \def\filedate{2001/04/12}
b@308 1631 \NeedsTeXFormat{LaTeX2e}
b@308 1632 %\ProvidesPackage{aeguill}[2001/04/12 1.01 % % GM
b@308 1633 %AE fonts with french guillemets (D. Roegel)] % GM - keeping the log file clean(er)
b@308 1634 %\RequirePackage{ae} % GM May 2007 - already embedded here
b@308 1635
b@308 1636 \newcommand{\@ae@switch}[4]{#4}
b@308 1637 \DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}}
b@308 1638 \DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}}
b@308 1639 \DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}}
b@308 1640 \DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}}
b@308 1641
b@308 1642
b@308 1643 %
b@308 1644 % Load necessary packages
b@308 1645 %
b@308 1646 \@ae@switch{% ec
b@308 1647 % do nothing
b@308 1648 }{% cm
b@308 1649 \RequirePackage{latexsym}% GM - May 2007 - already 'mentioned as required' up above
b@308 1650 }{% cyr
b@308 1651 \RequirePackage[OT2,T1]{fontenc}%
b@308 1652 }{% pl
b@308 1653 \RequirePackage[OT4,T1]{fontenc}%
b@308 1654 }
b@308 1655
b@308 1656 % The following command will be compared to \frenchname,
b@308 1657 % as defined in french.sty and frenchle.sty.
b@308 1658 \def\aeguillfrenchdefault{french}%
b@308 1659
b@308 1660 \let\guill@verbatim@font\verbatim@font
b@308 1661 \def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}%
b@308 1662 \let\guillemotleft\@oguills\let\guillemotright\@fguills}
b@308 1663
b@308 1664 \begingroup \catcode`\<=13 \catcode`\>=13
b@308 1665 \def\x{\endgroup
b@308 1666 \def\ae@lfguill{<<}%
b@308 1667 \def\ae@rfguill{>>}%
b@308 1668 }\x
b@308 1669
b@308 1670 \newcommand{\ecguills}[1]{%
b@308 1671 \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}%
b@308 1672 \def\@oguills{{\selectguillfont\symbol{19}}}%
b@308 1673 \def\@fguills{{\selectguillfont\symbol{20}}}%
b@308 1674 }
b@308 1675
b@308 1676 \newcommand{\aeguills}{%
b@308 1677 \ae@guills
b@308 1678 % We redefine \guillemotleft and \guillemotright
b@308 1679 % in order to catch them when they are used
b@308 1680 % with \DeclareInputText (in latin1.def for instance)
b@308 1681 % We use \auxWARNINGi as a safe indicator that french.sty is used.
b@308 1682 \gdef\guillemotleft{\ifx\auxWARNINGi\undefined
b@308 1683 \@oguills % neither french.sty nor frenchle.sty
b@308 1684 \else
b@308 1685 \ifx\aeguillfrenchdefault\frenchname
b@308 1686 \ae@lfguill % french.sty
b@308 1687 \else
b@308 1688 \@oguills % frenchle.sty
b@308 1689 \fi
b@308 1690 \fi}%
b@308 1691 \gdef\guillemotright{\ifx\auxWARNINGi\undefined
b@308 1692 \@fguills % neither french.sty nor frenchle.sty
b@308 1693 \else
b@308 1694 \ifx\aeguillfrenchdefault\frenchname
b@308 1695 \ae@rfguill % french.sty
b@308 1696 \else
b@308 1697 \@fguills % frenchle.sty
b@308 1698 \fi
b@308 1699 \fi}%
b@308 1700 }
b@308 1701
b@308 1702 %
b@308 1703 % Depending on the class option
b@308 1704 % define the internal command \ae@guills
b@308 1705 \@ae@switch{% ec
b@308 1706 \newcommand{\ae@guills}{%
b@308 1707 \ecguills{cmr}}%
b@308 1708 }{% cm
b@308 1709 \newcommand{\ae@guills}{%
b@308 1710 \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}%
b@308 1711 \fontseries{m}\fontshape{n}\selectfont}%
b@308 1712 \def\@oguills{\leavevmode\nobreak
b@308 1713 \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}%
b@308 1714 \def\@fguills{\leavevmode\nobreak
b@308 1715 \hbox{\selectguillfont \kern.20em)\kern-.2em)}%
b@308 1716 \ifdim\fontdimen\@ne\font>\z@\/\fi}}%
b@308 1717 }{% cyr
b@308 1718 \newcommand{\ae@guills}{%
b@308 1719 \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}%
b@308 1720 \def\@oguills{{\selectguillfont\symbol{60}}}%
b@308 1721 \def\@fguills{{\selectguillfont\symbol{62}}}}
b@308 1722 }{% pl
b@308 1723 \newcommand{\ae@guills}{%
b@308 1724 \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}%
b@308 1725 \def\@oguills{{\selectguillfont\symbol{174}}}%
b@308 1726 \def\@fguills{{\selectguillfont\symbol{175}}}}
b@308 1727 }
b@308 1728
b@308 1729
b@308 1730 \AtBeginDocument{%
b@308 1731 \ifx\GOfrench\undefined
b@308 1732 \aeguills
b@308 1733 \else
b@308 1734 \let\aeguill@GOfrench\GOfrench
b@308 1735 \gdef\GOfrench{\aeguill@GOfrench \aeguills}%
b@308 1736 \fi
b@308 1737 }
b@308 1738
b@308 1739 \endinput
b@308 1740 %
b@308 1741