nicholas@322: % SIG-ALTERNATE.CLS - VERSION 2.8 nicholas@322: % "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V3.2SP nicholas@322: % Gerald Murray - May 23rd 2012 nicholas@322: % Boris Veytsman - April 23 2013 nicholas@322: % Boris Veytsman - May 12 2013 nicholas@322: % Boris Veytsman - June 09 2013 nicholas@322: % Boris Veytsman - August 12 2013 nicholas@322: % nicholas@322: % ---- Start of 'updates' ---- nicholas@322: % Added new permission/copyright statement - BV nicholas@322: % Changed $10 fee to $15 -- May 2012 -- Gerry nicholas@322: % Changed $5 fee to $10 -- April 2009 -- Gerry nicholas@322: % April 22nd. 2009 - Fixed 'Natbib' incompatibility problem - Gerry nicholas@322: % April 22nd. 2009 - Fixed 'Babel' incompatibility problem - Gerry nicholas@322: % April 22nd. 2009 - Inserted various bug-fixes and improvements - Gerry nicholas@322: % nicholas@322: % To produce Type 1 fonts in the document plus allow for 'normal LaTeX accenting' in the critical areas; nicholas@322: % title, author block, section-heads, confname, etc. etc. nicholas@322: % i.e. the whole purpose of this version update is to NOT resort to 'inelegant accent patches'. nicholas@322: % After much research, three extra .sty packages were added to the the tail (ae, aecompl, aeguill) to solve, nicholas@322: % in particular, the accenting problem(s). We _could_ ask authors (via instructions/sample file) to 'include' these in nicholas@322: % the source .tex file - in the preamble - but if everything is already provided ('behind the scenes' - embedded IN the .cls) nicholas@322: % then this is less work for authors and also makes everything appear 'vanilla'. nicholas@322: % NOTE: all 'patchwork accenting" has been commented out (here) and is no longer 'used' in the sample .tex file (either). nicholas@322: % Gerry June 2007 nicholas@322: % nicholas@322: % Patch for accenting in conference name/location. Gerry May 3rd. 2007 nicholas@322: % Rule widths changed to .5, author count (>6) fixed, roll-back for Type 3 problem. Gerry March 20th. 2007 nicholas@322: % Changes made to 'modernize' the fontnames but esp. for MikTeX users V2.4/2.5 - Nov. 30th. 2006 nicholas@322: % Updated the \email definition to allow for its use inside of 'shared affiliations' - Nov. 30th. 2006 nicholas@322: % Fixed the 'section number depth value' - Nov. 30th. 2006 nicholas@322: % nicholas@322: % Footnotes inside table cells using \minipage (Oct. 2002) nicholas@322: % Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002) nicholas@322: % JS/GM fix to vertical spacing before Proofs (July 30th. 2002) nicholas@322: % nicholas@322: % Made the Permission Statement / Conference Info / Copyright Info nicholas@322: % 'user definable' in the source .tex file OR automatic if nicholas@322: % not specified. nicholas@322: % nicholas@322: % Allowance made to switch default fonts between those systems using nicholas@322: % normal/modern font names and those using 'Type 1' or 'Truetype' fonts. nicholas@322: % See LINE NUMBER 255 for details. nicholas@322: % Also provided for enumerated/annotated Corollaries 'surrounded' by nicholas@322: % enumerated Theorems (line 848). nicholas@322: % Gerry November 11th. 1999 nicholas@322: % nicholas@322: % ---- End of 'updates' ---- nicholas@322: % nicholas@322: \def\fileversion{v2.9} % for ACM's tracking purposes nicholas@322: \def\filedate{August 12, 2013} % Gerry Murray's tracking data nicholas@322: \def\docdate {\filedate} nicholas@322: \usepackage{epsfig} nicholas@322: \usepackage{amssymb} nicholas@322: \usepackage{amsmath} nicholas@322: \usepackage{amsfonts} nicholas@322: % Need this for accents in Arial/Helvetica nicholas@322: %\usepackage[T1]{fontenc} % Gerry March 12, 2007 - causes Type 3 problems (body text) nicholas@322: %\usepackage{textcomp} nicholas@322: % nicholas@322: % SIG-ALTERNATE DOCUMENT STYLE nicholas@322: % G.K.M. Tobin August-October 1999 nicholas@322: % adapted from ARTICLE document style by Ken Traub, Olin Shivers nicholas@322: % also using elements of esub2acm.cls nicholas@322: % HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000 nicholas@322: % ARTICLE DOCUMENT STYLE -- Released 16 March 1988 nicholas@322: % for LaTeX version 2.09 nicholas@322: % Copyright (C) 1988 by Leslie Lamport nicholas@322: % nicholas@322: % nicholas@322: %%% sig-alternate.cls is an 'ALTERNATE' document style for producing nicholas@322: %%% two-column camera-ready pages for ACM conferences. nicholas@322: %%% THIS FILE DOES NOT STRICTLY ADHERE TO THE SIGS (BOARD-ENDORSED) nicholas@322: %%% PROCEEDINGS STYLE. It has been designed to produce a 'tighter' nicholas@322: %%% paper in response to concerns over page budgets. nicholas@322: %%% The main features of this style are: nicholas@322: %%% nicholas@322: %%% 1) Two columns. nicholas@322: %%% 2) Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of nicholas@322: %%% 2pc, hence columns are 20pc wide and 55.5pc tall. (6pc =3D 1in, approx) nicholas@322: %%% 3) First page has title information, and an extra 6pc of space at the nicholas@322: %%% bottom of the first column for the ACM copyright notice. nicholas@322: %%% 4) Text is 9pt on 10pt baselines; titles (except main) are 9pt bold. nicholas@322: %%% nicholas@322: %%% nicholas@322: %%% There are a few restrictions you must observe: nicholas@322: %%% nicholas@322: %%% 1) You cannot change the font size; ACM wants you to use 9pt. nicholas@322: %%% 3) You must start your paper with the \maketitle command. Prior to the nicholas@322: %%% \maketitle you must have \title and \author commands. If you have a nicholas@322: %%% \date command it will be ignored; no date appears on the paper, since nicholas@322: %%% the proceedings will have a date on the front cover. nicholas@322: %%% 4) Marginal paragraphs, tables of contents, lists of figures and tables, nicholas@322: %%% and page headings are all forbidden. nicholas@322: %%% 5) The `figure' environment will produce a figure one column wide; if you nicholas@322: %%% want one that is two columns wide, use `figure*'. nicholas@322: %%% nicholas@322: % nicholas@322: %%% Copyright Space: nicholas@322: %%% This style automatically reserves 1" blank space at the bottom of page 1/ nicholas@322: %%% column 1. This space can optionally be filled with some text using the nicholas@322: %%% \toappear{...} command. If used, this command must be BEFORE the \maketitle nicholas@322: %%% command. If this command is defined AND [preprint] is on, then the nicholas@322: %%% space is filled with the {...} text (at the bottom); otherwise, it is nicholas@322: %%% blank. If you use \toappearbox{...} instead of \toappear{...} then a nicholas@322: %%% box will be drawn around the text (if [preprint] is on). nicholas@322: %%% nicholas@322: %%% A typical usage looks like this: nicholas@322: %%% \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian nicholas@322: %%% Embalming Technique, June 1991, Alfaretta, Georgia.} nicholas@322: %%% This will be included in the preprint, and left out of the conference nicholas@322: %%% version. nicholas@322: %%% nicholas@322: %%% WARNING: nicholas@322: %%% Some dvi-ps converters heuristically allow chars to drift from their nicholas@322: %%% true positions a few pixels. This may be noticeable with the 9pt sans-serif nicholas@322: %%% bold font used for section headers. nicholas@322: %%% You may turn this hackery off via the -e option: nicholas@322: %%% dvips -e 0 foo.dvi >foo.ps nicholas@322: %%% nicholas@322: \typeout{Document Class 'sig-alternate' <9th June '13>. Modified by nicholas@322: G.K.M. Tobin/Gerry Murray/Boris Veytsman} nicholas@322: \typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by} nicholas@322: \typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca} nicholas@322: \typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.} nicholas@322: \typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******} nicholas@322: \typeout{Questions on the style, SIGS policies, etc. to Adrienne Griscti griscti@acm.org} nicholas@322: nicholas@322: nicholas@322: \let\@concepts\@empty nicholas@322: % Support for CCSXML file nicholas@322: \RequirePackage{comment} nicholas@322: \excludecomment{CCSXML} nicholas@322: nicholas@322: % New concepts scheme nicholas@322: % nicholas@322: % The first argument is the significance, the nicholas@322: % second is the concept(s) nicholas@322: % nicholas@322: \newcommand\ccsdesc[2][100]{% nicholas@322: \ccsdesc@parse#1~#2~} nicholas@322: % nicholas@322: % The parser of the expression Significance~General~Specific nicholas@322: % nicholas@322: \def\ccsdesc@parse#1~#2~#3~{% nicholas@322: \expandafter\ifx\csname CCS@#2\endcsname\relax nicholas@322: \expandafter\gdef\csname CCS@#2\endcsname{\textbullet\textbf{#2} $\to$ }% nicholas@322: \g@addto@macro{\@concepts}{\csname CCS@#2\endcsname}\fi nicholas@322: \expandafter\g@addto@macro\expandafter{\csname CCS@#2\endcsname}{% nicholas@322: \ifnum#1>499\textbf{#3; }\else nicholas@322: \ifnum#1>299\textit{#3; }\else nicholas@322: #3; \fi\fi}} nicholas@322: nicholas@322: \newcommand\printccsdesc{% nicholas@322: \ifx\@concepts\@empty\else nicholas@322: \if@twocolumn nicholas@322: \section*{CCS Concepts} nicholas@322: \@concepts nicholas@322: \else \small nicholas@322: \quotation{\@concepts}% nicholas@322: \fi nicholas@322: \fi} nicholas@322: nicholas@322: nicholas@322: nicholas@322: nicholas@322: \def\doi#1{\def\@doi{#1}} nicholas@322: \doi{http://dx.doi.org/10.1145/0000000.0000000} nicholas@322: nicholas@322: \oddsidemargin 4.5pc nicholas@322: \evensidemargin 4.5pc nicholas@322: \advance\oddsidemargin by -1in % Correct for LaTeX gratuitousness nicholas@322: \advance\evensidemargin by -1in % Correct for LaTeX gratuitousness nicholas@322: \marginparwidth 0pt % Margin pars are not allowed. nicholas@322: \marginparsep 11pt % Horizontal space between outer margin and nicholas@322: % marginal note nicholas@322: nicholas@322: % Top of page: nicholas@322: \topmargin 4.5pc % Nominal distance from top of page to top of nicholas@322: % box containing running head. nicholas@322: \advance\topmargin by -1in % Correct for LaTeX gratuitousness nicholas@322: \headheight 0pt % Height of box containing running head. nicholas@322: \headsep 0pt % Space between running head and text. nicholas@322: % Bottom of page: nicholas@322: \footskip 30pt % Distance from baseline of box containing foot nicholas@322: % to baseline of last line of text. nicholas@322: \@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e nicholas@322: \footheight 12pt % Height of box containing running foot. nicholas@322: nicholas@322: %% Must redefine the top margin so there's room for headers and nicholas@322: %% page numbers if you are using the preprint option. Footers nicholas@322: %% are OK as is. Olin. nicholas@322: \advance\topmargin by -37pt % Leave 37pt above text for headers nicholas@322: \headheight 12pt % Height of box containing running head. nicholas@322: \headsep 25pt % Space between running head and text. nicholas@322: nicholas@322: \textheight 666pt % 9 1/4 column height nicholas@322: \textwidth 42pc % Width of text line. nicholas@322: % For two-column mode: nicholas@322: \columnsep 2pc % Space between columns nicholas@322: \columnseprule 0pt % Width of rule between columns. nicholas@322: \hfuzz 1pt % Allow some variation in column width, otherwise it's nicholas@322: % too hard to typeset in narrow columns. nicholas@322: nicholas@322: \footnotesep 5.6pt % Height of strut placed at the beginning of every nicholas@322: % footnote =3D height of normal \footnotesize strut, nicholas@322: % so no extra space between footnotes. nicholas@322: nicholas@322: \skip\footins 8.1pt plus 4pt minus 2pt % Space between last line of text and nicholas@322: % top of first footnote. nicholas@322: \floatsep 11pt plus 2pt minus 2pt % Space between adjacent floats moved nicholas@322: % to top or bottom of text page. nicholas@322: \textfloatsep 18pt plus 2pt minus 4pt % Space between main text and floats nicholas@322: % at top or bottom of page. nicholas@322: \intextsep 11pt plus 2pt minus 2pt % Space between in-text figures and nicholas@322: % text. nicholas@322: \@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e nicholas@322: \@maxsep 18pt % The maximum of \floatsep, nicholas@322: % \textfloatsep and \intextsep (minus nicholas@322: % the stretch and shrink). nicholas@322: \dblfloatsep 11pt plus 2pt minus 2pt % Same as \floatsep for double-column nicholas@322: % figures in two-column mode. nicholas@322: \dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column nicholas@322: % floats. nicholas@322: \@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e nicholas@322: \@dblmaxsep 18pt % The maximum of \dblfloatsep and nicholas@322: % \dbltexfloatsep. nicholas@322: \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must be nicholas@322: % 0pt plus ...) nicholas@322: \@fpsep 8pt plus 2fil % Space between floats on float page/column. nicholas@322: \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must be nicholas@322: % 0pt plus ... ) nicholas@322: \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...) nicholas@322: \@dblfpsep 8pt plus 2fil % Space between floats on float page. nicholas@322: \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be nicholas@322: % 0pt plus ... ) nicholas@322: \marginparpush 5pt % Minimum vertical separation between two marginal nicholas@322: % notes. nicholas@322: nicholas@322: \parskip 0pt plus 1pt % Extra vertical space between paragraphs. nicholas@322: \parindent 9pt % GM July 2000 / was 0pt - width of paragraph indentation. nicholas@322: \partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to nicholas@322: % \parskip and \topsep, added when user nicholas@322: % leaves blank line before environment. nicholas@322: nicholas@322: \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1] nicholas@322: \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2] nicholas@322: \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3] nicholas@322: nicholas@322: \@beginparpenalty -\@lowpenalty % Before a list or paragraph environment. nicholas@322: \@endparpenalty -\@lowpenalty % After a list or paragraph environment. nicholas@322: \@itempenalty -\@lowpenalty % Between list items. nicholas@322: nicholas@322: %\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf' nicholas@322: \@namedef{ds@10pt}{\ClassError{The `10pt' option is not allowed in the `acmconf' % January 2008 nicholas@322: document style.}\@eha} nicholas@322: %\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf' nicholas@322: \@namedef{ds@11pt}{\ClassError{The `11pt' option is not allowed in the `acmconf' % January 2008 nicholas@322: document style.}\@eha} nicholas@322: %\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf' nicholas@322: \@namedef{ds@12pt}{\ClassError{The `12pt' option is not allowed in the `acmconf' % January 2008 nicholas@322: document style.}\@eha} nicholas@322: nicholas@322: \@options nicholas@322: nicholas@322: \lineskip 2pt % \lineskip is 1pt for all font sizes. nicholas@322: \normallineskip 2pt nicholas@322: \def\baselinestretch{1} nicholas@322: nicholas@322: \abovedisplayskip 9pt plus2pt minus4.5pt% nicholas@322: \belowdisplayskip \abovedisplayskip nicholas@322: \abovedisplayshortskip \z@ plus3pt% nicholas@322: \belowdisplayshortskip 5.4pt plus3pt minus3pt% nicholas@322: \let\@listi\@listI % Setting of \@listi added 9 Jun 87 nicholas@322: nicholas@322: \def\small{\@setsize\small{9pt}\viiipt\@viiipt nicholas@322: \abovedisplayskip 7.6pt plus 3pt minus 4pt% nicholas@322: \belowdisplayskip \abovedisplayskip nicholas@322: \abovedisplayshortskip \z@ plus2pt% nicholas@322: \belowdisplayshortskip 3.6pt plus2pt minus 2pt nicholas@322: \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 nicholas@322: \topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt nicholas@322: \itemsep \parsep}} nicholas@322: nicholas@322: \def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt nicholas@322: \abovedisplayskip 6.4pt plus 2pt minus 4pt% nicholas@322: \belowdisplayskip \abovedisplayskip nicholas@322: \abovedisplayshortskip \z@ plus 1pt% nicholas@322: \belowdisplayshortskip 2.7pt plus 1pt minus 2pt nicholas@322: \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 nicholas@322: \topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt nicholas@322: \itemsep \parsep}} nicholas@322: nicholas@322: \newcount\aucount nicholas@322: \newcount\originalaucount nicholas@322: \newdimen\auwidth nicholas@322: \auwidth=\textwidth nicholas@322: \newdimen\auskip nicholas@322: \newcount\auskipcount nicholas@322: \newdimen\auskip nicholas@322: \global\auskip=1pc nicholas@322: \newdimen\allauboxes nicholas@322: \allauboxes=\auwidth nicholas@322: \newtoks\addauthors nicholas@322: \newcount\addauflag nicholas@322: \global\addauflag=0 %Haven't shown additional authors yet nicholas@322: nicholas@322: \newtoks\subtitletext nicholas@322: \gdef\subtitle#1{\subtitletext={#1}} nicholas@322: nicholas@322: \gdef\additionalauthors#1{\addauthors={#1}} nicholas@322: nicholas@322: \gdef\numberofauthors#1{\global\aucount=#1 nicholas@322: \ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g} % 3 OK - Gerry March 2007 nicholas@322: \global\auskipcount=\aucount\global\advance\auskipcount by 1 nicholas@322: \global\multiply\auskipcount by 2 nicholas@322: \global\multiply\auskip by \auskipcount nicholas@322: \global\advance\auwidth by -\auskip nicholas@322: \global\divide\auwidth by \aucount} nicholas@322: nicholas@322: % \and was modified to count the number of authors. GKMT 12 Aug 1999 nicholas@322: \def\alignauthor{% % \begin{tabular} nicholas@322: \end{tabular}% nicholas@322: \begin{tabular}[t]{p{\auwidth}}\centering}% nicholas@322: nicholas@322: % *** NOTE *** NOTE *** NOTE *** NOTE *** nicholas@322: % If you have 'font problems' then you may need nicholas@322: % to change these, e.g. 'arialb' instead of "arialbd". nicholas@322: % Gerry Murray 11/11/1999 nicholas@322: % *** OR ** comment out block A and activate block B or vice versa. nicholas@322: % ********************************************** nicholas@322: % nicholas@322: % -- Start of block A -- (Type 1 or Truetype fonts) nicholas@322: %\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd nicholas@322: %\newfont{\secit}{timesbi at 12pt} %13 Jan 00 gkmt nicholas@322: %\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi nicholas@322: %\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000 nicholas@322: % % because "normal" is italic, "italic" is Roman nicholas@322: %\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd nicholas@322: %\newfont{\ttlit}{arialbi at 18pt} % 13 Jan 00 gkmt nicholas@322: %\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial nicholas@322: %\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt nicholas@322: %\newfont{\subttlbf}{arialbd at 14pt} % 13 Jan 00 gkmt nicholas@322: %\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial nicholas@322: %\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt nicholas@322: %\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial nicholas@322: %\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt nicholas@322: %\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial nicholas@322: %\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times nicholas@322: %\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi nicholas@322: %\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times nicholas@322: %\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times nicholas@322: nicholas@322: % ********************************************* nicholas@322: % -- End of block A -- nicholas@322: % nicholas@322: % nicholas@322: % -- Start of block B -- UPDATED FONT NAMES nicholas@322: % ********************************************* nicholas@322: % Gerry Murray 11/30/2006 nicholas@322: % ********************************************* nicholas@322: \newfont{\secfnt}{ptmb8t at 12pt} nicholas@322: \newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt nicholas@322: \newfont{\subsecfnt}{ptmri8t at 11pt} nicholas@322: \newfont{\subsecit}{ptmbi8t at 11pt} % nicholas@322: \newfont{\ttlfnt}{phvb8t at 18pt} nicholas@322: \newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000 nicholas@322: \newfont{\subttlfnt}{phvr8t at 14pt} nicholas@322: \newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000 nicholas@322: \newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt nicholas@322: \newfont{\aufnt}{phvr8t at 12pt} nicholas@322: \newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000 nicholas@322: \newfont{\affaddr}{phvr8t at 10pt} nicholas@322: \newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000 nicholas@322: \newfont{\eaddfnt}{phvr8t at 12pt} nicholas@322: \newfont{\ixpt}{ptmr8t at 9pt} nicholas@322: \newfont{\confname}{ptmri8t at 8pt} nicholas@322: \newfont{\crnotice}{ptmr8t at 8pt} nicholas@322: \newfont{\ninept}{ptmr8t at 9pt} nicholas@322: % +++++++++++++++++++++++++++++++++++++++++++++ nicholas@322: % -- End of block B -- nicholas@322: nicholas@322: %\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}} nicholas@322: % If we have an email, inside a "shared affiliation" then we need the following instead nicholas@322: \def\email#1{{{\eaddfnt{\par #1}}}} % revised - GM - 11/30/2006 nicholas@322: nicholas@322: \def\addauthorsection{\ifnum\originalaucount>6 % was 3 - Gerry March 2007 nicholas@322: \section{Additional Authors}\the\addauthors nicholas@322: \fi} nicholas@322: nicholas@322: \newcount\savesection nicholas@322: \newcount\sectioncntr nicholas@322: \global\sectioncntr=1 nicholas@322: nicholas@322: \setcounter{secnumdepth}{3} nicholas@322: nicholas@322: \def\appendix{\par nicholas@322: \section*{APPENDIX} nicholas@322: \setcounter{section}{0} nicholas@322: \setcounter{subsection}{0} nicholas@322: \def\thesection{\Alph{section}} } nicholas@322: nicholas@322: \leftmargini 22.5pt nicholas@322: \leftmarginii 19.8pt % > \labelsep + width of '(m)' nicholas@322: \leftmarginiii 16.8pt % > \labelsep + width of 'vii.' nicholas@322: \leftmarginiv 15.3pt % > \labelsep + width of 'M.' nicholas@322: \leftmarginv 9pt nicholas@322: \leftmarginvi 9pt nicholas@322: nicholas@322: \leftmargin\leftmargini nicholas@322: \labelsep 4.5pt nicholas@322: \labelwidth\leftmargini\advance\labelwidth-\labelsep nicholas@322: nicholas@322: \def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt% nicholas@322: \topsep 7.2pt plus 2pt minus 4pt% nicholas@322: \itemsep 3.6pt plus 2pt minus 1pt} nicholas@322: nicholas@322: \let\@listi\@listI nicholas@322: \@listi nicholas@322: nicholas@322: \def\@listii{\leftmargin\leftmarginii nicholas@322: \labelwidth\leftmarginii\advance\labelwidth-\labelsep nicholas@322: \topsep 3.6pt plus 2pt minus 1pt nicholas@322: \parsep 1.8pt plus 0.9pt minus 0.9pt nicholas@322: \itemsep \parsep} nicholas@322: nicholas@322: \def\@listiii{\leftmargin\leftmarginiii nicholas@322: \labelwidth\leftmarginiii\advance\labelwidth-\labelsep nicholas@322: \topsep 1.8pt plus 0.9pt minus 0.9pt nicholas@322: \parsep \z@ \partopsep 1pt plus 0pt minus 1pt nicholas@322: \itemsep \topsep} nicholas@322: nicholas@322: \def\@listiv{\leftmargin\leftmarginiv nicholas@322: \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} nicholas@322: nicholas@322: \def\@listv{\leftmargin\leftmarginv nicholas@322: \labelwidth\leftmarginv\advance\labelwidth-\labelsep} nicholas@322: nicholas@322: \def\@listvi{\leftmargin\leftmarginvi nicholas@322: \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} nicholas@322: nicholas@322: \def\labelenumi{\theenumi.} nicholas@322: \def\theenumi{\arabic{enumi}} nicholas@322: nicholas@322: \def\labelenumii{(\theenumii)} nicholas@322: \def\theenumii{\alph{enumii}} nicholas@322: \def\p@enumii{\theenumi} nicholas@322: nicholas@322: \def\labelenumiii{\theenumiii.} nicholas@322: \def\theenumiii{\roman{enumiii}} nicholas@322: \def\p@enumiii{\theenumi(\theenumii)} nicholas@322: nicholas@322: \def\labelenumiv{\theenumiv.} nicholas@322: \def\theenumiv{\Alph{enumiv}} nicholas@322: \def\p@enumiv{\p@enumiii\theenumiii} nicholas@322: nicholas@322: \def\labelitemi{$\bullet$} nicholas@322: \def\labelitemii{\bf --} nicholas@322: \def\labelitemiii{$\ast$} nicholas@322: \def\labelitemiv{$\cdot$} nicholas@322: nicholas@322: \def\verse{\let\\=\@centercr nicholas@322: \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent nicholas@322: \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} nicholas@322: \let\endverse\endlist nicholas@322: nicholas@322: \def\quotation{\list{}{\listparindent 1.5em nicholas@322: \itemindent\listparindent nicholas@322: \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]} nicholas@322: \let\endquotation=\endlist nicholas@322: nicholas@322: \def\quote{\list{}{\rightmargin\leftmargin}\item[]} nicholas@322: \let\endquote=\endlist nicholas@322: nicholas@322: \def\descriptionlabel#1{\hspace\labelsep \bf #1} nicholas@322: \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin nicholas@322: \let\makelabel\descriptionlabel}} nicholas@322: nicholas@322: \let\enddescription\endlist nicholas@322: nicholas@322: \def\theequation{\arabic{equation}} nicholas@322: nicholas@322: \arraycolsep 4.5pt % Half the space between columns in an array environment. nicholas@322: \tabcolsep 5.4pt % Half the space between columns in a tabular environment. nicholas@322: \arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007 nicholas@322: \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env. nicholas@322: nicholas@322: \tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.) nicholas@322: nicholas@322: \skip\@mpfootins =\skip\footins nicholas@322: nicholas@322: \fboxsep =2.7pt % Space left between box and text by \fbox and \framebox. nicholas@322: \fboxrule =.5pt % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007 nicholas@322: nicholas@322: \def\thepart{\Roman{part}} % Roman numeral part numbers. nicholas@322: \def\thesection {\arabic{section}} nicholas@322: \def\thesubsection {\thesection.\arabic{subsection}} nicholas@322: %\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002 nicholas@322: %\def\theparagraph {\thesubsubsection.\arabic{paragraph}} % GM 7/30/2002 nicholas@322: \def\thesubparagraph {\theparagraph.\arabic{subparagraph}} nicholas@322: nicholas@322: \def\@pnumwidth{1.55em} nicholas@322: \def\@tocrmarg {2.55em} nicholas@322: \def\@dotsep{4.5} nicholas@322: \setcounter{tocdepth}{3} nicholas@322: nicholas@322: %\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not nicholas@322: % allowed in the `acmconf' document style.}\@eha} nicholas@322: nicholas@322: \def\tableofcontents{\ClassError{% nicholas@322: \string\tableofcontents\space is not allowed in the `acmconf' document % January 2008 nicholas@322: style}\@eha} nicholas@322: nicholas@322: \def\l@part#1#2{\addpenalty{\@secpenalty} nicholas@322: \addvspace{2.25em plus 1pt} % space above part line nicholas@322: \begingroup nicholas@322: \@tempdima 3em % width of box holding part number, used by nicholas@322: \parindent \z@ \rightskip \@pnumwidth %% \numberline nicholas@322: \parfillskip -\@pnumwidth nicholas@322: {\large \bf % set line in \large boldface nicholas@322: \leavevmode % TeX command to enter horizontal mode. nicholas@322: #1\hfil \hbox to\@pnumwidth{\hss #2}}\par nicholas@322: \nobreak % Never break after part entry nicholas@322: \endgroup} nicholas@322: nicholas@322: \def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break nicholas@322: \addvspace{1.0em plus 1pt} % space above toc entry nicholas@322: \@tempdima 1.5em % width of box holding section number nicholas@322: \begingroup nicholas@322: \parindent \z@ \rightskip \@pnumwidth nicholas@322: \parfillskip -\@pnumwidth nicholas@322: \bf % Boldface. nicholas@322: \leavevmode % TeX command to enter horizontal mode. nicholas@322: \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to nicholas@322: \hskip -\leftskip %% 25 Jan 88 change to \numberline nicholas@322: #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par nicholas@322: \endgroup} nicholas@322: nicholas@322: nicholas@322: \def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}} nicholas@322: \def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} nicholas@322: \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}} nicholas@322: \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}} nicholas@322: nicholas@322: %\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not nicholas@322: % allowed in the `acmconf' document style.}\@eha} nicholas@322: nicholas@322: \def\listoffigures{\ClassError{% nicholas@322: \string\listoffigures\space is not allowed in the `acmconf' document % January 2008 nicholas@322: style}\@eha} nicholas@322: nicholas@322: \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} nicholas@322: nicholas@322: %\def\listoftables{\@latexerr{\listoftables: Lists of tables are not nicholas@322: % allowed in the `acmconf' document style.}\@eha} nicholas@322: %\let\l@table\l@figure nicholas@322: nicholas@322: \def\listoftables{\ClassError{% nicholas@322: \string\listoftables\space is not allowed in the `acmconf' document % January 2008 nicholas@322: style}\@eha} nicholas@322: \let\l@table\l@figure nicholas@322: nicholas@322: \def\footnoterule{\kern-3\p@ nicholas@322: \hrule width .5\columnwidth % (was .4) updated Gerry March 20 2007 nicholas@322: \kern 2.6\p@} % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007 nicholas@322: % ------ nicholas@322: \long\def\@makefntext#1{\noindent nicholas@322: %\hbox to .5em{\hss$^{\@thefnmark}$}#1} % original nicholas@322: \hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1} % C. Clifton / GM Oct. 2nd. 2002 nicholas@322: % ------- nicholas@322: nicholas@322: \long\def\@maketntext#1{\noindent nicholas@322: #1} nicholas@322: nicholas@322: \long\def\@maketitlenotetext#1#2{\noindent nicholas@322: \hbox to 1.8em{\hss$^{#1}$}#2} nicholas@322: nicholas@322: \setcounter{topnumber}{2} nicholas@322: \def\topfraction{.7} nicholas@322: \setcounter{bottomnumber}{1} nicholas@322: \def\bottomfraction{.3} nicholas@322: \setcounter{totalnumber}{3} nicholas@322: \def\textfraction{.2} nicholas@322: \def\floatpagefraction{.5} nicholas@322: \setcounter{dbltopnumber}{2} nicholas@322: \def\dbltopfraction{.7} nicholas@322: \def\dblfloatpagefraction{.5} nicholas@322: nicholas@322: % nicholas@322: \long\def\@makecaption#1#2{ nicholas@322: \vskip \baselineskip nicholas@322: \setbox\@tempboxa\hbox{\textbf{#1: #2}} nicholas@322: \ifdim \wd\@tempboxa >\hsize % IF longer than one line: nicholas@322: \textbf{#1: #2}\par % THEN set as ordinary paragraph. nicholas@322: \else % ELSE center. nicholas@322: \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par nicholas@322: \fi} nicholas@322: nicholas@322: % nicholas@322: nicholas@322: \long\def\@makecaption#1#2{ nicholas@322: \vskip 10pt nicholas@322: \setbox\@tempboxa\hbox{\textbf{#1: #2}} nicholas@322: \ifdim \wd\@tempboxa >\hsize % IF longer than one line: nicholas@322: \textbf{#1: #2}\par % THEN set as ordinary paragraph. nicholas@322: \else % ELSE center. nicholas@322: \hbox to\hsize{\hfil\box\@tempboxa\hfil} nicholas@322: \fi} nicholas@322: nicholas@322: \@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e nicholas@322: nicholas@322: \def\fps@figure{tbp} nicholas@322: \def\ftype@figure{1} nicholas@322: \def\ext@figure{lof} nicholas@322: \def\fnum@figure{Figure \thefigure} nicholas@322: \def\figure{\@float{figure}} nicholas@322: %\let\endfigure\end@float nicholas@322: \def\endfigure{\end@float} % Gerry January 2008 nicholas@322: \@namedef{figure*}{\@dblfloat{figure}} nicholas@322: \@namedef{endfigure*}{\end@dblfloat} nicholas@322: nicholas@322: \@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e nicholas@322: nicholas@322: \def\fps@table{tbp} nicholas@322: \def\ftype@table{2} nicholas@322: \def\ext@table{lot} nicholas@322: \def\fnum@table{Table \thetable} nicholas@322: \def\table{\@float{table}} nicholas@322: %\let\endtable\end@float nicholas@322: \def\endtable{\end@float} % Gerry January 2008 nicholas@322: \@namedef{table*}{\@dblfloat{table}} nicholas@322: \@namedef{endtable*}{\end@dblfloat} nicholas@322: nicholas@322: \newtoks\titleboxnotes nicholas@322: \newcount\titleboxnoteflag nicholas@322: nicholas@322: \def\maketitle{\par nicholas@322: \begingroup nicholas@322: \def\thefootnote{\fnsymbol{footnote}} nicholas@322: \def\@makefnmark{\hbox nicholas@322: to 0pt{$^{\@thefnmark}$\hss}} nicholas@322: \twocolumn[\@maketitle] nicholas@322: \@thanks nicholas@322: \endgroup nicholas@322: \setcounter{footnote}{0} nicholas@322: \let\maketitle\relax nicholas@322: \let\@maketitle\relax nicholas@322: \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax nicholas@322: \@copyrightspace} nicholas@322: nicholas@322: %% CHANGES ON NEXT LINES nicholas@322: \newif\if@ll % to record which version of LaTeX is in use nicholas@322: nicholas@322: \expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used nicholas@322: \else% LaTeX2e is used, so set ll to true nicholas@322: \global\@lltrue nicholas@322: \fi nicholas@322: nicholas@322: \if@ll nicholas@322: \NeedsTeXFormat{LaTeX2e} nicholas@322: \ProvidesClass{sig-alternate} [2013/05/12 v2.7 based on acmproc.cls V1.3 ] nicholas@322: \RequirePackage{latexsym}% QUERY: are these two really needed? nicholas@322: \let\dooptions\ProcessOptions nicholas@322: \else nicholas@322: \let\dooptions\@options nicholas@322: \fi nicholas@322: %% END CHANGES nicholas@322: nicholas@322: \def\@height{height} nicholas@322: \def\@width{width} nicholas@322: \def\@minus{minus} nicholas@322: \def\@plus{plus} nicholas@322: \def\hb@xt@{\hbox to} nicholas@322: \newif\if@faircopy nicholas@322: \@faircopyfalse nicholas@322: \def\ds@faircopy{\@faircopytrue} nicholas@322: nicholas@322: \def\ds@preprint{\@faircopyfalse} nicholas@322: nicholas@322: \@twosidetrue nicholas@322: \@mparswitchtrue nicholas@322: \def\ds@draft{\overfullrule 5\p@} nicholas@322: %% CHANGE ON NEXT LINE nicholas@322: \dooptions nicholas@322: nicholas@322: \lineskip \p@ nicholas@322: \normallineskip \p@ nicholas@322: \def\baselinestretch{1} nicholas@322: \def\@ptsize{0} %needed for amssymbols.sty nicholas@322: nicholas@322: %% CHANGES ON NEXT LINES nicholas@322: \if@ll% allow use of old-style font change commands in LaTeX2e nicholas@322: \@maxdepth\maxdepth nicholas@322: % nicholas@322: \DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm} nicholas@322: \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} nicholas@322: \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} nicholas@322: \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} nicholas@322: \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} nicholas@322: \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} nicholas@322: \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} nicholas@322: \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}} nicholas@322: \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}} nicholas@322: \fi nicholas@322: % nicholas@322: \if@ll nicholas@322: \renewcommand{\rmdefault}{cmr} % was 'ttm' nicholas@322: % Note! I have also found 'mvr' to work ESPECIALLY well. nicholas@322: % Gerry - October 1999 nicholas@322: % You may need to change your LV1times.fd file so that sc is nicholas@322: % mapped to cmcsc - -for smallcaps -- that is if you decide nicholas@322: % to change {cmr} to {times} above. (Not recommended) nicholas@322: \renewcommand{\@ptsize}{} nicholas@322: \renewcommand{\normalsize}{% nicholas@322: \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept% nicholas@322: \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@ nicholas@322: \belowdisplayskip \abovedisplayskip nicholas@322: \abovedisplayshortskip 6\p@ \@minus 3\p@ nicholas@322: \belowdisplayshortskip 6\p@ \@minus 3\p@ nicholas@322: \let\@listi\@listI nicholas@322: } nicholas@322: \else nicholas@322: \def\@normalsize{%changed next to 9 from 10 nicholas@322: \@setsize\normalsize{9\p@}\ixpt\@ixpt nicholas@322: \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@ nicholas@322: \belowdisplayskip \abovedisplayskip nicholas@322: \abovedisplayshortskip 6\p@ \@minus 3\p@ nicholas@322: \belowdisplayshortskip 6\p@ \@minus 3\p@ nicholas@322: \let\@listi\@listI nicholas@322: }% nicholas@322: \fi nicholas@322: \if@ll nicholas@322: \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}} nicholas@322: \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}} nicholas@322: \newcommand\large{\@setfontsize\large\@xiipt{14\p@}} nicholas@322: \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}} nicholas@322: \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}} nicholas@322: \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}} nicholas@322: \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}} nicholas@322: \else nicholas@322: \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt} nicholas@322: \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt} nicholas@322: \def\large{\@setsize\large{14\p@}\xiipt\@xiipt} nicholas@322: \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt} nicholas@322: \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt} nicholas@322: \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt} nicholas@322: \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt} nicholas@322: \fi nicholas@322: \normalsize nicholas@322: nicholas@322: % make aubox hsize/number of authors up to 3, less gutter nicholas@322: % then showbox gutter showbox gutter showbox -- GKMT Aug 99 nicholas@322: \newbox\@acmtitlebox nicholas@322: \def\@maketitle{\newpage nicholas@322: \null nicholas@322: \setbox\@acmtitlebox\vbox{% nicholas@322: \baselineskip 20pt nicholas@322: \vskip 2em % Vertical space above title. nicholas@322: \begin{center} nicholas@322: {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size. nicholas@322: \vskip 1.5em % Vertical space after title. nicholas@322: %This should be the subtitle. nicholas@322: {\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi nicholas@322: {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a nicholas@322: \lineskip .5em % tabular environment nicholas@322: \begin{tabular}[t]{c}\@author nicholas@322: \end{tabular}\par} nicholas@322: \vskip 1.5em % Vertical space after author. nicholas@322: \end{center}} nicholas@322: \dimen0=\ht\@acmtitlebox nicholas@322: \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT nicholas@322: \unvbox\@acmtitlebox nicholas@322: \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi} nicholas@322: nicholas@322: nicholas@322: \newcount\titlenotecount nicholas@322: \global\titlenotecount=0 nicholas@322: \newtoks\tntoks nicholas@322: \newtoks\tntokstwo nicholas@322: \newtoks\tntoksthree nicholas@322: \newtoks\tntoksfour nicholas@322: \newtoks\tntoksfive nicholas@322: nicholas@322: \def\abstract{ nicholas@322: \ifnum\titlenotecount>0 % was =1 nicholas@322: \insert\footins{% nicholas@322: \reset@font\footnotesize nicholas@322: \interlinepenalty\interfootnotelinepenalty nicholas@322: \splittopskip\footnotesep nicholas@322: \splitmaxdepth \dp\strutbox \floatingpenalty \@MM nicholas@322: \hsize\columnwidth \@parboxrestore nicholas@322: \protected@edef\@currentlabel{% nicholas@322: }% nicholas@322: \color@begingroup nicholas@322: \ifnum\titlenotecount=1 nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}% nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=2 nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}% nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=3 nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}% nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=4 nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}% nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=5 nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}% nicholas@322: \@maketntext{% nicholas@322: \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}% nicholas@322: \fi nicholas@322: \color@endgroup} %g} nicholas@322: \fi nicholas@322: \setcounter{footnote}{0} nicholas@322: \section*{ABSTRACT}\normalsize%\ninept nicholas@322: } nicholas@322: nicholas@322: \def\endabstract{\if@twocolumn\else\endquotation\fi} nicholas@322: nicholas@322: \def\keywords{\if@twocolumn nicholas@322: \section*{Keywords} nicholas@322: \else \small nicholas@322: \quotation nicholas@322: \fi} nicholas@322: nicholas@322: \def\terms#1{% nicholas@322: %\if@twocolumn nicholas@322: %\section*{General Terms} nicholas@322: %\else \small nicholas@322: %\quotation nicholas@322: %\fi nicholas@322: } nicholas@322: nicholas@322: % -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999 nicholas@322: \newcount\catcount nicholas@322: \global\catcount=1 nicholas@322: nicholas@322: \def\category#1#2#3{% nicholas@322: \ifnum\catcount=1 nicholas@322: \section*{Categories and Subject Descriptors} nicholas@322: \advance\catcount by 1\else{\unskip; }\fi nicholas@322: \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}% nicholas@322: } nicholas@322: nicholas@322: nicholas@322: \def\@category#1#2#3[#4]{% nicholas@322: \begingroup nicholas@322: \let\and\relax nicholas@322: #1 [\textbf{#2}]% nicholas@322: \if!#4!% nicholas@322: \if!#3!\else : #3\fi nicholas@322: \else nicholas@322: :\space nicholas@322: \if!#3!\else #3\kern\z@---\hskip\z@\fi nicholas@322: \textit{#4}% nicholas@322: \fi nicholas@322: \endgroup nicholas@322: } nicholas@322: % nicholas@322: nicholas@322: nicholas@322: nicholas@322: nicholas@322: nicholas@322: nicholas@322: %%% This section (written by KBT) handles the 1" box in the lower left nicholas@322: %%% corner of the left column of the first page by creating a picture, nicholas@322: %%% and inserting the predefined string at the bottom (with a negative nicholas@322: %%% displacement to offset the space allocated for a non-existent nicholas@322: %%% caption). nicholas@322: %%% nicholas@322: \newtoks\copyrightnotice nicholas@322: \def\ftype@copyrightbox{8} nicholas@322: \def\@copyrightspace{ nicholas@322: \@float{copyrightbox}[b] nicholas@322: \begin{center} nicholas@322: \setlength{\unitlength}{1pc} nicholas@322: \begin{picture}(20,6) %Space for copyright notice nicholas@322: \put(0,-0.95){\crnotice{\@toappear}} nicholas@322: \end{picture} nicholas@322: \end{center} nicholas@322: \end@float} nicholas@322: nicholas@322: \def\@toappear{} % Default setting blank - commands below change this. nicholas@322: \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}} nicholas@322: \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}} nicholas@322: nicholas@322: \newtoks\conf nicholas@322: \newtoks\confinfo nicholas@322: \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}} nicholas@322: nicholas@322: nicholas@322: %\def\marginpar{\@latexerr{The \marginpar command is not allowed in the nicholas@322: % `acmconf' document style.}\@eha} nicholas@322: nicholas@322: \def\marginpar{\ClassError{% nicholas@322: \string\marginpar\space is not allowed in the `acmconf' document % January 2008 nicholas@322: style}\@eha} nicholas@322: nicholas@322: \mark{{}{}} % Initializes TeX's marks nicholas@322: nicholas@322: \def\today{\ifcase\month\or nicholas@322: January\or February\or March\or April\or May\or June\or nicholas@322: July\or August\or September\or October\or November\or December\fi nicholas@322: \space\number\day, \number\year} nicholas@322: nicholas@322: \def\@begintheorem#1#2{% nicholas@322: \parskip 0pt % GM July 2000 (for tighter spacing) nicholas@322: \trivlist nicholas@322: \item[% nicholas@322: \hskip 10\p@ nicholas@322: \hskip \labelsep nicholas@322: {{\sc #1}\hskip 5\p@\relax#2.}% nicholas@322: ] nicholas@322: \it nicholas@322: } nicholas@322: \def\@opargbegintheorem#1#2#3{% nicholas@322: \parskip 0pt % GM July 2000 (for tighter spacing) nicholas@322: \trivlist nicholas@322: \item[% nicholas@322: \hskip 10\p@ nicholas@322: \hskip \labelsep nicholas@322: {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries nicholas@322: \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title' nicholas@322: \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems nicholas@322: \hskip 5\p@\relax % if they occur 'around' said corollaries. nicholas@322: \box\@tempboxa % Gerry - Nov. 1999. nicholas@322: \fi.}% nicholas@322: ] nicholas@322: \it nicholas@322: } nicholas@322: \newif\if@qeded nicholas@322: \global\@qededfalse nicholas@322: nicholas@322: % -- original nicholas@322: %\def\proof{% nicholas@322: % \vspace{-\parskip} % GM July 2000 (for tighter spacing) nicholas@322: % \global\@qededfalse nicholas@322: % \@ifnextchar[{\@xproof}{\@proof}% nicholas@322: %} nicholas@322: % -- end of original nicholas@322: nicholas@322: % (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002 nicholas@322: \def\proof{% nicholas@322: \vspace{-\lastskip}\vspace{-\parsep}\penalty-51% nicholas@322: \global\@qededfalse nicholas@322: \@ifnextchar[{\@xproof}{\@proof}% nicholas@322: } nicholas@322: nicholas@322: \def\endproof{% nicholas@322: \if@qeded\else\qed\fi nicholas@322: \endtrivlist nicholas@322: } nicholas@322: \def\@proof{% nicholas@322: \trivlist nicholas@322: \item[% nicholas@322: \hskip 10\p@ nicholas@322: \hskip \labelsep nicholas@322: {\sc Proof.}% nicholas@322: ] nicholas@322: \ignorespaces nicholas@322: } nicholas@322: \def\@xproof[#1]{% nicholas@322: \trivlist nicholas@322: \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]% nicholas@322: \ignorespaces nicholas@322: } nicholas@322: \def\qed{% nicholas@322: \unskip nicholas@322: \kern 10\p@ nicholas@322: \begingroup nicholas@322: \unitlength\p@ nicholas@322: \linethickness{.4\p@}% nicholas@322: \framebox(6,6){}% nicholas@322: \endgroup nicholas@322: \global\@qededtrue nicholas@322: } nicholas@322: nicholas@322: \def\newdef#1#2{% nicholas@322: \expandafter\@ifdefinable\csname #1\endcsname nicholas@322: {\@definecounter{#1}% nicholas@322: \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}% nicholas@322: \global\@namedef{#1}{\@defthm{#1}{#2}}% nicholas@322: \global\@namedef{end#1}{\@endtheorem}% nicholas@322: }% nicholas@322: } nicholas@322: \def\@defthm#1#2{% nicholas@322: \refstepcounter{#1}% nicholas@322: \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}% nicholas@322: } nicholas@322: \def\@xdefthm#1#2{% nicholas@322: \@begindef{#2}{\csname the#1\endcsname}% nicholas@322: \ignorespaces nicholas@322: } nicholas@322: \def\@ydefthm#1#2[#3]{% nicholas@322: \trivlist nicholas@322: \item[% nicholas@322: \hskip 10\p@ nicholas@322: \hskip \labelsep nicholas@322: {\it #2% nicholas@322: % \savebox\@tempboxa{#3}% nicholas@322: \saveb@x\@tempboxa{#3}% % January 2008 nicholas@322: \ifdim \wd\@tempboxa>\z@ nicholas@322: \ \box\@tempboxa nicholas@322: \fi.% nicholas@322: }]% nicholas@322: \ignorespaces nicholas@322: } nicholas@322: \def\@begindef#1#2{% nicholas@322: \trivlist nicholas@322: \item[% nicholas@322: \hskip 10\p@ nicholas@322: \hskip \labelsep nicholas@322: {\it #1\ \rm #2.}% nicholas@322: ]% nicholas@322: } nicholas@322: \def\theequation{\arabic{equation}} nicholas@322: nicholas@322: \newcounter{part} nicholas@322: \newcounter{section} nicholas@322: \newcounter{subsection}[section] nicholas@322: \newcounter{subsubsection}[subsection] nicholas@322: \newcounter{paragraph}[subsubsection] nicholas@322: \def\thepart{\Roman{part}} nicholas@322: \def\thesection{\arabic{section}} nicholas@322: \def\thesubsection{\thesection.\arabic{subsection}} nicholas@322: \def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt nicholas@322: \def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt nicholas@322: \newif\if@uchead nicholas@322: \@ucheadfalse nicholas@322: nicholas@322: %% CHANGES: NEW NOTE nicholas@322: %% NOTE: OK to use old-style font commands below, since they were nicholas@322: %% suitably redefined for LaTeX2e nicholas@322: %% END CHANGES nicholas@322: \setcounter{secnumdepth}{3} nicholas@322: \def\part{% nicholas@322: \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@} nicholas@322: {4\p@}{\normalsize\@ucheadtrue}% nicholas@322: } nicholas@322: \def\section{% nicholas@322: \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}% GM nicholas@322: {4\p@}{\baselineskip 14pt\secfnt\@ucheadtrue}% nicholas@322: } nicholas@322: nicholas@322: \def\subsection{% nicholas@322: \@startsection{subsection}{2}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@} nicholas@322: {4\p@}{\secfnt}% nicholas@322: } nicholas@322: \def\subsubsection{% nicholas@322: \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}% nicholas@322: {4\p@}{\subsecfnt}% nicholas@322: } nicholas@322: %\def\paragraph{% nicholas@322: % \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original nicholas@322: % {-5\p@}{\subsecfnt}% nicholas@322: %} nicholas@322: % If one wants sections, subsections and subsubsections numbered, nicholas@322: % but not paragraphs, one usually sets secnumepth to 3. nicholas@322: % For that, the "depth" of paragraphs must be given correctly nicholas@322: % in the definition (``4'' instead of ``3'' as second argument nicholas@322: % of @startsection): nicholas@322: \def\paragraph{% nicholas@322: \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}% % GM and Wolfgang May - 11/30/06 nicholas@322: {-5\p@}{\subsecfnt}% nicholas@322: } nicholas@322: \let\@period=. nicholas@322: \def\@startsection#1#2#3#4#5#6{% nicholas@322: \if@noskipsec %gkmt, 11 aug 99 nicholas@322: \global\let\@period\@empty nicholas@322: \leavevmode nicholas@322: \global\let\@period.% nicholas@322: \fi nicholas@322: \par % nicholas@322: \@tempskipa #4\relax nicholas@322: \@afterindenttrue nicholas@322: \ifdim \@tempskipa <\z@ nicholas@322: \@tempskipa -\@tempskipa nicholas@322: \@afterindentfalse nicholas@322: \fi nicholas@322: \if@nobreak nicholas@322: \everypar{}% nicholas@322: \else nicholas@322: \addpenalty\@secpenalty nicholas@322: \addvspace\@tempskipa nicholas@322: \fi nicholas@322: \parskip=0pt % GM July 2000 (non numbered) section heads nicholas@322: \@ifstar nicholas@322: {\@ssect{#3}{#4}{#5}{#6}} nicholas@322: {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}% nicholas@322: } nicholas@322: \def\@sect#1#2#3#4#5#6[#7]#8{% nicholas@322: \ifnum #2>\c@secnumdepth nicholas@322: \let\@svsec\@empty nicholas@322: \else nicholas@322: \refstepcounter{#1}% nicholas@322: \edef\@svsec{% nicholas@322: \begingroup nicholas@322: %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt nicholas@322: \ifnum#2>2 \noexpand#6 \fi nicholas@322: \csname the#1\endcsname nicholas@322: \endgroup nicholas@322: \ifnum #2=1\relax .\fi nicholas@322: \hskip 1em nicholas@322: }% nicholas@322: \fi nicholas@322: \@tempskipa #5\relax nicholas@322: \ifdim \@tempskipa>\z@ nicholas@322: \begingroup nicholas@322: #6\relax nicholas@322: \@hangfrom{\hskip #3\relax\@svsec}% nicholas@322: \begingroup nicholas@322: \interlinepenalty \@M nicholas@322: \if@uchead nicholas@322: \uppercase{#8}% nicholas@322: \else nicholas@322: #8% nicholas@322: \fi nicholas@322: \par nicholas@322: \endgroup nicholas@322: \endgroup nicholas@322: \csname #1mark\endcsname{#7}% nicholas@322: \vskip -12pt %gkmt, 11 aug 99 and GM July 2000 (was -14) - numbered section head spacing nicholas@322: \addcontentsline{toc}{#1}{% nicholas@322: \ifnum #2>\c@secnumdepth \else nicholas@322: \protect\numberline{\csname the#1\endcsname}% nicholas@322: \fi nicholas@322: #7% nicholas@322: }% nicholas@322: \else nicholas@322: \def\@svsechd{% nicholas@322: #6% nicholas@322: \hskip #3\relax nicholas@322: \@svsec nicholas@322: \if@uchead nicholas@322: \uppercase{#8}% nicholas@322: \else nicholas@322: #8% nicholas@322: \fi nicholas@322: \csname #1mark\endcsname{#7}% nicholas@322: \addcontentsline{toc}{#1}{% nicholas@322: \ifnum #2>\c@secnumdepth \else nicholas@322: \protect\numberline{\csname the#1\endcsname}% nicholas@322: \fi nicholas@322: #7% nicholas@322: }% nicholas@322: }% nicholas@322: \fi nicholas@322: \@xsect{#5}\hskip 1pt nicholas@322: \par nicholas@322: } nicholas@322: \def\@xsect#1{% nicholas@322: \@tempskipa #1\relax nicholas@322: \ifdim \@tempskipa>\z@ nicholas@322: \par nicholas@322: \nobreak nicholas@322: \vskip \@tempskipa nicholas@322: \@afterheading nicholas@322: \else nicholas@322: \global\@nobreakfalse nicholas@322: \global\@noskipsectrue nicholas@322: \everypar{% nicholas@322: \if@noskipsec nicholas@322: \global\@noskipsecfalse nicholas@322: \clubpenalty\@M nicholas@322: \hskip -\parindent nicholas@322: \begingroup nicholas@322: \@svsechd nicholas@322: \@period nicholas@322: \endgroup nicholas@322: \unskip nicholas@322: \@tempskipa #1\relax nicholas@322: \hskip -\@tempskipa nicholas@322: \else nicholas@322: \clubpenalty \@clubpenalty nicholas@322: \everypar{}% nicholas@322: \fi nicholas@322: }% nicholas@322: \fi nicholas@322: \ignorespaces nicholas@322: } nicholas@322: \def\@trivlist{% nicholas@322: \@topsepadd\topsep nicholas@322: \if@noskipsec nicholas@322: \global\let\@period\@empty nicholas@322: \leavevmode nicholas@322: \global\let\@period.% nicholas@322: \fi nicholas@322: \ifvmode nicholas@322: \advance\@topsepadd\partopsep nicholas@322: \else nicholas@322: \unskip nicholas@322: \par nicholas@322: \fi nicholas@322: \if@inlabel nicholas@322: \@noparitemtrue nicholas@322: \@noparlisttrue nicholas@322: \else nicholas@322: \@noparlistfalse nicholas@322: \@topsep\@topsepadd nicholas@322: \fi nicholas@322: \advance\@topsep \parskip nicholas@322: \leftskip\z@skip nicholas@322: \rightskip\@rightskip nicholas@322: \parfillskip\@flushglue nicholas@322: \@setpar{\if@newlist\else{\@@par}\fi} nicholas@322: \global\@newlisttrue nicholas@322: \@outerparskip\parskip nicholas@322: } nicholas@322: nicholas@322: %%% Actually, 'abbrev' works just fine as the default nicholas@322: %%% Bibliography style. nicholas@322: nicholas@322: \typeout{Using 'Abbrev' bibliography style} nicholas@322: \newcommand\bibyear[2]{% nicholas@322: \unskip\quad\ignorespaces#1\unskip nicholas@322: \if#2..\quad \else \quad#2 \fi nicholas@322: } nicholas@322: \newcommand{\bibemph}[1]{{\em#1}} nicholas@322: \newcommand{\bibemphic}[1]{{\em#1\/}} nicholas@322: \newcommand{\bibsc}[1]{{\sc#1}} nicholas@322: \def\@normalcite{% nicholas@322: \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}% nicholas@322: } nicholas@322: \def\@citeNB{% nicholas@322: \def\@cite##1##2{##1\if@tempswa , ##2\fi}% nicholas@322: } nicholas@322: \def\@citeRB{% nicholas@322: \def\@cite##1##2{##1\if@tempswa , ##2\fi]}% nicholas@322: } nicholas@322: \def\start@cite#1#2{% nicholas@322: \edef\citeauthoryear##1##2##3{% nicholas@322: ###1% nicholas@322: \ifnum#2=\z@ \else\ ###2\fi nicholas@322: }% nicholas@322: \ifnum#1=\thr@@ nicholas@322: \let\@@cite\@citeyear nicholas@322: \else nicholas@322: \let\@@cite\@citenormal nicholas@322: \fi nicholas@322: \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}% nicholas@322: } nicholas@322: %\def\cite{\start@cite23} nicholas@322: \DeclareRobustCommand\cite{\start@cite23} % January 2008 nicholas@322: \def\citeNP{\cite*} % No Parentheses e.g. 5 nicholas@322: %\def\citeA{\start@cite10} nicholas@322: \DeclareRobustCommand\citeA{\start@cite10} % January 2008 nicholas@322: \def\citeANP{\citeA*} nicholas@322: %\def\shortcite{\start@cite23} nicholas@322: \DeclareRobustCommand\shortcite{\start@cite23} % January 2008 nicholas@322: \def\shortciteNP{\shortcite*} nicholas@322: %\def\shortciteA{\start@cite20} nicholas@322: \DeclareRobustCommand\shortciteA{\start@cite20} % January 2008 nicholas@322: \def\shortciteANP{\shortciteA*} nicholas@322: %\def\citeyear{\start@cite30} nicholas@322: \DeclareRobustCommand\citeyear{\start@cite30} % January 2008 nicholas@322: \def\citeyearNP{\citeyear*} nicholas@322: %\def\citeN{% nicholas@322: \DeclareRobustCommand\citeN{% % January 2008 nicholas@322: \@citeRB nicholas@322: \def\citeauthoryear##1##2##3{##1\ [##3% nicholas@322: \def\reserved@a{##1}% nicholas@322: \def\citeauthoryear####1####2####3{% nicholas@322: \def\reserved@b{####1}% nicholas@322: \ifx\reserved@a\reserved@b nicholas@322: ####3% nicholas@322: \else nicholas@322: \errmessage{Package acmart Error: author mismatch nicholas@322: in \string\citeN^^J^^J% nicholas@322: See the acmart package documentation for explanation}% nicholas@322: \fi nicholas@322: }% nicholas@322: }% nicholas@322: \@ifstar\@citeyear\@citeyear nicholas@322: } nicholas@322: %\def\shortciteN{% nicholas@322: \DeclareRobustCommand\shortciteN{% % January 2008 nicholas@322: \@citeRB nicholas@322: \def\citeauthoryear##1##2##3{##2\ [##3% nicholas@322: \def\reserved@a{##2}% nicholas@322: \def\citeauthoryear####1####2####3{% nicholas@322: \def\reserved@b{####2}% nicholas@322: \ifx\reserved@a\reserved@b nicholas@322: ####3% nicholas@322: \else nicholas@322: \errmessage{Package acmart Error: author mismatch nicholas@322: in \string\shortciteN^^J^^J% nicholas@322: See the acmart package documentation for explanation}% nicholas@322: \fi nicholas@322: }% nicholas@322: }% nicholas@322: \@ifstar\@citeyear\@citeyear % GM July 2000 nicholas@322: } nicholas@322: nicholas@322: \def\@citenormal{% nicholas@322: \@ifnextchar [{\@tempswatrue\@citex;}% nicholas@322: % original {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00 nicholas@322: {\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009 nicholas@322: } nicholas@322: nicholas@322: \def\@citeyear{% nicholas@322: \@ifnextchar [{\@tempswatrue\@citex,}% nicholas@322: % original {\@tempswafalse\@citex,[]}% nicholas@322: {\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009 nicholas@322: } nicholas@322: nicholas@322: \def\@citex#1[#2]#3{% nicholas@322: \let\@citea\@empty nicholas@322: \@cite{% nicholas@322: \@for\@citeb:=#3\do{% nicholas@322: \@citea nicholas@322: % original \def\@citea{#1 }% nicholas@322: \def\@citea{#1, }% % GERRY FIX FOR BABEL 3/20/2009 -- SO THAT YOU GET [1, 2] IN THE BODY TEXT nicholas@322: \edef\@citeb{\expandafter\@iden\@citeb}% nicholas@322: \if@filesw nicholas@322: \immediate\write\@auxout{\string\citation{\@citeb}}% nicholas@322: \fi nicholas@322: \@ifundefined{b@\@citeb}{% nicholas@322: {\bf ?}% nicholas@322: \@warning{% nicholas@322: Citation `\@citeb' on page \thepage\space undefined% nicholas@322: }% nicholas@322: }% nicholas@322: {\csname b@\@citeb\endcsname}% nicholas@322: }% nicholas@322: }{#2}% nicholas@322: } nicholas@322: %\let\@biblabel\@gobble % Dec. 2008 - Gerry nicholas@322: % ---- nicholas@322: \def\@biblabelnum#1{[#1]} % Gerry's solution #1 - for Natbib -- April 2009 nicholas@322: \let\@biblabel=\@biblabelnum % Gerry's solution #1 - for Natbib -- April 2009 nicholas@322: \def\newblock{\relax} % Gerry Dec. 2008 nicholas@322: % --- nicholas@322: \newdimen\bibindent nicholas@322: \setcounter{enumi}{1} nicholas@322: \bibindent=0em nicholas@322: \def\thebibliography#1{% nicholas@322: \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi nicholas@322: \section[References]{% <=== OPTIONAL ARGUMENT ADDED HERE nicholas@322: {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004) nicholas@322: {\vskip -9pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing) nicholas@322: \@mkboth{{\refname}}{{\refname}}% nicholas@322: }% nicholas@322: \list{[\arabic{enumi}]}{% nicholas@322: \settowidth\labelwidth{[#1]}% nicholas@322: \leftmargin\labelwidth nicholas@322: \advance\leftmargin\labelsep nicholas@322: \advance\leftmargin\bibindent nicholas@322: \parsep=0pt\itemsep=1pt % GM July 2000 nicholas@322: \itemindent -\bibindent nicholas@322: \listparindent \itemindent nicholas@322: \usecounter{enumi} nicholas@322: }% nicholas@322: \let\newblock\@empty nicholas@322: \raggedright % GM July 2000 nicholas@322: \sloppy nicholas@322: \sfcode`\.=1000\relax nicholas@322: } nicholas@322: nicholas@322: nicholas@322: \gdef\balancecolumns nicholas@322: {\vfill\eject nicholas@322: \global\@colht=\textheight nicholas@322: \global\ht\@cclv=\textheight nicholas@322: } nicholas@322: nicholas@322: \newcount\colcntr nicholas@322: \global\colcntr=0 nicholas@322: %\newbox\savebox nicholas@322: \newbox\saveb@x % January 2008 nicholas@322: nicholas@322: \gdef \@makecol {% nicholas@322: \global\advance\colcntr by 1 nicholas@322: \ifnum\colcntr>2 \global\colcntr=1\fi nicholas@322: \ifvoid\footins nicholas@322: \setbox\@outputbox \box\@cclv nicholas@322: \else nicholas@322: \setbox\@outputbox \vbox{% nicholas@322: \boxmaxdepth \@maxdepth nicholas@322: \@tempdima\dp\@cclv nicholas@322: \unvbox \@cclv nicholas@322: \vskip-\@tempdima nicholas@322: \vskip \skip\footins nicholas@322: \color@begingroup nicholas@322: \normalcolor nicholas@322: \footnoterule nicholas@322: \unvbox \footins nicholas@322: \color@endgroup nicholas@322: }% nicholas@322: \fi nicholas@322: \xdef\@freelist{\@freelist\@midlist}% nicholas@322: \global \let \@midlist \@empty nicholas@322: \@combinefloats nicholas@322: \ifvbox\@kludgeins nicholas@322: \@makespecialcolbox nicholas@322: \else nicholas@322: \setbox\@outputbox \vbox to\@colht {% nicholas@322: \@texttop nicholas@322: \dimen@ \dp\@outputbox nicholas@322: \unvbox \@outputbox nicholas@322: \vskip -\dimen@ nicholas@322: \@textbottom nicholas@322: }% nicholas@322: \fi nicholas@322: \global \maxdepth \@maxdepth nicholas@322: } nicholas@322: \def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn nicholas@322: \global\advance\titlenotecount by 1 nicholas@322: \ifnum\titlenotecount=1 nicholas@322: \raisebox{9pt}{$\ast$} nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=2 nicholas@322: \raisebox{9pt}{$\dagger$} nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=3 nicholas@322: \raisebox{9pt}{$\ddagger$} nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=4 nicholas@322: \raisebox{9pt}{$\S$} nicholas@322: \fi nicholas@322: \ifnum\titlenotecount=5 nicholas@322: \raisebox{9pt}{$\P$} nicholas@322: \fi nicholas@322: \@titlenotetext nicholas@322: }} nicholas@322: nicholas@322: \long\def\@titlenotetext#1{\insert\footins{% nicholas@322: \ifnum\titlenotecount=1\global\tntoks={#1}\fi nicholas@322: \ifnum\titlenotecount=2\global\tntokstwo={#1}\fi nicholas@322: \ifnum\titlenotecount=3\global\tntoksthree={#1}\fi nicholas@322: \ifnum\titlenotecount=4\global\tntoksfour={#1}\fi nicholas@322: \ifnum\titlenotecount=5\global\tntoksfive={#1}\fi nicholas@322: \reset@font\footnotesize nicholas@322: \interlinepenalty\interfootnotelinepenalty nicholas@322: \splittopskip\footnotesep nicholas@322: \splitmaxdepth \dp\strutbox \floatingpenalty \@MM nicholas@322: \hsize\columnwidth \@parboxrestore nicholas@322: \protected@edef\@currentlabel{% nicholas@322: }% nicholas@322: \color@begingroup nicholas@322: \color@endgroup}} nicholas@322: nicholas@322: %%%%%%%%%%%%%%%%%%%%%%%%% nicholas@322: \ps@plain nicholas@322: \baselineskip=11pt nicholas@322: \let\thepage\relax % For NO page numbers - GM Nov. 30th. 1999 and July 2000 nicholas@322: \def\setpagenumber#1{\global\setcounter{page}{#1}} nicholas@322: %\pagenumbering{arabic} % Arabic page numbers GM July 2000 nicholas@322: \twocolumn % Double column. nicholas@322: \flushbottom % Even bottom -- alas, does not balance columns at end of document nicholas@322: \pagestyle{plain} nicholas@322: nicholas@322: % Need Copyright Year and Copyright Data to be user definable (in .tex file). nicholas@322: % Gerry Nov. 30th. 1999 nicholas@322: \newtoks\copyrtyr nicholas@322: \newtoks\acmcopyr nicholas@322: \newtoks\boilerplate nicholas@322: \global\acmcopyr={X-XXXXX-XX-X/XX/XX} % Default - 5/11/2001 *** Gerry nicholas@322: \global\copyrtyr={\the\year} % Default - 3/3/2003 *** Gerry nicholas@322: \def\acmPrice#1{\gdef\@acmPrice{#1}} nicholas@322: \acmPrice{} %article price % Changed to 15 - June 2012 - Gerry nicholas@322: nicholas@322: nicholas@322: \def\CopyrightYear#1{\global\copyrtyr{#1}} nicholas@322: \def\crdata#1{\global\acmcopyr{#1}} nicholas@322: \def\permission#1{\global\boilerplate{#1}} nicholas@322: nicholas@322: % ISBN nicholas@322: % nicholas@322: \def\isbn#1{\global\acmcopyr={#1}} nicholas@322: \isbn{978-1-4503-2138-9} nicholas@322: nicholas@322: \RequirePackage{url} nicholas@322: \urlstyle{rm} nicholas@322: \def\doi#1{\def\@doi{#1}} nicholas@322: \doi{10.1145/1235} nicholas@322: \def\printdoi#1{\url{#1}} nicholas@322: nicholas@322: nicholas@322: nicholas@322: % Copyright nicholas@322: \RequirePackage{waccopyright} nicholas@322: \setcopyright{none} nicholas@322: nicholas@322: % nicholas@322: \global\boilerplate={\@copyrightpermission} nicholas@322: nicholas@322: nicholas@322: nicholas@322: \newtoks\copyrightetc nicholas@322: \global\copyrightetc{% nicholas@322: {\noindent\confname\ \the\conf\ \the\confinfo}\par\smallskip nicholas@322: \if@printcopyright nicholas@322: \copyright\ \the\copyrtyr\ \@copyrightowner nicholas@322: \fi nicholas@322: \if@acmowned ISBN \else\ifnum\acm@copyrightmode=2 ISBN \else %\par\smallskip ~ nicholas@322: \fi\fi nicholas@322: % \the\acmcopyr nicholas@322: \ifx\@acmPrice\@empty.\else\dots\@acmPrice\fi\par%\smallskip nicholas@322: %{DOI: \small\expandafter\printdoi\expandafter{\@doi}% nicholas@322: } nicholas@322: \toappear{\fontsize{7pt}{8pt}\fontfamily{ptm}\selectfont nicholas@322: \the\boilerplate\par\smallskip nicholas@322: \the\copyrightetc} nicholas@322: %\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8} % << patch needed for accenting e.g. Montreal - Gerry, May 2007 nicholas@322: %\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8} % << patch needed for accenting in italicized confname - Gerry, May 2007 nicholas@322: % nicholas@322: %{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.} % << Gerry, May 2007 nicholas@322: % nicholas@322: % The following section (i.e. 3 .sty inclusions) was added in May 2007 so as to fix the problems that many nicholas@322: % authors were having with accents. Sometimes accents would occur, but the letter-character would be of a different nicholas@322: % font. Conversely the letter-character font would be correct but, e.g. a 'bar' would appear superimposed on the nicholas@322: % character instead of, say, an unlaut/diaresis. Sometimes the letter-character would NOT appear at all. nicholas@322: % Using [T1]{fontenc} outright was not an option as this caused 99% of the authors to 'produce' a Type-3 (bitmapped) nicholas@322: % PDF file - useless for production. nicholas@322: % nicholas@322: % For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil' nicholas@322: % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nicholas@322: %% This is file `ae.sty' nicholas@322: \def\fileversion{1.3} nicholas@322: \def\filedate{2001/02/12} nicholas@322: \NeedsTeXFormat{LaTeX2e} nicholas@322: %\ProvidesPackage{ae}[\filedate\space\fileversion\space % GM nicholas@322: % Almost European Computer Modern] % GM - keeping the log file clean(er) nicholas@322: \newif\if@ae@slides \@ae@slidesfalse nicholas@322: \DeclareOption{slides}{\@ae@slidestrue} nicholas@322: \ProcessOptions nicholas@322: \fontfamily{aer} nicholas@322: \RequirePackage[T1]{fontenc} nicholas@322: \if@ae@slides nicholas@322: \renewcommand{\sfdefault}{laess} nicholas@322: \renewcommand{\rmdefault}{laess} % no roman nicholas@322: \renewcommand{\ttdefault}{laett} nicholas@322: \else nicholas@322: \renewcommand{\sfdefault}{aess} nicholas@322: \renewcommand{\rmdefault}{aer} nicholas@322: \renewcommand{\ttdefault}{aett} nicholas@322: \fi nicholas@322: \DeclareRobustCommand{\ttfamily}{\fontencoding{T1}\fontfamily{lmtt}\selectfont} nicholas@322: \endinput nicholas@322: %% nicholas@322: %% End of file `ae.sty'. nicholas@322: % nicholas@322: % nicholas@322: \def\fileversion{0.9} nicholas@322: \def\filedate{1998/07/23} nicholas@322: \NeedsTeXFormat{LaTeX2e} nicholas@322: %\ProvidesPackage{aecompl}[\filedate\space\fileversion\space % GM nicholas@322: %T1 Complements for AE fonts (D. Roegel)] % GM -- keeping the log file clean(er) nicholas@322: nicholas@322: \def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}} nicholas@322: \def\guillemotleft{\@ae@compl{19}} nicholas@322: \def\guillemotright{\@ae@compl{20}} nicholas@322: \def\guilsinglleft{\@ae@compl{14}} nicholas@322: \def\guilsinglright{\@ae@compl{15}} nicholas@322: \def\TH{\@ae@compl{222}} nicholas@322: \def\NG{\@ae@compl{141}} nicholas@322: \def\ng{\@ae@compl{173}} nicholas@322: \def\th{\@ae@compl{254}} nicholas@322: \def\DJ{\@ae@compl{208}} nicholas@322: \def\dj{\@ae@compl{158}} nicholas@322: \def\DH{\@ae@compl{208}} nicholas@322: \def\dh{\@ae@compl{240}} nicholas@322: \def\@perthousandzero{\@ae@compl{24}} nicholas@322: \def\textperthousand{\%\@perthousandzero} nicholas@322: \def\textpertenthousand{\%\@perthousandzero\@perthousandzero} nicholas@322: \endinput nicholas@322: % nicholas@322: % nicholas@322: %% This is file `aeguill.sty' nicholas@322: % This file gives french guillemets (and not guillemots!) nicholas@322: % built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts nicholas@322: % or with the EC fonts. nicholas@322: % This is useful in conjunction with the ae package nicholas@322: % (this package loads the ae package in case it has not been loaded) nicholas@322: % and with or without the french(le) package. nicholas@322: % nicholas@322: % In order to get the guillemets, it is necessary to either type nicholas@322: % \guillemotleft and \guillemotright, or to use an 8 bit encoding nicholas@322: % (such as ISO-Latin1) which selects these two commands, nicholas@322: % or, if you use the french package (but not the frenchle package), nicholas@322: % to type << or >>. nicholas@322: % nicholas@322: % By default, you get the Polish CMR guillemets; if this package is loaded nicholas@322: % with the `cm' option, you get the LASY guillemets; with `ec,' you nicholas@322: % get the EC guillemets, and with `cyr,' you get the cyrillic guillemets. nicholas@322: % nicholas@322: % In verbatim mode, you always get the EC/TT guillemets. nicholas@322: % nicholas@322: % The default option is interesting in conjunction with PDF, nicholas@322: % because there is a Type 1 version of the Polish CMR fonts nicholas@322: % and these guillemets are very close in shape to the EC guillemets. nicholas@322: % There are no free Type 1 versions of the EC fonts. nicholas@322: % nicholas@322: % Support for Polish CMR guillemets was kindly provided by nicholas@322: % Rolf Niepraschk in version 0.99 (2000/05/22). nicholas@322: % Bernd Raichle provided extensive simplifications to the code nicholas@322: % for version 1.00. nicholas@322: % nicholas@322: % This package is released under the LPPL. nicholas@322: % nicholas@322: % Changes: nicholas@322: % Date version nicholas@322: % 2001/04/12 1.01 the frenchle and french package are now distinguished. nicholas@322: % nicholas@322: \def\fileversion{1.01} nicholas@322: \def\filedate{2001/04/12} nicholas@322: \NeedsTeXFormat{LaTeX2e} nicholas@322: %\ProvidesPackage{aeguill}[2001/04/12 1.01 % % GM nicholas@322: %AE fonts with french guillemets (D. Roegel)] % GM - keeping the log file clean(er) nicholas@322: %\RequirePackage{ae} % GM May 2007 - already embedded here nicholas@322: nicholas@322: \newcommand{\@ae@switch}[4]{#4} nicholas@322: \DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}} nicholas@322: \DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}} nicholas@322: \DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}} nicholas@322: \DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}} nicholas@322: nicholas@322: nicholas@322: % nicholas@322: % Load necessary packages nicholas@322: % nicholas@322: \@ae@switch{% ec nicholas@322: % do nothing nicholas@322: }{% cm nicholas@322: \RequirePackage{latexsym}% GM - May 2007 - already 'mentioned as required' up above nicholas@322: }{% cyr nicholas@322: \RequirePackage[OT2,T1]{fontenc}% nicholas@322: }{% pl nicholas@322: \RequirePackage[OT4,T1]{fontenc}% nicholas@322: } nicholas@322: nicholas@322: % The following command will be compared to \frenchname, nicholas@322: % as defined in french.sty and frenchle.sty. nicholas@322: \def\aeguillfrenchdefault{french}% nicholas@322: nicholas@322: \let\guill@verbatim@font\verbatim@font nicholas@322: \def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}% nicholas@322: \let\guillemotleft\@oguills\let\guillemotright\@fguills} nicholas@322: nicholas@322: \begingroup \catcode`\<=13 \catcode`\>=13 nicholas@322: \def\x{\endgroup nicholas@322: \def\ae@lfguill{<<}% nicholas@322: \def\ae@rfguill{>>}% nicholas@322: }\x nicholas@322: nicholas@322: \newcommand{\ecguills}[1]{% nicholas@322: \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}% nicholas@322: \def\@oguills{{\selectguillfont\symbol{19}}}% nicholas@322: \def\@fguills{{\selectguillfont\symbol{20}}}% nicholas@322: } nicholas@322: nicholas@322: \newcommand{\aeguills}{% nicholas@322: \ae@guills nicholas@322: % We redefine \guillemotleft and \guillemotright nicholas@322: % in order to catch them when they are used nicholas@322: % with \DeclareInputText (in latin1.def for instance) nicholas@322: % We use \auxWARNINGi as a safe indicator that french.sty is used. nicholas@322: \gdef\guillemotleft{\ifx\auxWARNINGi\undefined nicholas@322: \@oguills % neither french.sty nor frenchle.sty nicholas@322: \else nicholas@322: \ifx\aeguillfrenchdefault\frenchname nicholas@322: \ae@lfguill % french.sty nicholas@322: \else nicholas@322: \@oguills % frenchle.sty nicholas@322: \fi nicholas@322: \fi}% nicholas@322: \gdef\guillemotright{\ifx\auxWARNINGi\undefined nicholas@322: \@fguills % neither french.sty nor frenchle.sty nicholas@322: \else nicholas@322: \ifx\aeguillfrenchdefault\frenchname nicholas@322: \ae@rfguill % french.sty nicholas@322: \else nicholas@322: \@fguills % frenchle.sty nicholas@322: \fi nicholas@322: \fi}% nicholas@322: } nicholas@322: nicholas@322: % nicholas@322: % Depending on the class option nicholas@322: % define the internal command \ae@guills nicholas@322: \@ae@switch{% ec nicholas@322: \newcommand{\ae@guills}{% nicholas@322: \ecguills{cmr}}% nicholas@322: }{% cm nicholas@322: \newcommand{\ae@guills}{% nicholas@322: \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}% nicholas@322: \fontseries{m}\fontshape{n}\selectfont}% nicholas@322: \def\@oguills{\leavevmode\nobreak nicholas@322: \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}% nicholas@322: \def\@fguills{\leavevmode\nobreak nicholas@322: \hbox{\selectguillfont \kern.20em)\kern-.2em)}% nicholas@322: \ifdim\fontdimen\@ne\font>\z@\/\fi}}% nicholas@322: }{% cyr nicholas@322: \newcommand{\ae@guills}{% nicholas@322: \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}% nicholas@322: \def\@oguills{{\selectguillfont\symbol{60}}}% nicholas@322: \def\@fguills{{\selectguillfont\symbol{62}}}} nicholas@322: }{% pl nicholas@322: \newcommand{\ae@guills}{% nicholas@322: \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}% nicholas@322: \def\@oguills{{\selectguillfont\symbol{174}}}% nicholas@322: \def\@fguills{{\selectguillfont\symbol{175}}}} nicholas@322: } nicholas@322: nicholas@322: nicholas@322: \AtBeginDocument{% nicholas@322: \ifx\GOfrench\undefined nicholas@322: \aeguills nicholas@322: \else nicholas@322: \let\aeguill@GOfrench\GOfrench nicholas@322: \gdef\GOfrench{\aeguill@GOfrench \aeguills}% nicholas@322: \fi nicholas@322: } nicholas@322: nicholas@322: \endinput nicholas@322: % nicholas@322: