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