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