Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 18th, 2011  |  syntax: Latex  |  size: 51.53 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. % tei2012.cls
  2. % I just changed CHI to TEI etc.
  3. % Carles F. Julià
  4. %
  5. % Adapted from:
  6. % chi2009.cls
  7. % Libby Hemphill August 18, 2005
  8. %
  9. % Also known as:
  10. % chi2006.cls - version 0.13
  11. % chi2005.cls - version 0.13
  12. % Dennis Chao July 23, 2004
  13. %
  14. % Also based on:
  15. % chiproceedings.cls - version 0.11
  16. % Jan Borchers <jan@informatik.tu-darmstadt.de>, September 7, 2000.
  17. %
  18. % And thanks to Tommi Ilmonen for his feedback.
  19. %
  20. % ---- Start of example  ----
  21. %
  22. % \documentclass{chi2009}
  23. % \usepackage{times}
  24. % \pagenumbering{arabic}  % Arabic page numbers for submission.  Remove this line to eliminate page numbers for the camera ready copy
  25. % \title{The Title}
  26. % \numberofauthors{2}
  27. % \author{
  28. %   \alignauthor Author 1
  29. %     \affaddr{Affiliation}\\
  30. %     \affaddr{Affiliation}\\
  31. %     \email{author@a.com}
  32. %   \alignauthor Author 2
  33. %     \affaddr{Affiliation}\\
  34. %     \affaddr{Affiliation}\\
  35. %     \email{author2@b.com}
  36. % }
  37. %
  38. %\begin{document}
  39. %\maketitle
  40. %\abstract{This is the abstract}
  41. %\keywords{Put author keywords here}
  42. %\classification{The ACM Classification keywords here.}
  43. %
  44. %\section{Introduction}
  45. % ...
  46. %
  47. % ---- End of example  ----
  48. %
  49. % ---- Start of 'updates'  ----
  50. %
  51. % Allowance made to switch default fonts between those systems using
  52. % METAFONT and those using 'Type 1' or 'Truetype' fonts.
  53. % See LINE NUMBER 266 for details.
  54. % Also provided for enumerated/annotated Corollaries 'surrounded' by
  55. % enumerated Theorems (line 838).
  56. % Gerry November 11th. 1999
  57. % Updated the metafont names to use more modern Berry font naming schemes.
  58. % Andrew Duchowski.  2006
  59. %
  60. % Made the Permission Statement / Conference Info / Copyright Info
  61. % 'user definable' in the source .tex file OR automatic if
  62. % not specified.
  63. % This 'sp' version does NOT produce the permission block.
  64. %
  65. % Major change in January 2000 was to include a "blank line" in between
  66. % new paragraphs. This involved major changes to the, then, acmproc-sp.cls  1.0SP
  67. % file, precipitating a 'new' name: "acm_proc_article-sp.cls" V2.01SP.
  68. %
  69. % Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
  70. % JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
  71. %
  72. % Footnotes inside table cells using \minipage (Oct. 2002)
  73. %
  74. % ---- End of 'updates' ----
  75. %
  76. \def\fileversion{V0.13}          % for ACM's tracking purposes  % DLC
  77. \def\filedate{July 23, 2004}    % Gerry Murray's tracking data % DLC
  78. \def\docdate {Friday 23rd. July 2004} % Gerry Murray (with deltas to doc} % DLC
  79. \usepackage{epsfig}
  80. \usepackage{amssymb}
  81. \usepackage{amsmath}
  82. \usepackage{amsfonts}
  83. %
  84. % ACM_PROC_ARTICLE-SP  DOCUMENT STYLE
  85. % G.K.M. Tobin August-October 1999
  86. %    adapted from ARTICLE document style by Ken Traub, Olin Shivers
  87. %    also using elements of esub2acm.cls
  88. % LATEST REVISION V2.6SP - OCTOBER 2002
  89. % ARTICLE DOCUMENT STYLE -- Released 16 March 1988
  90. %    for LaTeX version 2.09
  91. % Copyright (C) 1988 by Leslie Lamport
  92. %
  93. %
  94. %%% ACM_PROC_ARTICLE-SP is a document style for producing two-column camera-ready pages for
  95. %%% ACM conferences, according to ACM specifications.  The main features of
  96. %%% this style are:
  97. %%%
  98. %%% 1)  Two columns.
  99. %%% 2)  Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of
  100. %%%     2pc, hence columns are 20pc wide and 55.5pc tall.  (6pc =3D 1in, approx)
  101. %%% 3)  First page has title information, and an extra 6pc of space at the
  102. %%%     bottom of the first column for the ACM copyright notice.
  103. %%% 4)  Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.
  104. %%%
  105. %%%
  106. %%% There are a few restrictions you must observe:
  107. %%%
  108. %%% 1)  You cannot change the font size; ACM wants you to use 9pt.
  109. %%% 3)  You must start your paper with the \maketitle command.  Prior to the
  110. %%%     \maketitle you must have \title and \author commands.  If you have a
  111. %%%     \date command it will be ignored; no date appears on the paper, since
  112. %%%     the proceedings will have a date on the front cover.
  113. %%% 4)  Marginal paragraphs, tables of contents, lists of figures and tables,
  114. %%%     and page headings are all forbidden.
  115. %%% 5)  The `figure' environment will produce a figure one column wide; if you
  116. %%%     want one that is two columns wide, use `figure*'.
  117. %%%
  118. %
  119. %%% Copyright Space:
  120. %%% This style automatically leaves 1" blank space at the bottom of page 1/
  121. %%% column 1.  This space can optionally be filled with some text using the
  122. %%% \toappear{...} command.  If used, this command must be BEFORE the \maketitle
  123. %%% command.  If this command is defined AND [preprint] is on, then the
  124. %%% space is filled with the {...} text (at the bottom); otherwise, it is
  125. %%% blank.  If you use \toappearbox{...} instead of \toappear{...} then a
  126. %%% box will be drawn around the text (if [preprint] is on).
  127. %%%
  128. %%% A typical usage looks like this:
  129. %%%     \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian
  130. %%%               Embalming Technique, June 1991, Alfaretta, Georgia.}
  131. %%% This will be included in the preprint, and left out of the conference
  132. %%% version.
  133. %%%
  134. %%% WARNING:
  135. %%% Some dvi-ps converters heuristically allow chars to drift from their
  136. %%% true positions a few pixels. This may be noticeable with the 9pt sans-serif
  137. %%% bold font used for section headers.
  138. %%% You may turn this hackery off via the -e option:
  139. %%%     dvips -e 0 foo.dvi >foo.ps
  140. %%%
  141.  
  142. \typeout{Document Class 'chi2009' <23rd July '04>.} % DLC
  143. \typeout{Shamelessly copied from Document Class 'chiproceedings' <7th Sep. '00>. Modified by Jan O. Borchers}        % DLC
  144. \typeout{And also based on Document Class 'acm_proc_article-sp' <2nd. October '02>.  Modified by G.K.M. Tobin} % DLC
  145. \typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
  146. \typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
  147. \typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
  148. %\typeout{****** Bugs/comments/suggestions  to Gerry Murray -- murray@hq.acm.org ******} %DLC
  149.  
  150. \oddsidemargin 4.5pc
  151. \evensidemargin 4.5pc
  152. \advance\oddsidemargin by -1in  % Correct for LaTeX gratuitousness
  153. \advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
  154. \marginparwidth 0pt             % Margin pars are not allowed.
  155. \marginparsep 11pt              % Horizontal space between outer margin and
  156.                                 % marginal note
  157.  
  158.                                 % Top of page:
  159. \topmargin 4.5pc                % Nominal distance from top of page to top of
  160. %\topmargin 6.5pc                % Nominal distance from top of page to top of  % 00-09-07 job (for A4)
  161.                                 % box containing running head.
  162. \advance\topmargin by -1in      % Correct for LaTeX gratuitousness
  163. \headheight 0pt                 % Height of box containing running head.
  164. \headsep 0pt                    % Space between running head and text.
  165.                                 % Bottom of page:
  166. \footskip 30pt                  % Distance from baseline of box containing foot
  167.                                 % to baseline of last line of text.
  168. \@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
  169. \footheight 12pt                % Height of box containing running foot.
  170.  
  171.  
  172. %% Must redefine the top margin so there's room for headers and
  173. %% page numbers if you are using the preprint option. Footers
  174. %% are OK as is. Olin.
  175. \advance\topmargin by -37pt     % Leave 37pt above text for headers
  176. \headheight 12pt                % Height of box containing running head.
  177. \headsep 25pt                   % Space between running head and text.
  178.  
  179. \textheight 666pt       % 9 1/4 column height
  180. \textwidth 42pc         % Width of text line.
  181.                         % For two-column mode:
  182. \columnsep 2pc          %    Space between columns
  183. \columnseprule 0pt      %    Width of rule between columns.
  184. \hfuzz 1pt              % Allow some variation in column width, otherwise it's
  185.                         % too hard to typeset in narrow columns.
  186.  
  187. \footnotesep 5.6pt      % Height of strut placed at the beginning of every
  188.                         % footnote =3D height of normal \footnotesize strut,
  189.                         % so no extra space between footnotes.
  190.  
  191. \skip\footins 8.1pt plus 4pt minus 2pt  % Space between last line of text and
  192.                                         % top of first footnote.
  193. \floatsep 11pt plus 2pt minus 2pt       % Space between adjacent floats moved
  194.                                         % to top or bottom of text page.
  195. \textfloatsep 18pt plus 2pt minus 4pt   % Space between main text and floats
  196.                                         % at top or bottom of page.
  197. \intextsep 11pt plus 2pt minus 2pt      % Space between in-text figures and
  198.                                         % text.
  199. \@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
  200. \@maxsep 18pt                           % The maximum of \floatsep,
  201.                                         % \textfloatsep and \intextsep (minus
  202.                                         % the stretch and shrink).
  203. \dblfloatsep 11pt plus 2pt minus 2pt    % Same as \floatsep for double-column
  204.                                         % figures in two-column mode.
  205. \dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column
  206.                                         % floats.
  207. \@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
  208. \@dblmaxsep 18pt                        % The maximum of \dblfloatsep and
  209.                                         % \dbltexfloatsep.
  210. \@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must be
  211.                          % 0pt plus ...)
  212. \@fpsep 8pt plus 2fil    % Space between floats on float page/column.
  213. \@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must be
  214.                          % 0pt plus ... )
  215. \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
  216. \@dblfpsep 8pt plus 2fil % Space between floats on float page.
  217. \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
  218.                          % 0pt plus ... )
  219. \marginparpush 5pt       % Minimum vertical separation between two marginal
  220.                          % notes.
  221.  
  222. \parskip 0pt                % Extra vertical space between paragraphs.
  223.                     % Set to 0pt outside sections, to keep section heads
  224.                     % uniformly spaced.  The value of parskip is set
  225.                     % to leading value _within_ sections.
  226.                     % 12 Jan 2000 gkmt
  227. \parindent 0pt                % Width of paragraph indentation.
  228. %\partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to
  229.                                  % \parskip and \topsep, added when user
  230.                                  % leaves blank line before environment.
  231. \partopsep 0pt                                                              % 00-09-07 job
  232.  
  233. \@lowpenalty   51       % Produced by \nopagebreak[1] or \nolinebreak[1]
  234. \@medpenalty  151       % Produced by \nopagebreak[2] or \nolinebreak[2]
  235. \@highpenalty 301       % Produced by \nopagebreak[3] or \nolinebreak[3]
  236.  
  237. \@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
  238. \@endparpenalty   -\@lowpenalty % After a list or paragraph environment.
  239. \@itempenalty     -\@lowpenalty % Between list items.
  240.  
  241. \@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
  242.  document style.}\@eha}
  243. \@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
  244.  document style.}\@eha}
  245. \@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
  246.  document style.}\@eha}
  247.  
  248. \@options
  249.  
  250. \lineskip 2pt           % \lineskip is 1pt for all font sizes.
  251. \normallineskip 2pt
  252. \def\baselinestretch{1}
  253.  
  254. \abovedisplayskip 9pt plus2pt minus4.5pt%
  255. \belowdisplayskip \abovedisplayskip
  256. \abovedisplayshortskip  \z@ plus3pt%
  257. \belowdisplayshortskip  5.4pt plus3pt minus3pt%
  258. \let\@listi\@listI     % Setting of \@listi added 9 Jun 87
  259.  
  260. \def\small{\@setsize\small{9pt}\viiipt\@viiipt
  261. \abovedisplayskip 7.6pt plus 3pt minus 4pt%
  262. \belowdisplayskip \abovedisplayskip
  263. \abovedisplayshortskip \z@ plus2pt%
  264. \belowdisplayshortskip 3.6pt plus2pt minus 2pt
  265. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  266. \topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
  267. \itemsep \parsep}}
  268.  
  269. \def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt
  270. \abovedisplayskip 6.4pt plus 2pt minus 4pt%
  271. \belowdisplayskip \abovedisplayskip
  272. \abovedisplayshortskip \z@ plus 1pt%
  273. \belowdisplayshortskip 2.7pt plus 1pt minus 2pt
  274. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  275. \topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
  276. \itemsep \parsep}}
  277.  
  278. \newcount\aucount
  279. \newcount\originalaucount
  280. \newdimen\auwidth
  281. \auwidth=\textwidth
  282. \newdimen\auskip
  283. \newcount\auskipcount
  284. \newdimen\auskip
  285. \global\auskip=1pc
  286. \newdimen\allauboxes
  287. \allauboxes=\auwidth
  288. \newtoks\addauthors
  289. \newcount\addauflag
  290. \global\addauflag=0 %Haven't shown additional authors yet
  291.  
  292. \newtoks\subtitletext
  293. \gdef\subtitle#1{\subtitletext={#1}}
  294.  
  295. \gdef\additionalauthors#1{\addauthors={#1}}
  296.  
  297. \gdef\numberofauthors#1{\global\aucount=#1
  298. \ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}
  299. \global\auskipcount=\aucount\global\advance\auskipcount by 1
  300. \global\multiply\auskipcount by 2
  301. \global\multiply\auskip by \auskipcount
  302. \global\advance\auwidth by -\auskip
  303. \global\divide\auwidth by \aucount}
  304.  
  305. % \and was modified to count the number of authors.  GKMT 12 Aug 1999
  306. \def\alignauthor{%                  % \begin{tabular}
  307. \end{tabular}%
  308.   \begin{tabular}[t]{p{\auwidth}}\centering}%
  309.  
  310. %  *** NOTE *** NOTE *** NOTE *** NOTE ***
  311. %  If you have 'font problems' then you may need
  312. %  to change these, e.g. 'arialb' instead of "arialbd".
  313. %  Gerry Murray 11/11/1999
  314. %  *** OR ** comment out block A and activate block B or vice versa.
  315. % **********************************************
  316. %
  317. %  -- Start of block A -- (Type 1 or Truetype fonts)
  318. %\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd
  319. %\newfont{\secit}{timesbi at 12pt}   %13 Jan 00 gkmt
  320. %\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi
  321. %\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000
  322. %                         % because "normal" is italic, "italic" is Roman
  323. %\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd
  324. %\newfont{\ttlit}{arialbi at 18pt}    % 13 Jan 00 gkmt
  325. %\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial
  326. %\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt
  327. %\newfont{\subttlbf}{arialbd at 14pt}  % 13 Jan 00 gkmt
  328. %\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial
  329. %\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt
  330. %\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial
  331. %\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt
  332. %\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial
  333. %\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times
  334. %\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi
  335. %\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times
  336. %\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times
  337.  
  338. % *********************************************
  339. %  -- End of block A --
  340. %
  341. %
  342. % -- Start of block B -- METAFONT
  343. % +++++++++++++++++++++++++++++++++++++++++++++
  344. % Next (default) block for those using Metafont
  345. % Gerry Murray 11/11/1999
  346. % *** THIS BLOCK FOR THOSE USING METAFONT *****
  347. % *********************************************
  348. %%\newfont{\secfnt}{ptmb at 12pt}
  349. %\newfont{\secfnt}{phvb at 9pt}                    % 00-09-07 job
  350. %%\newfont{\secit}{ptmbi at 12pt}    %13 Jan 00 gkmt
  351. %\newfont{\secit}{phvbo at 9pt}    %13 Jan 00 gkmt % 00-09-07 job
  352. %%\newfont{\subsecfnt}{ptmri at 11pt}
  353. %\newfont{\subsecfnt}{phvro at 9pt}                % 00-09-07 job
  354. %%\newfont{\subsecit}{ptmbi at 11pt}  % 13 Jan 00 gkmt -- was ptmr changed to ptmbi gm 2/4/2000
  355. %\newfont{\subsecit}{phvr at 9pt}  % 13 Jan 00 gkmt -- was ptmr changed to ptmbi gm 2/4/2000     % 00-09-07 job
  356. %                         % because "normal" is italic, "italic" is Roman
  357. %\newfont{\ttlfnt}{phvb at 18pt}
  358. %\newfont{\ttlit}{phvbo at 18pt}    % GM 2/4/2000
  359. %\newfont{\subttlfnt}{phvr at 14pt}
  360. %\newfont{\subttlit}{phvro at 14pt} % GM 2/4/2000
  361. %\newfont{\subttlbf}{phvb at 14pt}  % 13 Jan 00 gkmt
  362. %%\newfont{\aufnt}{phvr at 12pt}
  363. %\newfont{\aufnt}{ptmb at 12pt}                    % 00-09-07 job
  364. %%\newfont{\auit}{phvro at 12pt}     % GM 2/4/2000
  365. %\newfont{\auit}{ptmbo at 12pt}    % GM 2/4/2000   % 00-09-07 job
  366. %%\newfont{\affaddr}{phvr at 10pt}
  367. %\newfont{\affaddr}{ptmr at 12pt}                  % 00-09-07 job
  368. %%\newfont{\affaddrit}{phvro at 10pt} % GM 2/4/2000
  369. %\newfont{\affaddrit}{ptmro at 12pt} % GM 2/4/2000 % 00-09-07 job
  370. %%\newfont{\eaddfnt}{phvr at 12pt}
  371. %\newfont{\eaddfnt}{ptmr at 12pt}                  % 00-09-07 job
  372. %%\newfont{\ixpt}{ptmr at 9pt}
  373. %\newfont{\ixpt}{ptmr at 10pt}          % 00-09-07 job
  374. %\newfont{\confname}{ptmri at 8pt}
  375. %\newfont{\crnotice}{ptmr at 8pt}
  376. %%\newfont{\ninept}{ptmr at 9pt}
  377. %\newfont{\ninept}{ptmr at 10pt}        % 00-09-07 job
  378. % *********************************************
  379. %  -- End of block B --
  380. %
  381. %
  382. % -- Start of block C -- METAFONT (modern usage)
  383. % +++++++++++++++++++++++++++++++++++++++++++++
  384. % Next (default) block for those using Metafont
  385. % Andrew Duchowski 06/19/2006
  386. % *** THIS BLOCK FOR THOSE USING METAFONT *****
  387. % *********************************************
  388. % notes: 7t fonts are 7-bit latex, 8t fonts are T1 fonts
  389. \newfont{\secfnt}{phvb7t at 9pt}                    % 05-16-2006 atd
  390. \newfont{\secit}{phvbo7t at 9pt}                    % 05-16-2006 atd
  391. \newfont{\subsecfnt}{phvro7t at 9pt}                    % 05-16-2006 atd
  392. \newfont{\subsecit}{phvr7t at 9pt}                    % 05-16-2006 atd
  393. \newfont{\ttlfnt}{phvb7t at 18pt}                    % 05-16-2006 atd
  394. \newfont{\ttlit}{phvbo7t at 18pt}                    % 05-16-2006 atd
  395. \newfont{\subttlfnt}{phvr7t at 14pt}                    % 05-16-2006 atd
  396. \newfont{\subttlit}{phvro7t at 14pt}                     % 05-16-2006 atd
  397. \newfont{\subttlbf}{phvb7t at 14pt}                    % 05-16-2006 atd
  398. \newfont{\aufnt}{ptmb7t at 12pt}                    % 05-16-2006 atd
  399. \newfont{\auit}{ptmbo7t at 12pt}                    % 05-16-2006 atd
  400. \newfont{\affaddr}{ptmr7t at 12pt}                    % 05-16-2006 atd
  401. \newfont{\affaddrit}{ptmro7t at 12pt}                    % 05-16-2006 atd
  402. \newfont{\eaddfnt}{ptmr7t at 12pt}                    % 05-16-2006 atd
  403. \newfont{\ixpt}{ptmr7t at 10pt}                    % 05-16-2006 atd
  404. \newfont{\confname}{ptmri7t at 8pt}                    % 05-16-2006 atd
  405. \newfont{\crnotice}{ptmr7t at 8pt}                    % 05-16-2006 atd
  406. \newfont{\ninept}{ptmr7t at 10pt}                    % 05-16-2006 atd
  407. % +++++++++++++++++++++++++++++++++++++++++++++
  408. % -- End of block C --
  409.  
  410. %\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
  411. \def\email#1{{{\eaddfnt{#1}}}} % 00-09-07 job
  412.  
  413. \def\addauthorsection{\ifnum\originalaucount>3
  414.    \section{Additional Authors}\the\addauthors
  415.  \fi}
  416.  
  417. \newcount\savesection
  418. \newcount\sectioncntr
  419. \global\sectioncntr=1
  420.  
  421. \setcounter{secnumdepth}{3}
  422.  
  423. \def\appendix{\par
  424. \section*{APPENDIX}
  425. \setcounter{section}{0}
  426. \setcounter{subsection}{0}
  427. \def\thesection{\Alph{section}} }
  428.  
  429.  
  430. %\leftmargini 22.5pt
  431. \leftmargini 10pt % DLC
  432. \leftmarginii 19.8pt    % > \labelsep + width of '(m)'
  433. \leftmarginiii 16.8pt   % > \labelsep + width of 'vii.'
  434. \leftmarginiv 15.3pt    % > \labelsep + width of 'M.'
  435. \leftmarginv 9pt
  436. \leftmarginvi 9pt
  437.  
  438. \leftmargin\leftmargini
  439. \labelsep 4.5pt
  440. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  441.  
  442. \def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
  443. %\topsep 7.2pt plus 2pt minus 4pt%
  444. \topsep 0pt%                        % 00-09-07 job
  445. \itemsep 3.6pt plus 2pt minus 1pt}
  446.  
  447. \let\@listi\@listI
  448. \@listi
  449.  
  450. \def\@listii{\leftmargin\leftmarginii
  451.   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  452.   \topsep 3.6pt plus 2pt minus 1pt
  453.   \parsep 1.8pt plus 0.9pt minus 0.9pt
  454.   \itemsep \parsep}
  455.  
  456. \def\@listiii{\leftmargin\leftmarginiii
  457.    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  458.    \topsep 1.8pt plus 0.9pt minus 0.9pt
  459.    \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
  460.    \itemsep \topsep}
  461.  
  462. \def\@listiv{\leftmargin\leftmarginiv
  463.     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  464.  
  465. \def\@listv{\leftmargin\leftmarginv
  466.     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  467.  
  468. \def\@listvi{\leftmargin\leftmarginvi
  469.     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  470.  
  471. \def\labelenumi{\theenumi.}
  472. \def\theenumi{\arabic{enumi}}
  473.  
  474. \def\labelenumii{(\theenumii)}
  475. \def\theenumii{\alph{enumii}}
  476. \def\p@enumii{\theenumi}
  477.  
  478. \def\labelenumiii{\theenumiii.}
  479. \def\theenumiii{\roman{enumiii}}
  480. \def\p@enumiii{\theenumi(\theenumii)}
  481.  
  482. \def\labelenumiv{\theenumiv.}
  483. \def\theenumiv{\Alph{enumiv}}
  484. \def\p@enumiv{\p@enumiii\theenumiii}
  485.  
  486. \def\labelitemi{$\bullet$}
  487. \def\labelitemii{\bf --}
  488. \def\labelitemiii{$\ast$}
  489. \def\labelitemiv{$\cdot$}
  490.  
  491. \def\verse{\let\\=\@centercr
  492.  \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
  493.          \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
  494. \let\endverse\endlist
  495. \def\quotation{\list{}{\listparindent 1.5em
  496.    \itemindent\listparindent
  497.    \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
  498. \let\endquotation=\endlist
  499. \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
  500. \let\endquote=\endlist
  501.  
  502. \def\descriptionlabel#1{\hspace\labelsep \bf #1}
  503. \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
  504.       \let\makelabel\descriptionlabel}}
  505.  
  506. \let\enddescription\endlist
  507.  
  508. \def\theequation{\arabic{equation}}
  509.  
  510. \arraycolsep 4.5pt   % Half the space between columns in an array environment.
  511. \tabcolsep 5.4pt     % Half the space between columns in a tabular environment.
  512. \arrayrulewidth .4pt % Width of rules in array and tabular environment.
  513. \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
  514.  
  515. \tabbingsep \labelsep   % Space used by the \' command.  (See LaTeX manual.)
  516.  
  517. \skip\@mpfootins =\skip\footins
  518.  
  519. \fboxsep =2.7pt      % Space left between box and text by \fbox and \framebox.
  520. \fboxrule =.4pt      % Width of rules in box made by \fbox and \framebox.
  521.  
  522. \def\thepart{\Roman{part}} % Roman numeral part numbers.
  523. \def\thesection       {\arabic{section}}
  524. \def\thesubsection    {\thesection.\arabic{subsection}}
  525. %\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
  526. %\def\theparagraph     {\thesubsubsection.\arabic{paragraph}}  % GM 7/30/2002
  527. \def\thesubparagraph  {\theparagraph.\arabic{subparagraph}}
  528.  
  529. \def\@pnumwidth{1.55em}
  530. \def\@tocrmarg {2.55em}
  531. \def\@dotsep{4.5}
  532. \setcounter{tocdepth}{3}
  533.  
  534. \def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
  535.  allowed in the `acmconf' document style.}\@eha}
  536.  
  537. \def\l@part#1#2{\addpenalty{\@secpenalty}
  538.   \addvspace{2.25em plus 1pt}  % space above part line
  539.    \begingroup
  540.    \@tempdima 3em       % width of box holding part number, used by
  541.      \parindent \z@ \rightskip \@pnumwidth      %% \numberline
  542.      \parfillskip -\@pnumwidth
  543.      {\large \bf        % set line in \large boldface
  544.      \leavevmode        % TeX command to enter horizontal mode.
  545.      #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
  546.      \nobreak           % Never break after part entry
  547.    \endgroup}
  548.  
  549. \def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
  550.    \addvspace{1.0em plus 1pt}   % space above toc entry
  551.    \@tempdima 1.5em             % width of box holding section number
  552.    \begingroup
  553.      \parindent \z@ \rightskip \@pnumwidth
  554.      \parfillskip -\@pnumwidth
  555.      \bf                        % Boldface.
  556.      \leavevmode                % TeX command to enter horizontal mode.
  557.       \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
  558.       \hskip -\leftskip           %% 25 Jan 88 change to \numberline
  559.      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
  560.   \endgroup}
  561.  
  562.  
  563. \def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
  564. \def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
  565. \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
  566. \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
  567.  
  568. \def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
  569.  allowed in the `acmconf' document style.}\@eha}
  570.  
  571. \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
  572.  
  573. \def\listoftables{\@latexerr{\listoftables: Lists of tables are not
  574.  allowed in the `acmconf' document style.}\@eha}
  575. \let\l@table\l@figure
  576.  
  577. \def\footnoterule{\kern-3\p@
  578.  \hrule width .4\columnwidth
  579.  \kern 2.6\p@}                 % The \hrule has default height of .4pt .
  580. % ------
  581. \long\def\@makefntext#1{\noindent
  582. %\hbox to .5em{\hss$^{\@thefnmark}$}#1}   % original
  583. \hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1}  % C. Clifton / GM Oct. 2nd. 2002
  584. % -------
  585.  
  586. \long\def\@maketntext#1{\noindent
  587. #1}
  588.  
  589. \long\def\@maketitlenotetext#1#2{\noindent
  590.            \hbox to 1.8em{\hss$^{#1}$}#2}
  591.  
  592. \setcounter{topnumber}{2}
  593. \def\topfraction{.7}
  594. \setcounter{bottomnumber}{1}
  595. \def\bottomfraction{.3}
  596. \setcounter{totalnumber}{3}
  597. \def\textfraction{.2}
  598. \def\floatpagefraction{.5}
  599. \setcounter{dbltopnumber}{2}
  600. \def\dbltopfraction{.7}
  601. \def\dblfloatpagefraction{.5}
  602.  
  603. % According to the CHI specifications, captions should be centered.
  604. % This looks kind of bad for multi-line captions, so I only center
  605. % 1-line captions.  
  606. \long\def\@makecaption#1#2{
  607.  \vskip \baselineskip
  608.  \setbox\@tempboxa\hbox{\small
  609. \textbf{#1. #2}} % DLC
  610.   \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
  611.      \small\textbf{#1. #2}\par     %   THEN set as ordinary paragraph.
  612.     \else                      %   ELSE  center.
  613.      \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
  614.  \fi}
  615.  
  616. \@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
  617.  
  618. \def\fps@figure{tbp}
  619. \def\ftype@figure{1}
  620. \def\ext@figure{lof}
  621. \def\fnum@figure{Figure \thefigure}
  622. \def\figure{\@float{figure}}
  623. \let\endfigure\end@float
  624. \@namedef{figure*}{\@dblfloat{figure}}
  625. \@namedef{endfigure*}{\end@dblfloat}
  626.  
  627. \@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
  628.  
  629. \def\fps@table{tbp}
  630. \def\ftype@table{2}
  631. \def\ext@table{lot}
  632. \def\fnum@table{Table \thetable}
  633. \def\table{\@float{table}}
  634. \let\endtable\end@float
  635. \@namedef{table*}{\@dblfloat{table}}
  636. \@namedef{endtable*}{\end@dblfloat}
  637.  
  638. \newtoks\titleboxnotes
  639. \newcount\titleboxnoteflag
  640.  
  641. \def\maketitle{\par
  642. \begingroup
  643.   \def\thefootnote{\fnsymbol{footnote}}
  644.   \def\@makefnmark{\hbox
  645.       to 0pt{$^{\@thefnmark}$\hss}}
  646.     \twocolumn[\@maketitle]
  647. \@thanks
  648. \endgroup
  649. \setcounter{footnote}{0}
  650. \let\maketitle\relax
  651. \let\@maketitle\relax
  652. \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
  653. }
  654.  %\@copyrightspace} % JRB 2008-08-13 this line was commented out for some reason
  655.                    % which meant that the copyright space wasn't reserved.
  656.                    % I re-enabled it.
  657.  
  658. %% CHANGES ON NEXT LINES
  659. \newif\if@ll % to record which version of LaTeX is in use
  660.  
  661. \expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
  662. \else% LaTeX2e is used, so set ll to true
  663. \global\@lltrue
  664. \fi
  665.  
  666. \if@ll
  667.   \NeedsTeXFormat{LaTeX2e}
  668. %  \ProvidesClass{acm_proc_article-sp} [2002/2/10 - V2.6SP - based on esub2acm.sty <23 April 96>]
  669. %  \ProvidesClass{chi2009} [2003/9/22 - V0.12]  % DLC
  670.   \ProvidesClass{proposal} [2011/7/11 - V0.1]  
  671.  \RequirePackage{latexsym}% QUERY: are these two really needed?
  672.   \let\dooptions\ProcessOptions
  673. \else
  674.   \let\dooptions\@options
  675. \fi
  676. %% END CHANGES
  677.  
  678. \def\@height{height}
  679. \def\@width{width}
  680. \def\@minus{minus}
  681. \def\@plus{plus}
  682. \def\hb@xt@{\hbox to}
  683. \newif\if@faircopy
  684. \@faircopyfalse
  685. \def\ds@faircopy{\@faircopytrue}
  686.  
  687. \def\ds@preprint{\@faircopyfalse}
  688.  
  689. \@twosidetrue
  690. \@mparswitchtrue
  691. \def\ds@draft{\overfullrule 5\p@}
  692. %% CHANGE ON NEXT LINE
  693. \dooptions
  694.  
  695. \lineskip \p@
  696. \normallineskip \p@
  697. \def\baselinestretch{1}
  698. \def\@ptsize{0} %needed for amssymbols.sty
  699.  
  700. %% CHANGES ON NEXT LINES
  701. \if@ll% allow use of old-style font change commands in LaTeX2e
  702. \@maxdepth\maxdepth
  703. %
  704. \DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
  705. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  706. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  707. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  708. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  709. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  710. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  711. \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
  712. \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
  713. \fi
  714. %
  715. \if@ll
  716.  \renewcommand{\rmdefault}{cmr}  % was 'ttm'
  717. % Note! I have also found 'mvr' to work ESPECIALLY well.
  718. % Gerry - October 1999
  719. % You may need to change your LV1times.fd file so that sc is
  720. % mapped to cmcsc - -for smallcaps -- that is if you decide
  721. % to change {cmr} to {times} above. (Not recommended)
  722.   \renewcommand{\@ptsize}{}
  723.  \renewcommand{\normalsize}{%
  724. %    \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
  725.     \@setfontsize\normalsize\@xpt{11\p@}%\ninept% % from 9/10.5 to 10/11 00-09-07 job
  726.     \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
  727.     \belowdisplayskip \abovedisplayskip
  728.     \abovedisplayshortskip 6\p@ \@minus 3\p@
  729.     \belowdisplayshortskip 6\p@ \@minus 3\p@
  730.     \let\@listi\@listI
  731.   }
  732. \else
  733.   \def\@normalsize{%changed next to 9 from 10
  734. %    \@setsize\normalsize{9\p@}\ixpt\@ixpt
  735.     \@setsize\normalsize{10\p@}\ixpt\@xpt        % from 9 to 10 00-09-07 job
  736.     \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
  737.     \belowdisplayskip \abovedisplayskip
  738.     \abovedisplayshortskip 6\p@ \@minus 3\p@
  739.     \belowdisplayshortskip 6\p@ \@minus 3\p@
  740.     \let\@listi\@listI
  741.   }%
  742. \fi
  743. \if@ll
  744.   \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
  745.  \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
  746.  \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
  747.  \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
  748.  \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
  749.  \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
  750.  \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
  751. \else
  752.  \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
  753.  \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
  754.  \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
  755.  \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
  756.  \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
  757.  \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
  758.  \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
  759. \fi
  760. \normalsize
  761.  
  762. % make aubox hsize/number of authors up to 3, less gutter
  763. % then showbox gutter showbox gutter showbox -- GKMT Aug 99
  764. \newbox\@acmtitlebox
  765. \def\@maketitle{\newpage
  766.  \null
  767.  \setbox\@acmtitlebox\vbox{%
  768. \baselineskip 20pt
  769. \vskip 2em                   % Vertical space above title.
  770.    \begin{center}
  771.    {\ttlfnt \@title\par}       % Title set in 18pt Helvetica (Arial) bold size.
  772. %    \vskip 1.5em                % Vertical space after title.
  773.     \vskip 1ex                  % Vertical space after title. % 00-09-07 job
  774. %This should be the subtitle.
  775. {\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
  776.     {\baselineskip 16pt\aufnt   % each author set in \12 pt Arial, in a
  777.      \lineskip .5em             % tabular environment
  778.      \begin{tabular}[t]{c}\@author
  779.     \end{tabular}\par}
  780.     \vskip 1.5em               % Vertical space after author.
  781.    \end{center}}
  782.  \dimen0=\ht\@acmtitlebox
  783. % \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
  784.  \advance\dimen0 by -10.75pc\relax % Increased space for title box -- KBT  % 00-09-07 job (decreased)
  785.  \unvbox\@acmtitlebox
  786.  \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
  787.  
  788.  
  789. \newcount\titlenotecount
  790. \global\titlenotecount=0
  791. \newtoks\tntoks
  792. \newtoks\tntokstwo
  793. \newtoks\tntoksthree
  794. \newtoks\tntoksfour
  795. \newtoks\tntoksfive
  796.  
  797. \def\abstract{
  798. \ifnum\titlenotecount>0 % was =1
  799.     \insert\footins{%
  800.     \reset@font\footnotesize
  801.         \interlinepenalty\interfootnotelinepenalty
  802.         \splittopskip\footnotesep
  803.         \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  804.         \hsize\columnwidth \@parboxrestore
  805.         \protected@edef\@currentlabel{%
  806.         }%
  807.         \color@begingroup
  808. \ifnum\titlenotecount=1
  809.       \@maketntext{%
  810.          \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
  811. \fi
  812. \ifnum\titlenotecount=2
  813.       \@maketntext{%
  814.       \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  815. \@maketntext{%
  816.          \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
  817. \fi
  818. \ifnum\titlenotecount=3
  819.       \@maketntext{%
  820.          \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  821. \@maketntext{%
  822.          \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  823. \@maketntext{%
  824.          \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
  825. \fi
  826. \ifnum\titlenotecount=4
  827.       \@maketntext{%
  828.          \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  829. \@maketntext{%
  830.          \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  831. \@maketntext{%
  832.          \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
  833. \@maketntext{%
  834.          \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
  835. \fi
  836. \ifnum\titlenotecount=5
  837.       \@maketntext{%
  838.          \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  839. \@maketntext{%
  840.          \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  841. \@maketntext{%
  842.          \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
  843. \@maketntext{%
  844.          \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
  845. \@maketntext{%
  846.          \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
  847. \fi
  848.    \color@endgroup} %g}
  849. \fi
  850. \setcounter{footnote}{0}
  851. \section*{ABSTRACT}\normalsize %\the\parskip \the\baselineskip%\ninept
  852. }
  853.  
  854. \def\endabstract{\if@twocolumn\else\endquotation\fi}
  855.  
  856. \def\keywords{\if@twocolumn
  857. \section*{Author Keywords}
  858. \else \small
  859. \quotation
  860. \fi}
  861.  
  862. \def\classification{%\if@twocolumn
  863. \section*{ACM Classification Keywords}
  864. %\else \small
  865. %\quotation\the\parskip
  866. %\fi}
  867. }
  868.  
  869. % I've pulled the check for 2 cols, since proceedings are _always_
  870. % two-column  11 Jan 2000 gkmt
  871. \def\terms{%\if@twocolumn
  872. \section*{General Terms}
  873. %\else \small
  874. %\quotation\the\parskip
  875. %\fi}
  876. }
  877.  
  878. % -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
  879. \newcount\catcount
  880. \global\catcount=1
  881.  
  882. \def\category#1#2#3{%
  883. \ifnum\catcount=1
  884. \section*{ACM Classification Keywords}  % DLC
  885. \advance\catcount by 1\else{\unskip; }\fi
  886.    \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
  887. }
  888.  
  889. \def\@category#1#2#3[#4]{%
  890.     \begingroup
  891.         \let\and\relax
  892. %            #1 [\textbf{#2}]%
  893.             #1 #2%   % DLC
  894.             \if!#4!%
  895.                 \if!#3!\else : #3\fi
  896.             \else
  897.                 :\space
  898.                 \if!#3!\else #3\kern\z@---\hskip\z@\fi
  899.                 \textit{#4}%
  900.             \fi
  901.     \endgroup
  902. }
  903. %
  904.  
  905. %%% This section (written by KBT) handles the 1" box in the lower left
  906. %%% corner of the left column of the first page by creating a picture,
  907. %%% and inserting the predefined string at the bottom (with a negative
  908. %%% displacement to offset the space allocated for a non-existent
  909. %%% caption).
  910. %%%
  911. \newtoks\copyrightnotice
  912. \def\ftype@copyrightbox{8}
  913. \def\@copyrightspace{
  914. \@float{copyrightbox}[b]
  915. \begin{center}
  916. \setlength{\unitlength}{1pc}
  917. \begin{picture}(20,6) %Space for copyright notice
  918. \put(0,-0.95){\crnotice{\@toappear}}
  919. \end{picture}
  920. \end{center}
  921. \end@float}
  922.  
  923. \def\@toappear{} % Default setting blank - commands below change this.
  924. \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
  925. \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
  926.  
  927. \newtoks\conf
  928. \newtoks\confinfo
  929. \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
  930.  
  931.  
  932. \def\marginpar{\@latexerr{The \marginpar command is not allowed in the
  933.  `acmconf' document style.}\@eha}
  934.  
  935. \mark{{}{}}     % Initializes TeX's marks
  936.  
  937. \def\today{\ifcase\month\or
  938.  January\or February\or March\or April\or May\or June\or
  939.  July\or August\or September\or October\or November\or December\fi
  940.  \space\number\day, \number\year}
  941.  
  942. \def\@begintheorem#1#2{%
  943.     \trivlist
  944.     \item[%
  945.         \hskip 10\p@
  946.         \hskip \labelsep
  947.         {{\sc #1}\hskip 5\p@\relax#2.}%
  948.     ]
  949.     \it
  950. }
  951. \def\@opargbegintheorem#1#2#3{%
  952.     \trivlist
  953.     \item[%
  954.         \hskip 10\p@
  955.         \hskip \labelsep
  956.         {\sc #1\ #2\             % This mod by Gerry to enumerate corollaries
  957.    \setbox\@tempboxa\hbox{(#3)}  % and bracket the 'corollary title'
  958.         \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
  959.             \hskip 5\p@\relax    % if they occur 'around' said corollaries.
  960.             \box\@tempboxa       % Gerry - Nov. 1999.
  961.         \fi.}%
  962.     ]
  963.     \it
  964. }
  965. \newif\if@qeded
  966. \global\@qededfalse
  967.  
  968. % -- original
  969. %\def\proof{%
  970. %  \vspace{-\parskip} % GM July 2000 (for tighter spacing)
  971. %    \global\@qededfalse
  972. %    \@ifnextchar[{\@xproof}{\@proof}%
  973. %}
  974. % -- end of original
  975.  
  976. % (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
  977. \def\proof{%
  978. \vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
  979. \global\@qededfalse
  980. \@ifnextchar[{\@xproof}{\@proof}%
  981. }
  982.  
  983. \def\endproof{%
  984.     \if@qeded\else\qed\fi
  985.     \endtrivlist
  986. }
  987. \def\@proof{%
  988.     \trivlist
  989.     \item[%
  990.         \hskip 10\p@
  991.         \hskip \labelsep
  992.         {\sc Proof.}%
  993.     ]
  994.     \ignorespaces
  995. }
  996. \def\@xproof[#1]{%
  997.     \trivlist
  998.     \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
  999.     \ignorespaces
  1000. }
  1001. \def\qed{%
  1002.     \unskip
  1003.     \kern 10\p@
  1004.     \begingroup
  1005.         \unitlength\p@
  1006.         \linethickness{.4\p@}%
  1007.         \framebox(6,6){}%
  1008.     \endgroup
  1009.     \global\@qededtrue
  1010. }
  1011.  
  1012. \def\newdef#1#2{%
  1013.     \expandafter\@ifdefinable\csname #1\endcsname
  1014.         {\@definecounter{#1}%
  1015.          \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
  1016.          \global\@namedef{#1}{\@defthm{#1}{#2}}%
  1017.          \global\@namedef{end#1}{\@endtheorem}%
  1018.     }%
  1019. }
  1020. \def\@defthm#1#2{%
  1021.     \refstepcounter{#1}%
  1022.     \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
  1023. }
  1024. \def\@xdefthm#1#2{%
  1025.     \@begindef{#2}{\csname the#1\endcsname}%
  1026.     \ignorespaces
  1027. }
  1028. \def\@ydefthm#1#2[#3]{%
  1029.     \trivlist
  1030.     \item[%
  1031.         \hskip 10\p@
  1032.         \hskip \labelsep
  1033.         {\it #2%
  1034.          \savebox\@tempboxa{#3}%
  1035.          \ifdim \wd\@tempboxa>\z@
  1036.             \ \box\@tempboxa
  1037.          \fi.%
  1038.         }]%
  1039.     \ignorespaces
  1040. }
  1041. \def\@begindef#1#2{%
  1042.     \trivlist
  1043.     \item[%
  1044.         \hskip 10\p@
  1045.         \hskip \labelsep
  1046.         {\it #1\ \rm #2.}%
  1047.     ]%
  1048. }
  1049. \def\theequation{\arabic{equation}}
  1050.  
  1051. \newcounter{part}
  1052. \newcounter{section}
  1053. \newcounter{subsection}[section]
  1054. \newcounter{subsubsection}[subsection]
  1055. \newcounter{paragraph}[subsubsection]
  1056. \def\thepart{\Roman{part}}
  1057. \def\thesection{\arabic{section}}
  1058. \def\thesubsection{\thesection.\arabic{subsection}}
  1059. \def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
  1060. \def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
  1061.  
  1062. \newif\if@uchead
  1063. \@ucheadfalse
  1064.  
  1065. %% CHANGES: NEW NOTE
  1066. %% NOTE: OK to use old-style font commands below, since they were
  1067. %% suitably redefined for LaTeX2e
  1068. %% END CHANGES
  1069. %\setcounter{secnumdepth}{3}
  1070. \setcounter{secnumdepth}{-2} % DLC
  1071. \def\part{%
  1072.     \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
  1073.        {4\p@}{\normalsize\@ucheadtrue}%
  1074. }
  1075.  
  1076. % Rationale for changes made in next four definitions:
  1077. % "Before skip" is made elastic to provide some give in setting columns (vs.
  1078. % parskip, which is non-elastic to keep section headers "anchored" to their
  1079. % subsequent text.
  1080. %
  1081. % "After skip" is minimized -- BUT setting it to 0pt resulted in run-in heads, despite
  1082. % the documentation asserted only after-skip < 0pt would have result.
  1083. %
  1084. % Baselineskip added to style to ensure multi-line section titles, and section heads
  1085. % followed by another section head rather than text, are decently spaced vertically.
  1086. % 12 Jan 2000 gkmt
  1087. \def\section{%
  1088.     \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
  1089.     {0.5pt}{\baselineskip=14pt\secfnt\@ucheadtrue}%
  1090. }
  1091.  
  1092. \def\subsection{%
  1093.     \@startsection{subsection}{2}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
  1094.    {0.5pt}{\baselineskip=14pt\secfnt}%
  1095. }
  1096. \def\subsubsection{%
  1097.     \@startsection{subsubsection}{3}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
  1098.     {0.5pt}{\baselineskip=14pt\subsecfnt}%
  1099. }
  1100.  
  1101. \def\paragraph{%
  1102.     \@startsection{paragraph}{3}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
  1103.     {0.5pt}{\baselineskip=14pt\subsecfnt}%
  1104. }
  1105.  
  1106. \let\@period=.
  1107. \def\@startsection#1#2#3#4#5#6{%
  1108.         \if@noskipsec  %gkmt, 11 aug 99
  1109.         \global\let\@period\@empty
  1110.         \leavevmode
  1111.         \global\let\@period.%
  1112.     \fi
  1113.     \par
  1114.     \@tempskipa #4\relax
  1115.     \@afterindenttrue
  1116.     \ifdim \@tempskipa <\z@
  1117.         \@tempskipa -\@tempskipa
  1118.         \@afterindentfalse
  1119.     \fi
  1120.     %\if@nobreak  11 Jan 00 gkmt
  1121.         %\everypar{}
  1122.     %\else
  1123.         \addpenalty\@secpenalty
  1124.         \addvspace\@tempskipa
  1125.     %\fi
  1126.     \parskip=0pt
  1127.     \@ifstar
  1128.         {\@ssect{#3}{#4}{#5}{#6}}
  1129.        {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  1130. }
  1131.  
  1132.  
  1133. \def\@ssect#1#2#3#4#5{%
  1134.   \@tempskipa #3\relax
  1135.   \ifdim \@tempskipa>\z@
  1136.     \begingroup
  1137.       #4{%
  1138.         \@hangfrom{\hskip #1}%
  1139.           \interlinepenalty \@M #5\@@par}%
  1140.     \endgroup
  1141.   \else
  1142.     \def\@svsechd{#4{\hskip #1\relax #5}}%
  1143.   \fi
  1144.   \vskip -10.5pt  %gkmt, 7 jan 00 -- had been -14pt, now set to parskip
  1145.   \@xsect{#3}\parskip=10.5pt} % within the starred section, parskip = leading 12 Jan 2000 gkmt
  1146.  
  1147.  
  1148. \def\@sect#1#2#3#4#5#6[#7]#8{%
  1149.     \ifnum #2>\c@secnumdepth
  1150.         \let\@svsec\@empty
  1151.     \else
  1152.         \refstepcounter{#1}%
  1153.         \edef\@svsec{%
  1154.             \begingroup
  1155.                 %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
  1156.             \ifnum#2>2 \noexpand#6 \fi
  1157.                 \csname the#1\endcsname
  1158.             \endgroup
  1159.             \ifnum #2=1\relax .\fi
  1160.             \hskip 1em
  1161.         }%
  1162.     \fi
  1163.     \@tempskipa #5\relax
  1164.     \ifdim \@tempskipa>\z@
  1165.         \begingroup
  1166.             #6\relax
  1167.             \@hangfrom{\hskip #3\relax\@svsec}%
  1168.             \begingroup
  1169.                 \interlinepenalty \@M
  1170.                 \if@uchead
  1171.                     \uppercase{#8}%
  1172.                 \else
  1173.                     #8%
  1174.                 \fi
  1175.                 \par
  1176.             \endgroup
  1177.         \endgroup
  1178.         \csname #1mark\endcsname{#7}%
  1179.         \vskip -10.5pt  % -14pt gkmt, 11 aug 99 -- changed to -\parskip 11 Jan 2000
  1180.       \addcontentsline{toc}{#1}{%
  1181.             \ifnum #2>\c@secnumdepth \else
  1182.                 \protect\numberline{\csname the#1\endcsname}%
  1183.             \fi
  1184.             #7%
  1185.         }%
  1186.     \else
  1187.         \def\@svsechd{%
  1188.             #6%
  1189.             \hskip #3\relax
  1190.             \@svsec
  1191.             \if@uchead
  1192.                 \uppercase{#8}%
  1193.             \else
  1194.                 #8%
  1195.             \fi
  1196.             \csname #1mark\endcsname{#7}%
  1197.             \addcontentsline{toc}{#1}{%
  1198.                 \ifnum #2>\c@secnumdepth \else
  1199.                     \protect\numberline{\csname the#1\endcsname}%
  1200.                 \fi
  1201.                 #7%
  1202.             }%
  1203.         }%
  1204.     \fi
  1205.     \@xsect{#5}\parskip=10.5pt% within the section, parskip = leading 12 Jan 2000 gkmt
  1206. }
  1207. \def\@xsect#1{%
  1208.     \@tempskipa #1\relax
  1209.     \ifdim \@tempskipa>\z@
  1210.         \par
  1211.         \nobreak
  1212.         \vskip \@tempskipa
  1213.         \@afterheading
  1214.     \else
  1215.         \global\@nobreakfalse
  1216.         \global\@noskipsectrue
  1217.         \everypar{%
  1218.             \if@noskipsec
  1219.                 \global\@noskipsecfalse
  1220.                 \clubpenalty\@M
  1221.                 \hskip -\parindent
  1222.                 \begingroup
  1223.                     \@svsechd
  1224.                     \@period
  1225.                 \endgroup
  1226.                 \unskip
  1227.                 \@tempskipa #1\relax
  1228.                 \hskip -\@tempskipa
  1229.             \else
  1230.                 \clubpenalty \@clubpenalty
  1231.                 \everypar{}%
  1232.             \fi
  1233.         }%
  1234.     \fi
  1235.     \ignorespaces
  1236. }
  1237.  
  1238. \def\@trivlist{%
  1239.     \@topsepadd\topsep
  1240.     \if@noskipsec
  1241.         \global\let\@period\@empty
  1242.         \leavevmode
  1243.         \global\let\@period.%
  1244.     \fi
  1245.     \ifvmode
  1246.         \advance\@topsepadd\partopsep
  1247.     \else
  1248.         \unskip
  1249.         \par
  1250.     \fi
  1251.     \if@inlabel
  1252.         \@noparitemtrue
  1253.         \@noparlisttrue
  1254.     \else
  1255.         \@noparlistfalse
  1256.         \@topsep\@topsepadd
  1257.     \fi
  1258.     \advance\@topsep \parskip
  1259.     \leftskip\z@skip
  1260.     \rightskip\@rightskip
  1261.     \parfillskip\@flushglue
  1262.     \@setpar{\if@newlist\else{\@@par}\fi}
  1263.    \global\@newlisttrue
  1264.    \@outerparskip\parskip
  1265. }
  1266.  
  1267. %%% Actually, 'abbrev' works just fine as the default - Gerry Feb. 2000
  1268. %%% Bibliography style.
  1269.  
  1270. \parindent 0pt
  1271. \typeout{Using 'Abbrev' bibliography style}
  1272. \newcommand\bibyear[2]{%
  1273.     \unskip\quad\ignorespaces#1\unskip
  1274.     \if#2..\quad \else \quad#2 \fi
  1275. }
  1276. \newcommand{\bibemph}[1]{{\em#1}}
  1277. \newcommand{\bibemphic}[1]{{\em#1\/}}
  1278. \newcommand{\bibsc}[1]{{\sc#1}}
  1279. \def\@normalcite{%
  1280.     \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
  1281. }
  1282. \def\@citeNB{%
  1283.     \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
  1284. }
  1285. \def\@citeRB{%
  1286.     \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
  1287. }
  1288. \def\start@cite#1#2{%
  1289.     \edef\citeauthoryear##1##2##3{%
  1290.         ###1%
  1291.         \ifnum#2=\z@ \else\ ###2\fi
  1292.     }%
  1293.     \ifnum#1=\thr@@
  1294.         \let\@@cite\@citeyear
  1295.     \else
  1296.         \let\@@cite\@citenormal
  1297.     \fi
  1298.     \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
  1299. }
  1300. \def\cite{\start@cite23}
  1301. \def\citeNP{\cite*}
  1302. \def\citeA{\start@cite10}
  1303. \def\citeANP{\citeA*}
  1304. \def\shortcite{\start@cite23}
  1305. \def\shortciteNP{\shortcite*}
  1306. \def\shortciteA{\start@cite20}
  1307. \def\shortciteANP{\shortciteA*}
  1308. \def\citeyear{\start@cite30}
  1309. \def\citeyearNP{\citeyear*}
  1310. \def\citeN{%
  1311.     \@citeRB
  1312.     \def\citeauthoryear##1##2##3{##1\ [##3%
  1313.         \def\reserved@a{##1}%
  1314.         \def\citeauthoryear####1####2####3{%
  1315.             \def\reserved@b{####1}%
  1316.             \ifx\reserved@a\reserved@b
  1317.                 ####3%
  1318.             \else
  1319.                 \errmessage{Package acmart Error: author mismatch
  1320.                          in \string\citeN^^J^^J%
  1321.                     See the acmart package documentation for explanation}%
  1322.             \fi
  1323.         }%
  1324.     }%
  1325.     \@ifstar\@citeyear\@citeyear
  1326. }
  1327. \def\shortciteN{%
  1328.     \@citeRB
  1329.     \def\citeauthoryear##1##2##3{##2\ [##3%
  1330.         \def\reserved@a{##2}%
  1331.         \def\citeauthoryear####1####2####3{%
  1332.             \def\reserved@b{####2}%
  1333.             \ifx\reserved@a\reserved@b
  1334.                 ####3%
  1335.             \else
  1336.                 \errmessage{Package acmart Error: author mismatch
  1337.                          in \string\shortciteN^^J^^J%
  1338.                     See the acmart package documentation for explanation}%
  1339.             \fi
  1340.         }%
  1341.     }%
  1342.     \@ifstar\@citeyear\@citeyear % changed from  "\@ifstart" 12 Jan 2000 gkmt
  1343. }
  1344.  
  1345. \def\@citenormal{%
  1346.     \@ifnextchar [{\@tempswatrue\@citex;}
  1347.                  {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00
  1348. }
  1349. \def\@citeyear{%
  1350.     \@ifnextchar [{\@tempswatrue\@citex,}%
  1351.                   {\@tempswafalse\@citex,[]}%
  1352. }
  1353. \def\@citex#1[#2]#3{%
  1354.     \let\@citea\@empty
  1355.     \@cite{%
  1356.         \@for\@citeb:=#3\do{%
  1357.             \@citea
  1358.             \def\@citea{#1 }%
  1359.             \edef\@citeb{\expandafter\@iden\@citeb}%
  1360.             \if@filesw
  1361.                 \immediate\write\@auxout{\string\citation{\@citeb}}%
  1362.             \fi
  1363.             \@ifundefined{b@\@citeb}{%
  1364.                 {\bf ?}%
  1365.                 \@warning{%
  1366.                     Citation `\@citeb' on page \thepage\space undefined%
  1367.                 }%
  1368.             }%
  1369.             {\csname b@\@citeb\endcsname}%
  1370.         }%
  1371.     }{#2}%
  1372. }
  1373. \let\@biblabel\@gobble
  1374. \newdimen\bibindent
  1375. \setcounter{enumi}{1}
  1376. \bibindent=0em
  1377. \def\thebibliography#1{%
  1378. \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
  1379.     \section{%
  1380.        {REFERENCES}
  1381.        \@mkboth{{\refname}}{{\refname}}%
  1382.     }%
  1383. %    \list{[\arabic{enumi}]}{%
  1384.     \list{\arabic{enumi}.}{% DLC
  1385. %        \settowidth\labelwidth{[#1]}%
  1386.         \settowidth\labelwidth{#1.}% DLC
  1387.         \leftmargin\labelwidth
  1388.         \advance\leftmargin\labelsep
  1389.         \advance\leftmargin\bibindent
  1390.         \itemindent -\bibindent
  1391.         \listparindent \itemindent
  1392.         \usecounter{enumi}
  1393.    }%
  1394.     \let\newblock\@empty
  1395.     \raggedright  %% 7 JAN 2000 gkmt
  1396.     \sloppy
  1397.     \sfcode`\.=1000\relax
  1398. }
  1399.  
  1400.  
  1401. \gdef\balancecolumns
  1402. {\vfill\eject
  1403. \global\@colht=\textheight
  1404. \global\ht\@cclv=\textheight
  1405. }
  1406.  
  1407. \newcount\colcntr
  1408. \global\colcntr=0
  1409. \newbox\savebox
  1410.  
  1411. \gdef \@makecol {%
  1412. \global\advance\colcntr by 1
  1413. \ifnum\colcntr>2 \global\colcntr=1\fi
  1414.    \ifvoid\footins
  1415.      \setbox\@outputbox \box\@cclv
  1416.    \else
  1417.      \setbox\@outputbox \vbox{%
  1418. \boxmaxdepth \@maxdepth
  1419.        \@tempdima\dp\@cclv
  1420.        \unvbox \@cclv
  1421.        \vskip-\@tempdima
  1422.        \vskip \skip\footins
  1423.        \color@begingroup
  1424.          \normalcolor
  1425.          \footnoterule
  1426.          \unvbox \footins
  1427.        \color@endgroup
  1428.        }%
  1429.    \fi
  1430.    \xdef\@freelist{\@freelist\@midlist}%
  1431.    \global \let \@midlist \@empty
  1432.    \@combinefloats
  1433.    \ifvbox\@kludgeins
  1434.      \@makespecialcolbox
  1435.    \else
  1436.      \setbox\@outputbox \vbox to\@colht {%
  1437. \@texttop
  1438.        \dimen@ \dp\@outputbox
  1439.        \unvbox \@outputbox
  1440.    \vskip -\dimen@
  1441.        \@textbottom
  1442.        }%
  1443.    \fi
  1444.    \global \maxdepth \@maxdepth
  1445. }
  1446. \def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
  1447. \global\advance\titlenotecount by 1
  1448. \ifnum\titlenotecount=1
  1449.    \raisebox{9pt}{$\ast$}
  1450. \fi
  1451. \ifnum\titlenotecount=2
  1452.    \raisebox{9pt}{$\dagger$}
  1453. \fi
  1454. \ifnum\titlenotecount=3
  1455.    \raisebox{9pt}{$\ddagger$}
  1456. \fi
  1457. \ifnum\titlenotecount=4
  1458. \raisebox{9pt}{$\S$}
  1459. \fi
  1460. \ifnum\titlenotecount=5
  1461. \raisebox{9pt}{$\P$}
  1462. \fi
  1463.         \@titlenotetext
  1464. }}
  1465.  
  1466. \long\def\@titlenotetext#1{\insert\footins{%
  1467. \ifnum\titlenotecount=1\global\tntoks={#1}\fi
  1468. \ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
  1469. \ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
  1470. \ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
  1471. \ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
  1472.     \reset@font\footnotesize
  1473.     \interlinepenalty\interfootnotelinepenalty
  1474.     \splittopskip\footnotesep
  1475.     \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  1476.     \hsize\columnwidth \@parboxrestore
  1477.     \protected@edef\@currentlabel{%
  1478.     }%
  1479.     \color@begingroup
  1480.    \color@endgroup}}
  1481.  
  1482. %%%%%%%%%%%%%%%%%%%%%%%%%
  1483. \ps@plain
  1484. \baselineskip=11pt
  1485. \let\thepage\relax % For  NO page numbers - Gerry Nov. 30th. 1999
  1486. \def\setpagenumber#1{\global\setcounter{page}{#1}}
  1487. %\pagenumbering{arabic}  % Arabic page numbers but commented out for NO page numbes - Gerry Nov. 30th. 1999
  1488. \twocolumn             % Double column.
  1489. \flushbottom           % Even bottom -- alas, does not balance columns at end of document
  1490. \pagestyle{plain}
  1491.  
  1492. % Need Copyright Year and Copyright Data to be user definable (in .tex file).
  1493. % Gerry Nov. 30th. 1999
  1494. \newtoks\copyrtyr
  1495. \newtoks\acmcopyr
  1496. \newtoks\boilerplate
  1497. \def\CopyrightYear#1{\global\copyrtyr{#1}}
  1498. \def\crdata#1{\global\acmcopyr{#1}}
  1499. \def\permission#1{\global\boilerplate{#1}}
  1500. %
  1501. \newtoks\copyrightetc
  1502. \global\copyrightetc{\ } %  Need to have 'something' so that adequate space is left for pasting in a line if "confinfo" is supplied.
  1503.  
  1504.  
  1505. % End of tei2012.cls - version 0.1
  1506.  
  1507.  
clone this paste RAW Paste Data