annotate docs/WAC2016/sig-alternate.cls @ 3141:335bc77627e0 tip

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