Commit f0dc0092af36c0c4af7561649265f7bc851e0cd7

Authored by Scott Haseley
1 parent d08ea85a

Updated document class and added copyright info for MobiSys 16.

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