annotate docs/WAC2016/sig-alternate.cls @ 718:0b095f66de65

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