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