annotate docs/WAC2016/sig-alternate.cls @ 1321:1021863dd506

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