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