| 1 |
%\iffalse |
| 2 |
%<*class> |
| 3 |
|
| 4 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 5 |
%% |
| 6 |
%% `acmconf' class to use with LaTeX2e. |
| 7 |
%% |
| 8 |
%% This class is used to typeset articles to be published in the proceedings |
| 9 |
%% of the ACM (Association for Computing Machinery) conferences and workshops. |
| 10 |
%% |
| 11 |
%% Copyright (C) 1999, Dr. Juergen Vollmer |
| 12 |
%% Viktoriastrasse 15, D-76133 Karlsruhe, Germany |
| 13 |
%% [email protected] |
| 14 |
%% License: |
| 15 |
%% This program can be redistributed and/or modified under the terms |
| 16 |
%% of the LaTeX Project Public License Distributed from CTAN |
| 17 |
%% archives in directory macros/latex/base/lppl.txt; either |
| 18 |
%% version 1 of the License, or any later version. |
| 19 |
%% |
| 20 |
%% If you find this software useful, please send me a postcard. |
| 21 |
%% |
| 22 |
%% $Id: acmconf.dtx,v 1.19 2000/05/18 17:14:51 vollmer Exp $ |
| 23 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 24 |
|
| 25 |
%</class> |
| 26 |
%\fi |
| 27 |
% |
| 28 |
%% |
| 29 |
%\iffalse |
| 30 |
%% to test the checksum, uncomment \OnlyDescription |
| 31 |
%% in the driver |
| 32 |
%%\fi |
| 33 |
%% |
| 34 |
% \CheckSum{1307} |
| 35 |
%% \CharacterTable |
| 36 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 37 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 38 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 39 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 40 |
%% Dollar \$ Percent \% Ampersand \& |
| 41 |
%% Acute accent \' Left paren \( Right paren \) |
| 42 |
%% Asterisk \* Plus \+ Comma \, |
| 43 |
%% Minus \- Point \. Solidus \/ |
| 44 |
%% Colon \: Semicolon \; Less than \< |
| 45 |
%% Equals \= Greater than \> Question mark \? |
| 46 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 47 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 48 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 49 |
%% Right brace \} Tilde \~} |
| 50 |
% \DoNotIndex{\begin,\CodelineIndex,\CodelineNumbered,\def,\DisableCrossrefs} |
| 51 |
% \DoNotIndex{\DocInput,\documentclass,\EnableCrossrefs,\end,\GetFileInfo} |
| 52 |
% \DoNotIndex{\NeedsTeXFormat,\OnlyDescription,\RecordChanges,\usepackage} |
| 53 |
% \DoNotIndex{\ProvidesClass,\ProvidesPackage,\ProvidesFile,\RequirePackage} |
| 54 |
% \DoNotIndex{\LoadClass,\PassOptionsToClass,\PassOptionsToPackage} |
| 55 |
% \DoNotIndex{\DeclareOption,\CurrentOption,\ProcessOptions,\ExecuteOptions} |
| 56 |
% \DoNotIndex{\AtEndOfClass,\AtEndOfPackage,\AtBeginDocument,\AtEndDocument} |
| 57 |
% \DoNotIndex{\InputIfFileExists,\IfFileExists,\ClassError,\PackageError} |
| 58 |
% \DoNotIndex{\if,\else,\fi,\emph,\footnotesize,\footrulewidth,\let} |
| 59 |
% \DoNotIndex{\newcount,\newif,\number,\or,\parindent,\plainfootrulewidth} |
| 60 |
% \DoNotIndex{\PrintChanges,\PrintIndex,\relax,\setlength,\space} |
| 61 |
% \DoNotIndex{\the,\textwidth,\thepage,\newcommand,\texttt,\verb,\vfill} |
| 62 |
% \DoNotIndex{\input,\newpage,\setcounter,\newcounter,\\,\ ,\typeout,\today} |
| 63 |
% |
| 64 |
% \changes{v1.3}{2000-05-18}{Avoid superfluous spaces. Thanks to |
| 65 |
% Henning Niss \texttt{([email protected])}} |
| 66 |
% \changes{v1.2}{1999-11-05}{Added the box and nobox options.} |
| 67 |
% \changes{v1.1}{1999-06-16}{Adopted to rules as given shown in the file |
| 68 |
% pubform.tex} |
| 69 |
% \changes{v1.0}{1999-05-30}{The initial version.} |
| 70 |
% |
| 71 |
% \title{The \texttt{acmconf} Class\\--\\ |
| 72 |
% Typesetting Papers for Proceedings of the ACM |
| 73 |
% } |
| 74 |
% \author{Dr.~J{\"u}rgen Vollmer\\ |
| 75 |
% Viktoriastra{\ss}e 15\\ |
| 76 |
% D-76133 Karlsruhe, Germany\\ |
| 77 |
% {\small [email protected]}} |
| 78 |
% \date{May 18, 2000; Version 1.3} |
| 79 |
% |
| 80 |
% \maketitle |
| 81 |
% |
| 82 |
% \MakeShortVerb{\'} |
| 83 |
% \newcommand{\Meta}[1]{\{\meta{#1}\}} |
| 84 |
% |
| 85 |
% \begin{abstract} |
| 86 |
% This class is used to typeset articles to be published in the proceedings |
| 87 |
% of ACM (Association for Computing Machinery) conferences and workshops. |
| 88 |
% \end{abstract} |
| 89 |
% |
| 90 |
% \section{Introduction} |
| 91 |
% %%%%%%%%%%%%%%%%%%%%%%% |
| 92 |
% |
| 93 |
% The purpose of this class is to make the proceedings of the ACM |
| 94 |
% to look more similar. |
| 95 |
% The 'acmconf' class is an extension (or restriction as one sees) of the |
| 96 |
% standard 'article' class. |
| 97 |
% The text is typeset within two columns, the page bounds (width and height) |
| 98 |
% are predefined and should not be modified. |
| 99 |
% You may use all stuff of the 'article' class in the 'acmconf' class. |
| 100 |
% (E.g.~'\title', '\author', '\maketitle', '\section', '\tabular', etc. |
| 101 |
% Please have a look to the examples shipped with this class). |
| 102 |
% |
| 103 |
% The layout produced by the 'acmconf' class is based on the description |
| 104 |
% contained in \texttt{www.acm.org/sigs/pubs/proceed/pubform.doc}\footnote{It |
| 105 |
% follows this document concerning fonts and sizes, etc., but some |
| 106 |
% distances (e.g.\ before and after section heads), are taken unchanged form |
| 107 |
% the 'article' class, which results in differences to the file |
| 108 |
% \texttt{pubform.doc}.}. For the specification of the layout, have a look into |
| 109 |
% the file \texttt{pubform.tex} (with is the \LaTeX2e-variant of |
| 110 |
% \texttt{pubform.doc}). |
| 111 |
% |
| 112 |
% The page \texttt{www.acm.org/sigs/pubs/proceed/template.html} contains |
| 113 |
% the \emph{ACM SIG Proceedings Templates} for some other word processors. |
| 114 |
% |
| 115 |
% Besides the layout, this class offers some support in managing the |
| 116 |
% process of preparing, submitting, and publishing the paper. |
| 117 |
% The basic idea is that a paper is in one of the following five "states": |
| 118 |
% \begin{enumerate} |
| 119 |
% \item First the paper is in \emph{preparation}, then it will be |
| 120 |
% \item \emph{submitted} to the conference chair. |
| 121 |
% \item It may be \emph{accepted}, but is not yet published in the proceedings, |
| 122 |
% \item then it must be typeset for the \emph{publication} in the proceedings, |
| 123 |
% and sometimes you need a |
| 124 |
% \item \emph{printout} of the published paper. |
| 125 |
% \end{enumerate} |
| 126 |
% |
| 127 |
% These states are indicated by the options passed to the class. |
| 128 |
% Changing the option from one state to the next should not modify the |
| 129 |
% printed result except for foot- and head lines (i.e.~each page should |
| 130 |
% contain the same material on the same position on the page). |
| 131 |
% The options are 'prepare', 'submit', 'accept', 'publish' and 'print'. |
| 132 |
% In the text we speak of the \emph{prepared}, \emph{submitted}, |
| 133 |
% \emph{accepted}, \emph{published} or \emph{printed} text, as an |
| 134 |
% abbreviation, that text was processed by \LaTeX\ with the corresponding |
| 135 |
% option. |
| 136 |
% |
| 137 |
% Depending on the state, the head- and foot line of a page are filled |
| 138 |
% with various informations (see below). Except for 'publish' the foot line |
| 139 |
% contains the page number, starting with one. |
| 140 |
% |
| 141 |
% Depending on the state, some macros must be used to define important |
| 142 |
% informations (e.g.~the conference name must be given always, while |
| 143 |
% the copyright notice must be given only when the 'publish' or 'print' |
| 144 |
% option is used. Warnings will be emitted, if they are missing. |
| 145 |
% |
| 146 |
% You may give conditional text depending on the option, using the |
| 147 |
% '\If...' commands shown below. Using them may cause different results when |
| 148 |
% printing the text. |
| 149 |
% |
| 150 |
% \section{Thanks} |
| 151 |
% %%%%%%%%%%%%%%%% |
| 152 |
% |
| 153 |
% The initial layout of this class was based on the former \LaTeX-style file, |
| 154 |
% which states:\\ |
| 155 |
% \emph{Adapted from ARTICLE document style by Ken Traub. |
| 156 |
% Hacked for [preprint] option by Olin Shivers 4/91. |
| 157 |
% Fixed up for LaTeX version 2e by Peter Lee 10/94 (with |
| 158 |
% help from Simon Peyton Jones).} |
| 159 |
% |
| 160 |
% The 'flushend'-package of Sigitas Tolu\v sis \texttt{[email protected]} is |
| 161 |
% used to balance the columns on the last page of the paper. It is |
| 162 |
% \emph{Copyright 1997 Sigitas Tolu\v sis, VTeX Ltd., Akademijos 4, |
| 163 |
% Vilnius, Lithuania}. Its ``home'' is |
| 164 |
% \texttt{www.vtex.lt/tex/download/macros/flushend.sty}. |
| 165 |
% |
| 166 |
% The 'flushend'-package is distributed with the permisssion of |
| 167 |
% Sigitas Tolu\v sis together with the 'acmconf' class. It is stored |
| 168 |
% in the separate file \texttt{flushend.sty}. |
| 169 |
% |
| 170 |
% \section{User Interface} |
| 171 |
% %%%%%%%%%%%%%%%%%%%%%%%% |
| 172 |
% |
| 173 |
% \subsection{Options} |
| 174 |
% |
| 175 |
% All except the following options of the 'article' class are allowed |
| 176 |
% by 'acmconf'. |
| 177 |
% \begin{itemize}\setlength{\itemsep}{0cm} |
| 178 |
% \item '10pt' |
| 179 |
% \item '11pt' |
| 180 |
% \item '12pt' |
| 181 |
% \end{itemize} |
| 182 |
% |
| 183 |
% \noindent |
| 184 |
% New options for 'acmconf' are: |
| 185 |
% \begin{center} |
| 186 |
% \begin{tabular}{|l|p{0.75\textwidth}|}\hline |
| 187 |
% 'prepare' & Paper in preparation (default option). \\ |
| 188 |
% 'submit' & Typeset paper for submission. \\ |
| 189 |
% 'accept' & Typeset accepted paper. \\ |
| 190 |
% 'publish' & Typeset accepted paper for publishing in the |
| 191 |
% proceedings. \\ |
| 192 |
% 'print' & Typeset the published paper for printing separate |
| 193 |
% from from the proceedings. \\ |
| 194 |
% 'box' & Place a box around the copyright notice (default). \\ |
| 195 |
% 'nobox' & Do not place a box around the copyright notice. \\ |
| 196 |
% \hline |
| 197 |
% \end{tabular} |
| 198 |
% \end{center} |
| 199 |
% |
| 200 |
% \subsection{Commands} |
| 201 |
% %%%%%%%%%%%%%%%%%%%%% |
| 202 |
% |
| 203 |
% Additionally to the options, the following commands (macros) and environments% may be used: |
| 204 |
% |
| 205 |
% \begin{itemize}\setlength{\itemsep}{0cm} |
| 206 |
% \item \DescribeMacro{\ConferenceName} |
| 207 |
% '\ConferenceName'\Meta{ConferenceName}\\ |
| 208 |
% defines the full name of the conference. |
| 209 |
% |
| 210 |
% \item \DescribeMacro{\ConferenceShortName} |
| 211 |
% '\ConferenceShortName'\Meta{ConferenceShortName}\\ |
| 212 |
% defines the abbreviation of the conference name. |
| 213 |
% |
| 214 |
% \item \DescribeMacro{\TheConferenceName} |
| 215 |
% '\TheConferenceName' is the full name of the conference, defined by |
| 216 |
% '\ConferenceName'. |
| 217 |
% |
| 218 |
% \item \DescribeMacro{\TheConferenceShortName} |
| 219 |
% '\TheConferenceShortName' is the full name of the conference, |
| 220 |
% defined by '\ConferenceShortName'. |
| 221 |
% |
| 222 |
% \item \DescribeMacro{\PrepareText} |
| 223 |
% '\PrepareText'\Meta{PrepareText}\\ |
| 224 |
% \meta{PrepareText} is printed on top of a first page |
| 225 |
% of a prepared paper. Default: \\ |
| 226 |
% \emph{Intended for submission to the \meta{ConferenceName}} |
| 227 |
% |
| 228 |
% \item \DescribeMacro{\SubmitText} |
| 229 |
% '\SubmitText'\Meta{SubmitText}\\ |
| 230 |
% \meta{SubmitText} is printed on top of a first page |
| 231 |
% of a submitted paper. Default: \\ |
| 232 |
% \emph{Submitted to the \meta{ConferenceName}} |
| 233 |
% |
| 234 |
% \item \DescribeMacro{\AcceptText} |
| 235 |
% '\AcceptText'\Meta{AcceptText}\\ |
| 236 |
% \meta{AcceptText} is printed on top of a first page |
| 237 |
% of an accepted paper. Default: \\ |
| 238 |
% \emph{Accepted for the \meta{ConferenceName}} |
| 239 |
% |
| 240 |
% \item \DescribeMacro{\PrintText} |
| 241 |
% '\PrintText'\Meta{PrintText}\\ |
| 242 |
% \meta{PrintText} is printed on top of a first page |
| 243 |
% of a prepared paper. Default: \\ |
| 244 |
% \emph{Published in the Proceedings of the \meta{ConferenceName}, |
| 245 |
% pages \meta{Published\-Page\-From}--\meta{Published\-Page\-To}} |
| 246 |
% |
| 247 |
% \item \DescribeMacro{\PublishedPageFrom} |
| 248 |
% '\PublishedPageFrom'\Meta{PublishedPageFrom} |
| 249 |
% |
| 250 |
% \item \DescribeMacro{\PublishedPageTo} |
| 251 |
% '\PublishedPageTo'\Meta{PublishedPageTo}\\ |
| 252 |
% The published paper is printed in the proceedings from page |
| 253 |
% \meta{Published\-Page\-From} to page \meta{Published\-Page\-To}. |
| 254 |
% |
| 255 |
% \item \DescribeMacro{\CopyrightText} |
| 256 |
% '\CopyrightText'\Meta{CopyrightText}\\ |
| 257 |
% \meta{CopyrightText} must be given for the accepted, published and |
| 258 |
% printed paper. It may be given for the prepared and submitted paper. |
| 259 |
% It is printed below the left column on the first page. |
| 260 |
% |
| 261 |
% \item \DescribeMacro{\IfPrepare} |
| 262 |
% '\IfPrepare'\Meta{then}\Meta{else} executes \meta{then}, |
| 263 |
% if the 'prepare' option was given, otherwise executes \meta{else}. |
| 264 |
% |
| 265 |
% \item \DescribeMacro{\IfSubmit} |
| 266 |
% '\IfSubmit'\Meta{then}\Meta{else} executes \meta{then}, |
| 267 |
% if the 'submit' option was given, otherwise executes \meta{else}. |
| 268 |
% |
| 269 |
% \item \DescribeMacro{\IfAccept} |
| 270 |
% '\IfAccept'\Meta{then}\Meta{else} executes \meta{then}, |
| 271 |
% if the 'accept' option was given, otherwise executes \meta{else}. |
| 272 |
% |
| 273 |
% \item \DescribeMacro{\IfPublish} |
| 274 |
% '\IfPublish'\Meta{then}\Meta{else} executes \meta{then}, |
| 275 |
% if the 'publish' option was given, otherwise executes \meta{else}. |
| 276 |
% |
| 277 |
% \item \DescribeMacro{\IfPrint} |
| 278 |
% '\IfPrint'\Meta{then}\Meta{else} executes \meta{then}, |
| 279 |
% if the 'print' option was given, otherwise executes \meta{else}. |
| 280 |
% |
| 281 |
% \item \DescribeMacro{\Author} |
| 282 |
% '\Author'\Meta{Author}\\ |
| 283 |
% is used to typeset the auther(s) in the title. |
| 284 |
% |
| 285 |
% \item \DescribeMacro{\Address} |
| 286 |
% '\Address'\Meta{Address}\\ |
| 287 |
% is used to typeset the authors postal address in the title. |
| 288 |
% |
| 289 |
% \item \DescribeMacro{\Phone} |
| 290 |
% '\Phone'\Meta{Phone}\\ |
| 291 |
% is used to typeset the authors phone number in the title. |
| 292 |
% |
| 293 |
% \item \DescribeMacro{\Email} |
| 294 |
% '\Email'\Meta{Email}\\ |
| 295 |
% is used to typeset the authors email address in the title. |
| 296 |
% |
| 297 |
% '\Author', '\Address', '\Phone', and '\Email' should be used only |
| 298 |
% withing the standard '\author'-command, used to produce the title |
| 299 |
% section of the paper |
| 300 |
% |
| 301 |
% The first given \meta{Author} is printed with |
| 302 |
% the \meta{ConferenceShortName} and the '\date' in the foot line of |
| 303 |
% the submitted paper\footnote{To ease the job of the referee, |
| 304 |
% in case a thunderstorm visits his office.}. |
| 305 |
% \item \DescribeEnv{keywords} |
| 306 |
% The 'keywords' environment has no parameters and should follow the |
| 307 |
% 'abstract' environment. |
| 308 |
% It is used to give some keywords of the article. |
| 309 |
% \end{itemize} |
| 310 |
% |
| 311 |
% All macros above except '\If...', '\ConferenceName', '\ConferenceShortName', |
| 312 |
% '\Author', '\Address', and '\Email' must be given in the preamble of the |
| 313 |
% document. |
| 314 |
% |
| 315 |
% \DescribeMacro{\subsubsubsection} |
| 316 |
% \DescribeMacro{\subsubsubsubsection} |
| 317 |
% The following two section commands are defined additionally:\\ |
| 318 |
% '\subsubsubsection' and '\subsubsubsubsection'. They may be used as the other |
| 319 |
% '\section'-commands. |
| 320 |
% |
| 321 |
% \DescribeMacro{\tableofcontents} |
| 322 |
% \DescribeMacro{\listoffigures} |
| 323 |
% \DescribeMacro{\listoftables} |
| 324 |
% \DescribeMacro{\pagestyle} |
| 325 |
% The following commands provided by the 'article' class |
| 326 |
% are not allowed in 'acmconf', |
| 327 |
% except when preparing the text: |
| 328 |
% '\tableofcontents', '\listoffigures', '\listoftables', and '\pagestyle'. |
| 329 |
% |
| 330 |
% \subsection{Commands of the \texttt{flushend}-package} |
| 331 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 332 |
% |
| 333 |
% The 'flushend' package of Sigitas Tolu\v sis \texttt{[email protected]} is |
| 334 |
% used to balance the columns on the last page of the paper. |
| 335 |
% It is loaded automatically by the 'acmconf' class. |
| 336 |
% It offers the following commands: |
| 337 |
% \begin{itemize}\setlength{\itemsep}{0cm} |
| 338 |
% \item \DescribeMacro{\flushend} |
| 339 |
% '\flushend'\\ |
| 340 |
% Switches on column balancing at last. This is the default. |
| 341 |
% \item \DescribeMacro{\raggedend} |
| 342 |
% '\raggedend'\\ |
| 343 |
% Switches off column balancing at last page. |
| 344 |
% \item \DescribeMacro{\atColsBreak} |
| 345 |
% '\atColsBreak'\Meta{text}\\ |
| 346 |
% Adds \meta{text} in place of original column break |
| 347 |
% (without balancing). Example: '\atColsBreak{\vskip-2pt}'. |
| 348 |
%\item \DescribeMacro{\showcolsendrule} |
| 349 |
% '\showcolsendrule'\\ |
| 350 |
% Adds rule to the bottom of columns (just for debugging). |
| 351 |
% \end{itemize} |
| 352 |
|
| 353 |
% \subsection{Predefined Stuff} |
| 354 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 355 |
% |
| 356 |
% 'acmconf' defines the following things, which should not be overwritten |
| 357 |
% by the user: |
| 358 |
% \begin{itemize}\setlength{\itemsep}{0cm} |
| 359 |
% \item The paper is set in twocolumn-mode. The columns on the last page |
| 360 |
% are balanced. |
| 361 |
% \item The '\normalfont' size is 9pt with a '\baselineskip' of 9pt and a |
| 362 |
% '\baselinestretch' of 1.2. |
| 363 |
% \item The page size and some distances. |
| 364 |
% \item The layout of '\section', '\subsection', '\subsubsection', |
| 365 |
% '\paragraph', and '\subparagraph'. |
| 366 |
% \end{itemize} |
| 367 |
% |
| 368 |
% \section{Example} |
| 369 |
% %%%%%%%%%%%%%%%%% |
| 370 |
% \begin{verbatim} |
| 371 |
% \documentclass[print]{acmconf} |
| 372 |
% \ConferenceName{1.~Conference on Designing a \LaTeX2e Class for |
| 373 |
% Typesetting ACM Papers, Hawaii 2000} |
| 374 |
% \ConferenceShortName{CONF-2000} |
| 375 |
% \CopyrightText{\copyright ACM 2000, .....} |
| 376 |
% \PublishedPageFrom{123} |
| 377 |
% \PublishedPageTo{456} |
| 378 |
% \begin{document} |
| 379 |
% \date{May 18, 2000; Version 1.3} |
| 380 |
% \title{A New Intuitionistic Proof of Usability\\ |
| 381 |
% of the Recommended Style File for the ACM Conference Papers} |
| 382 |
% \author{\Author{J\"urgen Vollmer}\\ |
| 383 |
% \Address{Karlsruhe}\\ |
| 384 |
% \Email{[email protected]}\\ |
| 385 |
% \and |
| 386 |
% \Author{Mickey Mouse}\\ |
| 387 |
% \Address{Enthausen University}\\ |
| 388 |
% \Email{[email protected]} |
| 389 |
% } |
| 390 |
% \maketitle |
| 391 |
% \begin{abstract} |
| 392 |
% This document demonstrates how to use the \LaTeX2e \verb|acmconf| |
| 393 |
% .... |
| 394 |
% \end{abstract} |
| 395 |
% |
| 396 |
% \begin{keywords} |
| 397 |
% \LaTeX2e, ACM proceedings |
| 398 |
% \end{keyowrds} |
| 399 |
% \section{Introduction} |
| 400 |
% To understand this file read the \emph{source} and not the typeset |
| 401 |
% .... |
| 402 |
% \end{document} |
| 403 |
% \end{verbatim} |
| 404 |
% |
| 405 |
% \section{Copyright and License} |
| 406 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 407 |
% |
| 408 |
% \begin{tabular}{ll} |
| 409 |
% Copyright (\copyright) 1999, & Dr.~J\"urgen Vollmer, Karlsruhe, Germany\\ |
| 410 |
% & \texttt{[email protected]} \\ |
| 411 |
% \end{tabular} |
| 412 |
% |
| 413 |
% This program can be redistributed and/or modified under the terms |
| 414 |
% of the \LaTeX Project Public License Distributed from CTAN |
| 415 |
% archives in directory 'macros/latex/base/lppl.txt'; either |
| 416 |
% version 1 of the License, or any later version. |
| 417 |
% |
| 418 |
% \medskip\noindent |
| 419 |
% If you find this software useful, please send me a postcard. |
| 420 |
% |
| 421 |
% \bigskip |
| 422 |
% The 'flushend'-package is Copyright (\copyright) 1997, |
| 423 |
% Sigitas Tolu\v sis, VTeX Ltd., Akademijos 4,Vilnius, Lithuania. |
| 424 |
% \texttt{[email protected]}. |
| 425 |
% |
| 426 |
% |
| 427 |
% \StopEventually{} |
| 428 |
% |
| 429 |
% \section{The Documentation Driver File} |
| 430 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 431 |
% |
| 432 |
% The next bit of code contains the documentation driver file for |
| 433 |
% \TeX{}, i.e., the file that will produce the documentation you are |
| 434 |
% currently reading. It will be extracted from this file by the |
| 435 |
% \texttt{docstrip} program. |
| 436 |
% \begin{macrocode} |
| 437 |
%<*driver> |
| 438 |
\documentclass[a4paper]{article} \usepackage{doc} |
| 439 |
\OnlyDescription |
| 440 |
\RecordChanges |
| 441 |
\EnableCrossrefs |
| 442 |
\CodelineIndex |
| 443 |
\begin{document} |
| 444 |
\DocInput{acmconf.dtx} |
| 445 |
\PrintChanges |
| 446 |
\setcounter{IndexColumns}{2} |
| 447 |
\PrintIndex |
| 448 |
\end{document} |
| 449 |
%</driver> |
| 450 |
% \end{macrocode} |
| 451 |
% |
| 452 |
% \section{The Implementation} |
| 453 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 454 |
% |
| 455 |
% The information xxx given by the user is stored in the macro \@AcmConfxxx. |
| 456 |
% |
| 457 |
% What do we need, and who we are: |
| 458 |
% \begin{macrocode} |
| 459 |
%<*class> |
| 460 |
\NeedsTeXFormat{LaTeX2e} |
| 461 |
\ProvidesClass{acmconf}[2000/05/18 v1.3 ACM Conference Papers] |
| 462 |
% \end{macrocode} |
| 463 |
% |
| 464 |
% Declare some flags to store which options have been given. Their value |
| 465 |
% is by default "false". |
| 466 |
% \begin{macrocode} |
| 467 |
\newif\if@AcmConfPrepare@ |
| 468 |
\newif\if@AcmConfSubmit@ |
| 469 |
\newif\if@AcmConfAccept@ |
| 470 |
\newif\if@AcmConfPublish@ |
| 471 |
\newif\if@AcmConfPrint@ |
| 472 |
\newif\if@AcmConfBox@ |
| 473 |
% \end{macrocode} |
| 474 |
% |
| 475 |
% Declare the options. We set the flags so, that only one flag is true, and |
| 476 |
% all others are false. |
| 477 |
% \begin{macrocode} |
| 478 |
\DeclareOption{prepare}{ |
| 479 |
\@AcmConfPrepare@true |
| 480 |
\@AcmConfSubmit@false |
| 481 |
\@AcmConfAccept@false |
| 482 |
\@AcmConfPublish@false |
| 483 |
\@AcmConfPrint@false |
| 484 |
} |
| 485 |
\DeclareOption{submit}{ |
| 486 |
\@AcmConfPrepare@false |
| 487 |
\@AcmConfSubmit@true |
| 488 |
\@AcmConfAccept@false |
| 489 |
\@AcmConfPublish@false |
| 490 |
\@AcmConfPrint@false |
| 491 |
} |
| 492 |
\DeclareOption{accept}{ |
| 493 |
\@AcmConfPrepare@false |
| 494 |
\@AcmConfSubmit@false |
| 495 |
\@AcmConfAccept@true |
| 496 |
\@AcmConfPublish@false |
| 497 |
\@AcmConfPrint@false |
| 498 |
} |
| 499 |
\DeclareOption{publish}{ |
| 500 |
\@AcmConfPrepare@false |
| 501 |
\@AcmConfSubmit@false |
| 502 |
\@AcmConfAccept@false |
| 503 |
\@AcmConfPublish@true |
| 504 |
\@AcmConfPrint@false |
| 505 |
} |
| 506 |
\DeclareOption{print}{ |
| 507 |
\@AcmConfPrepare@false |
| 508 |
\@AcmConfSubmit@false |
| 509 |
\@AcmConfAccept@false |
| 510 |
\@AcmConfPublish@false |
| 511 |
\@AcmConfPrint@true |
| 512 |
} |
| 513 |
\DeclareOption{box}{ |
| 514 |
\@AcmConfBox@true |
| 515 |
} |
| 516 |
\DeclareOption{nobox}{ |
| 517 |
\@AcmConfBox@false |
| 518 |
} |
| 519 |
% \end{macrocode} |
| 520 |
% |
| 521 |
% The point size and the 'landscape' options are forbidden: |
| 522 |
% \begin{macrocode} |
| 523 |
\DeclareOption{10pt}{ |
| 524 |
\ClassWarningNoLine{acmconf}{% |
| 525 |
The `10pt' option is not allowed in the `acmconf' class} |
| 526 |
\OptionNotUsed |
| 527 |
} |
| 528 |
\DeclareOption{11pt}{ |
| 529 |
\ClassWarningNoLine{acmconf}{% |
| 530 |
The `11pt' option is not allowed in the `acmconf' class} |
| 531 |
\OptionNotUsed |
| 532 |
} |
| 533 |
\DeclareOption{12pt}{ |
| 534 |
\ClassWarningNoLine{acmconf}{% |
| 535 |
The `12pt' option is not allowed in the `acmconf' class} |
| 536 |
\OptionNotUsed |
| 537 |
} |
| 538 |
\DeclareOption{landscape}{ |
| 539 |
\ClassWarningNoLine{acmconf}{% |
| 540 |
The `landscape' option is not allowed in the `acmconf' class} |
| 541 |
\OptionNotUsed |
| 542 |
} |
| 543 |
% \end{macrocode} |
| 544 |
% |
| 545 |
% Pass all other options to our base class, i.e.~'article'. |
| 546 |
% \begin{macrocode} |
| 547 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} |
| 548 |
% \end{macrocode} |
| 549 |
% |
| 550 |
% Use these default options: |
| 551 |
% \begin{macrocode} |
| 552 |
\ExecuteOptions{prepare,box} |
| 553 |
% \end{macrocode} |
| 554 |
% |
| 555 |
% Process the user options. |
| 556 |
% \begin{macrocode} |
| 557 |
\ProcessOptions\relax |
| 558 |
% \end{macrocode} |
| 559 |
% |
| 560 |
% Load our base class and tell it, we want the twocolumn layout, with balanced |
| 561 |
% column on the last page. |
| 562 |
% \begin{macrocode} |
| 563 |
\LoadClass[twocolumn]{article} |
| 564 |
\RequirePackage{flushend} |
| 565 |
% \end{macrocode} |
| 566 |
% |
| 567 |
% \begin{macro}{\IfPrepare} |
| 568 |
% \begin{macro}{\IfSubmit} |
| 569 |
% \begin{macro}{\IfAccept} |
| 570 |
% \begin{macro}{\IfPublish} |
| 571 |
% \begin{macro}{\IfIfPrint} |
| 572 |
% Define the conditional text macros. |
| 573 |
% \begin{macrocode} |
| 574 |
\newcommand{\IfPrepare}[2]{\if@AcmConfPrepare@#1\else#2\fi} |
| 575 |
\newcommand{\IfSubmit}[2]{\if@AcmConfSubmit@#1\else#2\fi} |
| 576 |
\newcommand{\IfAccept}[2]{\if@AcmConfAccept@#1\else#2\fi} |
| 577 |
\newcommand{\IfPublish}[2]{\if@AcmConfPublish@#1\else#2\fi} |
| 578 |
\newcommand{\IfPrint}[2]{\if@AcmConfPrint@#1\else#2\fi} |
| 579 |
% \end{macrocode} |
| 580 |
% \end{macro} |
| 581 |
% \end{macro} |
| 582 |
% \end{macro} |
| 583 |
% \end{macro} |
| 584 |
% \end{macro} |
| 585 |
% |
| 586 |
% \begin{macro}{\ConferenceName} |
| 587 |
% \begin{macro}{\TheConferenceName} |
| 588 |
% \begin{macro}{\ConferenceShortName} |
| 589 |
% \begin{macro}{\TheConferenceShortName} |
| 590 |
% \begin{macro}{\PublishedPageFrom} |
| 591 |
% \begin{macro}{\PublishedPageTo} |
| 592 |
% Define the macros to store the information about the paper. |
| 593 |
% \begin{macrocode} |
| 594 |
\def\@AcmConfConferenceName{} |
| 595 |
\def\@AcmConfConferenceShortName{} |
| 596 |
\def\@AcmConfPublishedPageFrom{} |
| 597 |
\def\@AcmConfPublishedPageTo{} |
| 598 |
\newcommand{\ConferenceName}[1]{ |
| 599 |
\def\@AcmConfConferenceName{#1} |
| 600 |
} |
| 601 |
\newcommand{\TheConferenceName}{% |
| 602 |
\@AcmConfConferenceName |
| 603 |
} |
| 604 |
\newcommand{\ConferenceShortName}[1]{ |
| 605 |
\def\@AcmConfConferenceShortName{#1} |
| 606 |
} |
| 607 |
\newcommand{\TheConferenceShortName}{ |
| 608 |
\@AcmConfConferenceShortName |
| 609 |
} |
| 610 |
\newcommand{\PublishedPageFrom}[1]{ |
| 611 |
\def\@AcmConfPublishedPageFrom{#1} |
| 612 |
} |
| 613 |
\newcommand{\PublishedPageTo}[1]{ |
| 614 |
\def\@AcmConfPublishedPageTo{#1} |
| 615 |
} |
| 616 |
% \end{macrocode} |
| 617 |
% \end{macro} |
| 618 |
% \end{macro} |
| 619 |
% \end{macro} |
| 620 |
% \end{macro} |
| 621 |
% \end{macro} |
| 622 |
% \end{macro} |
| 623 |
% |
| 624 |
% Define the default texts to be printed on top of the first page. |
| 625 |
% \begin{macrocode} |
| 626 |
\def\@AcmConfPrepareText{ |
| 627 |
Intended for submission to the \emph{\@AcmConfConferenceName} |
| 628 |
} |
| 629 |
\def\@AcmConfSubmitText{ |
| 630 |
Submitted to the \emph{\@AcmConfConferenceName} |
| 631 |
} |
| 632 |
\def\@AcmConfAcceptText{ |
| 633 |
Accepted for the \emph{\@AcmConfConferenceName} |
| 634 |
} |
| 635 |
\def\@AcmConfPrintText{ |
| 636 |
Published in the Proceedings of the \emph{\@AcmConfConferenceName}, |
| 637 |
pages \@AcmConfPublishedPageFrom--\@AcmConfPublishedPageTo |
| 638 |
} |
| 639 |
% \end{macrocode} |
| 640 |
% |
| 641 |
% There is no default text for the copyright. |
| 642 |
% \begin{macrocode} |
| 643 |
\def\@AcmConfCopyrightText{} |
| 644 |
% \end{macrocode} |
| 645 |
% |
| 646 |
% \begin{macro}{\PrepareText} |
| 647 |
% \begin{macro}{\SubmitText} |
| 648 |
% \begin{macro}{\AcceptText} |
| 649 |
% \begin{macro}{\PrintText} |
| 650 |
% \begin{macro}{\CopyrightText} |
| 651 |
% The user may redefine these defaults by using: |
| 652 |
% \begin{macrocode} |
| 653 |
\newcommand{\PrepareText}[1]{\def\@AcmConfPrepareText{#1}} |
| 654 |
\newcommand{\SubmitText}[1]{\def\@AcmConfSubmitText{#1}} |
| 655 |
\newcommand{\AcceptText}[1]{\def\@AcmConfAcceptText{#1}} |
| 656 |
\newcommand{\PrintText}[1]{\def\@AcmConfPrintText{#1}} |
| 657 |
\newcommand{\CopyrightText}[1]{\def\@AcmConfCopyrightText{#1}} |
| 658 |
% \end{macrocode} |
| 659 |
% \end{macro} |
| 660 |
% \end{macro} |
| 661 |
% \end{macro} |
| 662 |
% \end{macro} |
| 663 |
% \end{macro} |
| 664 |
% |
| 665 |
% \begin{macro}{\@AcmConfCopyrightSpace} |
| 666 |
% The copyright text will be printed below the first column on first page. |
| 667 |
% If the copyright should not be printed, the space must be allocated too, |
| 668 |
% but should be empty. The text is placed into a new defined float. |
| 669 |
% \begin{macrocode} |
| 670 |
\newcommand{\AcmConfBox}[1]{% |
| 671 |
\if@AcmConfBox@ |
| 672 |
\framebox[\columnwidth]{#1} |
| 673 |
\else |
| 674 |
\parbox{\columnwidth}{#1} |
| 675 |
\fi |
| 676 |
} |
| 677 |
\newcommand{\@AcmConfCopyrightSpace}{ |
| 678 |
\def\ftype@AcmConfCopyrightBox{8} |
| 679 |
\@float{AcmConfCopyrightBox}[b] |
| 680 |
\AcmConfBox{ |
| 681 |
\parbox[t][1.5in][t]{\columnwidth}{% |
| 682 |
\IfPrepare{\ifx\@AcmConfCopyrightText\empty |
| 683 |
\copyright-Notice |
| 684 |
\else |
| 685 |
\@AcmConfCopyrightText |
| 686 |
\fi}{} |
| 687 |
\IfSubmit{\ifx\@AcmConfCopyrightText\empty |
| 688 |
\copyright-Notice |
| 689 |
\else |
| 690 |
\@AcmConfCopyrightText |
| 691 |
\fi}{} |
| 692 |
\IfAccept{\@AcmConfCopyrightText}{} |
| 693 |
\IfPublish{\@AcmConfCopyrightText}{} |
| 694 |
\IfPrint{\@AcmConfCopyrightText}{} |
| 695 |
} |
| 696 |
} |
| 697 |
\end@float |
| 698 |
} |
| 699 |
% \end{macrocode} |
| 700 |
% \end{macro} |
| 701 |
% |
| 702 |
% \begin{macro}{\date} |
| 703 |
% \begin{macro}{\@AcmConfDate} |
| 704 |
% \begin{macro}{\@AcmConfDateCmd} |
| 705 |
% Since we want to print the date given by the user in the foot line of a |
| 706 |
% submitted paper, we have to store the argument from the '\date' command given |
| 707 |
% by the user. Therefore we redefine '\date'. The redefinition stores the |
| 708 |
% argument as a side effect, and calls the original '\date'. If the user does |
| 709 |
% not call '\date', we use '\today'. The date is stored in '\@AcmConfDate'. |
| 710 |
% \begin{macrocode} |
| 711 |
\def\@AcmConfDate{\today} |
| 712 |
\let\@AcmConfDateCmd\date |
| 713 |
\renewcommand{\date}[1]{ |
| 714 |
\@AcmConfDateCmd{#1} |
| 715 |
\def\@AcmConfDate{#1} |
| 716 |
} |
| 717 |
% \end{macrocode} |
| 718 |
% \end{macro} |
| 719 |
% \end{macro} |
| 720 |
% \end{macro} |
| 721 |
% |
| 722 |
% \begin{macro}{\@AcmConfFirstAuthor} |
| 723 |
% Store the first author given with '\Author'. |
| 724 |
% \begin{macrocode} |
| 725 |
\def\@AcmConfFirstAuthor{} |
| 726 |
% \end{macrocode} |
| 727 |
% \end{macro} |
| 728 |
% |
| 729 |
% \begin{macro}{\maketitle} |
| 730 |
% \begin{macro}{\@AcmConfMaketitle} |
| 731 |
% '\maketitle' is redefined, so that additionally the copyright text (contained |
| 732 |
% in the '\@AcmConfCopyrightSpace' float box) is printed below the first |
| 733 |
% column, as well as the ``status''-text above the title. |
| 734 |
% '\@AcmConfMaketitle' stores the original '\maketitle'. |
| 735 |
% \begin{macrocode} |
| 736 |
\let\@AcmConfMaketitle\maketitle |
| 737 |
\renewcommand{\maketitle}{ |
| 738 |
\@AcmConfMaketitle |
| 739 |
\@AcmConfCopyrightSpace |
| 740 |
} |
| 741 |
% \end{macrocode} |
| 742 |
% \end{macro} |
| 743 |
% \end{macro} |
| 744 |
% |
| 745 |
% \begin{macro}{\@maketitle} |
| 746 |
% Definition of the specific layout of ACM\'{}s conference title. The |
| 747 |
% \meta{PrepareText}, \meta{SubmitText}, or \meta{PrintText} is printed |
| 748 |
% over the title, if required. '\@maketitle' is called by '\maketitle' (via our |
| 749 |
% '\@AcmConfMaketitle'), as defined in article. |
| 750 |
% \begin{macrocode} |
| 751 |
\renewcommand{\@maketitle}{ |
| 752 |
% \end{macrocode} |
| 753 |
% |
| 754 |
% \begin{macro}{\Author} |
| 755 |
% Define font etc.\ how the author, etc.\ should be printed. |
| 756 |
% Store the first author for later usage. |
| 757 |
% \begin{macrocode} |
| 758 |
\newcommand{\Author}[1]{% |
| 759 |
\LARGE\sffamily ##1% |
| 760 |
\ifx\@AcmConfFirstAuthor\empty |
| 761 |
\gdef\@AcmConfFirstAuthor{##1} |
| 762 |
\fi |
| 763 |
} |
| 764 |
% \end{macrocode} |
| 765 |
% \end{macro} |
| 766 |
% |
| 767 |
% \begin{macro}{\Address} |
| 768 |
% \begin{macro}{\Phone} |
| 769 |
% \begin{macro}{\Email} |
| 770 |
% \begin{macrocode} |
| 771 |
\newcommand{\Address}[1]{\large\sffamily ##1} |
| 772 |
\newcommand{\Phone}[1]{\large\sffamily ##1} |
| 773 |
\newcommand{\Email}[1]{\LARGE\sffamily ##1} |
| 774 |
% \end{macrocode} |
| 775 |
% \end{macro} |
| 776 |
% \end{macro} |
| 777 |
% \end{macro} |
| 778 |
% |
| 779 |
% \begin{macro}{\and} |
| 780 |
% Add '@{}' in the tabular column definition, so that no space is around |
| 781 |
% the columns in the table used to typeset the author. |
| 782 |
% \begin{macrocode} |
| 783 |
\def\and{ |
| 784 |
\end{tabular} |
| 785 |
\hskip 1em \@plus.17fil |
| 786 |
\begin{tabular}[t]{@{}c@{}} |
| 787 |
} |
| 788 |
% \end{macrocode} |
| 789 |
% \end{macro} |
| 790 |
% |
| 791 |
% The following is stolen form 'article.cls': |
| 792 |
% \begin{macrocode} |
| 793 |
\newpage |
| 794 |
\null |
| 795 |
% \end{macrocode} |
| 796 |
% Show the various texts above the title. |
| 797 |
% \begin{macrocode} |
| 798 |
\IfPublish{}{ |
| 799 |
\hfill |
| 800 |
\parbox[t][0mm][t]{0.9\textwidth}{ |
| 801 |
\vspace*{-10mm} |
| 802 |
\IfPrepare{\@AcmConfPrepareText}{} |
| 803 |
\IfSubmit{\@AcmConfSubmitText}{} |
| 804 |
\IfAccept{\@AcmConfAcceptText}{} |
| 805 |
\IfPrint{\@AcmConfPrintText}{} |
| 806 |
\vspace{1mm}\hrule |
| 807 |
} |
| 808 |
\hfill |
| 809 |
\vspace*{-5mm} |
| 810 |
} |
| 811 |
% \end{macrocode} |
| 812 |
% Create the title. |
| 813 |
% \begin{macrocode} |
| 814 |
\parbox[t][14pc][t]{\textwidth}{ |
| 815 |
\vskip 2em % Vertical space above title. |
| 816 |
\begin{center} |
| 817 |
{\sffamily\bfseries\Huge \@title \par} |
| 818 |
\vskip 1.5em % Vertical space after title. |
| 819 |
{\lineskip .5em % tabular environment |
| 820 |
\noindent |
| 821 |
\begin{tabular}[t]{@{}c@{}}\@author |
| 822 |
\end{tabular}\par |
| 823 |
} |
| 824 |
\vskip 1.5em % Vertical space after author. |
| 825 |
\end{center} |
| 826 |
\vfill |
| 827 |
} |
| 828 |
} |
| 829 |
% \end{macrocode} |
| 830 |
% \end{macro} |
| 831 |
% |
| 832 |
% \begin{macro}{\tableofcontents} |
| 833 |
% \begin{macro}{\listoffigures} |
| 834 |
% \begin{macro}{\listoftables} |
| 835 |
% \begin{macro}{\pagestyle} |
| 836 |
% These command are allowed in acmconf only for prepared papers. |
| 837 |
% \begin{macrocode} |
| 838 |
\IfPrepare{}{ |
| 839 |
\renewcommand{\tableofcontents}{ |
| 840 |
\ClassError{acmconf}{% |
| 841 |
\protect\tableofcontents\space is not |
| 842 |
allowed in the `acmconf' class except with option `prepare'}{} |
| 843 |
} |
| 844 |
\renewcommand{\listoffigures}{ |
| 845 |
\ClassError{acmconf}{% |
| 846 |
\protect\listoffigures\space is not |
| 847 |
allowed in the `acmconf' class except with option `prepare'}{} |
| 848 |
} |
| 849 |
\renewcommand{\listoftables}{ |
| 850 |
\ClassError{acmconf}{% |
| 851 |
\protect\listoftables\space is not |
| 852 |
allowed in the `acmconf' class except with option `prepare'}{} |
| 853 |
} |
| 854 |
\renewcommand{\pagestyle}[1]{ |
| 855 |
\ClassError{acmconf}{% |
| 856 |
\protect\pagestyle\space is not |
| 857 |
allowed in the `acmconf' class except with option `prepare'}{} |
| 858 |
} |
| 859 |
} |
| 860 |
% \end{macrocode} |
| 861 |
% \end{macro} |
| 862 |
% \end{macro} |
| 863 |
% \end{macro} |
| 864 |
% \end{macro} |
| 865 |
% |
| 866 |
% Set some sizes and length. |
| 867 |
% 'classes.dtx' states: ``All margin dimensions are measured from a point one |
| 868 |
% inch from the top and lefthand side of the page.''. Hence we define: |
| 869 |
% \begin{macrocode} |
| 870 |
\setlength{\voffset}{-1in} |
| 871 |
\setlength{\hoffset}{-1in} |
| 872 |
% \end{macrocode} |
| 873 |
% |
| 874 |
% \begin{macrocode} |
| 875 |
\setlength{\textwidth}{7in} |
| 876 |
\setlength{\textheight}{9.25in} |
| 877 |
\setlength{\topmargin}{1in} |
| 878 |
\setlength{\topskip}{9pt} |
| 879 |
\setlength{\oddsidemargin}{0.75in} |
| 880 |
\setlength{\evensidemargin}{0.75in} |
| 881 |
\setlength{\footskip}{.35in} |
| 882 |
\setlength{\columnsep}{.83cm} |
| 883 |
\setlength{\columnseprule}{0pt} |
| 884 |
% \end{macrocode} |
| 885 |
% |
| 886 |
% \begin{macrocode} |
| 887 |
\setlength{\headheight}{9pt} |
| 888 |
\setlength{\headsep}{20pt} |
| 889 |
% \end{macrocode} |
| 890 |
% |
| 891 |
% No margins. |
| 892 |
% \begin{macrocode} |
| 893 |
\setlength{\marginparwidth}{0in} |
| 894 |
\setlength{\marginparsep}{0in} |
| 895 |
% \end{macrocode} |
| 896 |
|
| 897 |
% Font sizes, based on: '9pt.sty' 17-Apr-90 Patrick van der Smagt.\\ |
| 898 |
% We use as baseline skip the font size multipiled with 1.2. |
| 899 |
% \begin{macrocode} |
| 900 |
\def\normalsize{% |
| 901 |
\@setfontsize\normalsize{9}{10.8}% |
| 902 |
\abovedisplayskip 8pt plus2pt minus4pt% |
| 903 |
\belowdisplayskip\abovedisplayskip% |
| 904 |
\abovedisplayshortskip \z@ plus3pt% |
| 905 |
\belowdisplayshortskip 5pt plus3pt minus3pt% |
| 906 |
\let\@listi\@listI% |
| 907 |
} |
| 908 |
\def\small{% |
| 909 |
\@setfontsize\small{8}{9.6}% |
| 910 |
\abovedisplayskip 7.5pt plus 3pt minus 4pt% |
| 911 |
\belowdisplayskip\abovedisplayskip% |
| 912 |
\abovedisplayshortskip \z@ plus2pt% |
| 913 |
\belowdisplayshortskip 4pt plus2pt minus 2pt% |
| 914 |
\def\@listi{% |
| 915 |
\leftmargin\leftmargini% |
| 916 |
\topsep 3pt plus 2pt minus 2pt% |
| 917 |
\parsep 2pt plus 1pt minus 1pt% |
| 918 |
\itemsep \parsep% |
| 919 |
}% |
| 920 |
} |
| 921 |
\def\footnotesize{\@setfontsize\normalsize{9}{10.8}} % \normalsize |
| 922 |
\def\scriptsize{\@setfontsize\scriptsize{6}{7.2}} |
| 923 |
\def\tiny{\@setfontsize\tiny{5}{6}} |
| 924 |
\def\large{\@setfontsize\large{10}{12}} |
| 925 |
\def\Large{\@setfontsize\Large{11}{13.2}} |
| 926 |
\def\LARGE{\@setfontsize\LARGE{12}{14.4}} |
| 927 |
\def\huge{\@setfontsize\huge{14}{16.8}} |
| 928 |
\def\Huge{\@setfontsize\Huge{20.4}{24.48}} |
| 929 |
% \end{macrocode} |
| 930 |
|
| 931 |
% \begin{macro}{keywords} |
| 932 |
% The 'keywords' environment ist just another 'section*' |
| 933 |
% \begin{macrocode} |
| 934 |
\newenvironment{keywords}{\section*{KEYWORDS}}{} |
| 935 |
% \end{macrocode} |
| 936 |
% \end{macro} |
| 937 |
|
| 938 |
% \begin{macro}{secnumdepth} |
| 939 |
% (Re)define the layout of the sectioning commands. We want numbering for |
| 940 |
% all '\section' copmmands, i.e.\ up to level 5. |
| 941 |
% \begin{macrocode} |
| 942 |
\setcounter{secnumdepth}{5} |
| 943 |
\setcounter{tocdepth}{5} |
| 944 |
% \end{macrocode} |
| 945 |
% \end{macro} |
| 946 |
% |
| 947 |
% \begin{macro}{\abstractname} |
| 948 |
% \begin{macro}{\refname} |
| 949 |
% The section title should be in upper case. Using '\MakeUppercase' |
| 950 |
% results in some error, when a '\pagesyle{headings}' is given. |
| 951 |
% It seems that '\MakeUppercase' can not be used twice. Hence we use |
| 952 |
% '\uppercase'. Due to this we have to define the '\abstractname' and the |
| 953 |
% '\refmane' in uppercase explicitly. |
| 954 |
% \begin{macrocode} |
| 955 |
\renewcommand{\abstractname}{ABSTRACT} |
| 956 |
\renewcommand{\refname}{REFERENCES} |
| 957 |
% \end{macrocode} |
| 958 |
% \end{macro} |
| 959 |
% \end{macro} |
| 960 |
|
| 961 |
% \begin{macro}{\section} |
| 962 |
% \begin{macro}{\subsection} |
| 963 |
% \begin{macro}{\subsubsection} |
| 964 |
% \begin{macro}{\subsubsubsection} |
| 965 |
% \begin{macro}{\subsubsubsubsection} |
| 966 |
% \begin{macro}{\paragraph} |
| 967 |
% \begin{macro}{\subparagraph} |
| 968 |
% Define the layout of the section headers, and define two more sectioning |
| 969 |
% commands. |
| 970 |
% \begin{macrocode} |
| 971 |
\renewcommand{\section}{ |
| 972 |
\@startsection{section}{1}{\z@}% |
| 973 |
{-3.5ex \@plus -1ex \@minus -.2ex}% |
| 974 |
{2.3ex \@plus.2ex}% |
| 975 |
{\normalfont\LARGE\bfseries\uppercase}% |
| 976 |
} |
| 977 |
\renewcommand{\subsection}{ |
| 978 |
\@startsection{subsection}{2}{\z@}% |
| 979 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 980 |
{1.5ex \@plus .2ex}% |
| 981 |
{\normalfont\LARGE\bfseries}% |
| 982 |
} |
| 983 |
\renewcommand{\subsubsection}{ |
| 984 |
\@startsection{subsubsection}{3}{\z@}% |
| 985 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 986 |
{1.5ex \@plus .2ex}% |
| 987 |
{\normalfont\Large\itshape}% |
| 988 |
} |
| 989 |
\newcommand{\subsubsubsection}{ |
| 990 |
\@startsection{subsubsubsection}{4}{\z@}% |
| 991 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 992 |
{1.5ex \@plus .2ex}% |
| 993 |
{\normalfont\Large\itshape}% |
| 994 |
} |
| 995 |
\newcommand{\subsubsubsubsection}{ |
| 996 |
\@startsection{subsubsubsubsection}{5}{\z@}% |
| 997 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 998 |
{1.5ex \@plus .2ex}% |
| 999 |
{\normalfont\Large\itshape}% |
| 1000 |
} |
| 1001 |
\renewcommand{\paragraph}{ |
| 1002 |
\@startsection{paragraph}{6}{\z@}% |
| 1003 |
{3.25ex \@plus1ex \@minus.2ex}% |
| 1004 |
{-1em}% |
| 1005 |
{\normalfont\normalsize\bfseries}% |
| 1006 |
} |
| 1007 |
\renewcommand{\subparagraph}{ |
| 1008 |
\@startsection{subparagraph}{7}{% |
| 1009 |
\parindent}% |
| 1010 |
{3.25ex \@plus1ex \@minus .2ex}% |
| 1011 |
{-1em}% |
| 1012 |
{\normalfont\normalsize\sffamily\bfseries}% |
| 1013 |
} |
| 1014 |
% \end{macrocode} |
| 1015 |
% \end{macro} |
| 1016 |
% \end{macro} |
| 1017 |
% \end{macro} |
| 1018 |
% \end{macro} |
| 1019 |
% \end{macro} |
| 1020 |
% \end{macro} |
| 1021 |
% \end{macro} |
| 1022 |
% |
| 1023 |
% Things needed for page headings: |
| 1024 |
% \begin{macrocode} |
| 1025 |
\newcommand{\subsubsubsectionmark}[1]{} |
| 1026 |
\newcommand{\subsubsubsubsectionmark}[1]{} |
| 1027 |
% \end{macrocode} |
| 1028 |
% |
| 1029 |
% The required counters: |
| 1030 |
% \begin{macrocode} |
| 1031 |
\newcounter{subsubsubsection}[subsubsection] |
| 1032 |
\newcounter{subsubsubsubsection}[subsubsubsection] |
| 1033 |
\renewcommand{\thesubsubsubsection}{% |
| 1034 |
\thesubsubsection .\@arabic\c@subsubsubsection% |
| 1035 |
} |
| 1036 |
\renewcommand{\thesubsubsubsubsection}{% |
| 1037 |
\thesubsubsubsection .\@arabic\c@subsubsubsubsection% |
| 1038 |
} |
| 1039 |
% \end{macrocode} |
| 1040 |
% |
| 1041 |
% Stuff needed by the table of contents, c.f.\ 'classes.dtx'. |
| 1042 |
% \begin{macrocode} |
| 1043 |
\newcommand{\l@subsubsubsection}{\@dottedtocline{4}{3.8em}{3.8em}} |
| 1044 |
\newcommand{\l@subsubsubsubsection}{\@dottedtocline{5}{3.8em}{4.2em}} |
| 1045 |
\renewcommand{\l@paragraph}{\@dottedtocline{6}{7.0em}{4.1em}} |
| 1046 |
\renewcommand{\l@subparagraph}{\@dottedtocline{7}{10em}{5em}} |
| 1047 |
% \end{macrocode} |
| 1048 |
% |
| 1049 |
% Give the user a hint, in which state he is typesetting his text. |
| 1050 |
% \begin{macrocode} |
| 1051 |
\IfPrepare{\typeout{**** Paper in preparation ****}}{} |
| 1052 |
\IfSubmit{\typeout{**** Sumbitted paper ****}}{} |
| 1053 |
\IfAccept{\typeout{**** Accepted paper ****}}{} |
| 1054 |
\IfPublish{\typeout{**** Published in proceedings ****}}{} |
| 1055 |
\IfPrint{\typeout{**** Published paper printed outside |
| 1056 |
proceedings ****}}{} |
| 1057 |
% \end{macrocode} |
| 1058 |
% |
| 1059 |
% Check that the user has given all required information, depending on the |
| 1060 |
% options he gave. |
| 1061 |
% \begin{macrocode} |
| 1062 |
\AtBeginDocument{ |
| 1063 |
\normalsize |
| 1064 |
\ifx\@AcmConfConferenceShortName\empty |
| 1065 |
\ClassError{acmconf}{% |
| 1066 |
You have not specified a conference short name. |
| 1067 |
\MessageBreak |
| 1068 |
Use \protect\ConferenceShortName\space in the preamble}{} |
| 1069 |
\fi |
| 1070 |
\ifx\@AcmConfConferenceName\empty |
| 1071 |
\ClassError{acmconf}{% |
| 1072 |
You have not specified a conference name. |
| 1073 |
\MessageBreak |
| 1074 |
Use \protect\ConferenceName\space in the preamble}{} |
| 1075 |
\fi |
| 1076 |
\IfSubmit{ |
| 1077 |
\def\@oddfoot{\parbox{0.3\textwidth}{\@AcmConfFirstAuthor, |
| 1078 |
\@AcmConfDate} |
| 1079 |
\hfill |
| 1080 |
\thepage |
| 1081 |
\hfill |
| 1082 |
\parbox{0.3\textwidth}{\hfill |
| 1083 |
\@AcmConfConferenceShortName} |
| 1084 |
} |
| 1085 |
}{} |
| 1086 |
\IfAccept{ |
| 1087 |
\def\@oddfoot{\hfill\thepage\hfill} |
| 1088 |
\ifx\@AcmConfCopyrightText\empty |
| 1089 |
\ClassError{acmconf}{% |
| 1090 |
You have not specified the copyright notice |
| 1091 |
\MessageBreak |
| 1092 |
Use \protect\CopyrightText\space in the preamble}{} |
| 1093 |
\fi |
| 1094 |
}{} |
| 1095 |
\IfPublish{ |
| 1096 |
\let\ps@plain\ps@empty |
| 1097 |
\let\ps@headings\ps@empty |
| 1098 |
\let\ps@myheadings\ps@empty |
| 1099 |
\def\@oddfoot{} |
| 1100 |
\ifx\@AcmConfCopyrightText\empty |
| 1101 |
\ClassError{acmconf}{% |
| 1102 |
You have not specified the copyright notice |
| 1103 |
\MessageBreak |
| 1104 |
Use \protect\CopyrightText\space in the preamble}{} |
| 1105 |
\fi |
| 1106 |
}{} |
| 1107 |
\IfPrint{ |
| 1108 |
\def\@oddfoot{\hfill\thepage\hfill} |
| 1109 |
\ifx\@AcmConfCopyrightText\empty |
| 1110 |
\ClassError{acmconf}{% |
| 1111 |
You have not specified the copyright notice |
| 1112 |
\MessageBreak |
| 1113 |
Use \protect\CopyrightText\space in the preamble}{} |
| 1114 |
\fi |
| 1115 |
\ifx\@AcmConfPublishedPageFrom\empty |
| 1116 |
\ClassError{acmconf}{% |
| 1117 |
You have not specified the start page of the publication |
| 1118 |
\MessageBreak |
| 1119 |
Use \protect\PublishedPageFrom\space in the preamble}{} |
| 1120 |
\fi |
| 1121 |
\ifx\@AcmConfPublishedPageTo\empty |
| 1122 |
\ClassError{acmconf}{% |
| 1123 |
You have not specified the end page of the publication |
| 1124 |
\MessageBreak |
| 1125 |
Use \protect\PublishedPageTo\space in the preamble}{} |
| 1126 |
\fi |
| 1127 |
}{} |
| 1128 |
} |
| 1129 |
% \end{macrocode} |
| 1130 |
% |
| 1131 |
% Check that the '\Author' command has been used. Done by testing |
| 1132 |
% '\@AcmConfFirstAuthor'. |
| 1133 |
% \begin{macrocode} |
| 1134 |
\AtEndDocument{ |
| 1135 |
\IfSubmit{ |
| 1136 |
\ifx\@AcmConfFirstAuthor\empty |
| 1137 |
\ClassError{acmconf}{% |
| 1138 |
You have not specified the name of the (first) author. |
| 1139 |
\MessageBreak |
| 1140 |
Use \protect\Author to typeset the author(s) of the paper. |
| 1141 |
}{} |
| 1142 |
\fi |
| 1143 |
}{} |
| 1144 |
} |
| 1145 |
%</class> |
| 1146 |
% \end{macrocode} |
| 1147 |
% |
| 1148 |
% \section{Test files} |
| 1149 |
% %%%%%%%%%%%%%%%%%%%% |
| 1150 |
% \begin{macrocode} |
| 1151 |
%<*prepare> |
| 1152 |
|
| 1153 |
\documentclass[prepare]{acmconf} |
| 1154 |
\pagestyle{headings} |
| 1155 |
%</prepare> |
| 1156 |
% \end{macrocode} |
| 1157 |
% |
| 1158 |
% \begin{macrocode} |
| 1159 |
%<*submit> |
| 1160 |
|
| 1161 |
\documentclass[nobox,submit]{acmconf} |
| 1162 |
\CopyrightText{\copyright 1999, J\"urgen Vollmer, et.al., |
| 1163 |
used with the \texttt{nobox} option. |
| 1164 |
} |
| 1165 |
%</submit> |
| 1166 |
% \end{macrocode} |
| 1167 |
% |
| 1168 |
% \begin{macrocode} |
| 1169 |
%<*accept> |
| 1170 |
|
| 1171 |
\documentclass[box,accept]{acmconf} |
| 1172 |
\CopyrightText{\copyright ACM 2000, ....., used with the \texttt{box} option.} |
| 1173 |
%</accept> |
| 1174 |
% \end{macrocode} |
| 1175 |
% |
| 1176 |
% \begin{macrocode} |
| 1177 |
%<*publish> |
| 1178 |
|
| 1179 |
\documentclass[publish]{acmconf} |
| 1180 |
\CopyrightText{\copyright ACM 2000, ....., default: with box} |
| 1181 |
%</publish> |
| 1182 |
% \end{macrocode} |
| 1183 |
% |
| 1184 |
% \begin{macrocode} |
| 1185 |
%<*print> |
| 1186 |
|
| 1187 |
\documentclass[print]{acmconf} |
| 1188 |
\CopyrightText{\copyright ACM 2000, .....} |
| 1189 |
\PublishedPageFrom{123} |
| 1190 |
\PublishedPageTo{456} |
| 1191 |
%</print> |
| 1192 |
% \end{macrocode} |
| 1193 |
% |
| 1194 |
% \begin{macrocode} |
| 1195 |
%<*error> |
| 1196 |
|
| 1197 |
\documentclass[print]{acmconf} |
| 1198 |
|
| 1199 |
%% LaTeXing this file should produce some errors. |
| 1200 |
|
| 1201 |
\pagestyle{headings} |
| 1202 |
|
| 1203 |
%</error> |
| 1204 |
% \end{macrocode} |
| 1205 |
% |
| 1206 |
% \begin{macrocode} |
| 1207 |
%<*body> |
| 1208 |
\IfFileExists{graphicx.sty}{\usepackage{graphicx}}{} |
| 1209 |
%</body> |
| 1210 |
% \end{macrocode} |
| 1211 |
% |
| 1212 |
% \begin{macrocode} |
| 1213 |
%<*head> |
| 1214 |
\ConferenceName{1. Conference on Designing a \LaTeX2e Class for |
| 1215 |
Typesetting ACM Papers, Hawaii 2000} |
| 1216 |
\ConferenceShortName{CONF-2000} |
| 1217 |
%</head> |
| 1218 |
% \end{macrocode} |
| 1219 |
% |
| 1220 |
% \begin{macrocode} |
| 1221 |
%<*body> |
| 1222 |
|
| 1223 |
\def\XX{More text should follow, but keep in mind that a limit of 6 |
| 1224 |
pages has been set, including figures and references. More text |
| 1225 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1226 |
set, including figures and references. More text should follow, but |
| 1227 |
keep in mind that a limit of 6 pages has been set, including figures |
| 1228 |
and references. More text should follow, but keep in mind that a |
| 1229 |
limit of 6 pages has been set, including figures and references. |
| 1230 |
\par |
| 1231 |
} |
| 1232 |
|
| 1233 |
\begin{document} |
| 1234 |
\date{31. December 1999} |
| 1235 |
\title{A New Intuitionistic Proof of Usability\\ |
| 1236 |
of the Recommended Style File for the ACM Conference Papers} |
| 1237 |
\author{\Author{J\"urgen Vollmer\thanks{Happy \LaTeX{}ing}}\\ |
| 1238 |
\Address{Karlsruhe}\\ |
| 1239 |
\Email{[email protected]}\\ |
| 1240 |
\and |
| 1241 |
\Author{Mickey Mouse}\\ |
| 1242 |
\Address{Enthausen University}\\ |
| 1243 |
\Email{[email protected]} |
| 1244 |
} |
| 1245 |
\maketitle |
| 1246 |
|
| 1247 |
\begin{abstract} |
| 1248 |
This document demonstrates how to use the \LaTeX2e \verb|acmconf| |
| 1249 |
class by exhibiting itself as an example. You are expected to be |
| 1250 |
familiar with~\cite{Lam94}. The best way to use this file is to use |
| 1251 |
it as a template, i.e., replace the prose in it by your |
| 1252 |
own\footnote{And may use footnotes.}. |
| 1253 |
\end{abstract} |
| 1254 |
|
| 1255 |
\begin{keywords} |
| 1256 |
\LaTeX2e-class, ACM proceedings |
| 1257 |
\end{keywords} |
| 1258 |
|
| 1259 |
\section{Introduction} |
| 1260 |
To understand this file read the \emph{source} and not the typeset |
| 1261 |
version. If you are reading this in the typeset version you might as |
| 1262 |
well stop --- it is not supposed to make sense. |
| 1263 |
|
| 1264 |
\section{The Story Begins\ldots} |
| 1265 |
A real article is supposed to have some deep results and good |
| 1266 |
explanations. That, however, is your job and not mine so you should |
| 1267 |
replace this text with something more appropriate\footnote{Another a |
| 1268 |
footnote}.. |
| 1269 |
|
| 1270 |
\section{Some often used \LaTeX\ commands} |
| 1271 |
|
| 1272 |
\subsection{\texttt{emph}, etc.} |
| 1273 |
Text may be set as \emph{emph}.\\ |
| 1274 |
Text may be set as \texttt{texttt}.\\ |
| 1275 |
Text may be set as \underline{unterline}.\\ |
| 1276 |
Text may be set as \textbf{textbf}.\\ |
| 1277 |
Text may be set as \textrm{textrm}.\\ |
| 1278 |
Text may be set as {\tiny tiny}.\\ |
| 1279 |
Text may be set as {\scriptsize scriptsize}.\\ |
| 1280 |
Text may be set as {\footnotesize footnotesize}.\\ |
| 1281 |
Text may be set as {\normalfont normalsize}.\\ |
| 1282 |
Text may be set as {\large large}.\\ |
| 1283 |
Text may be set as {\Large Large}.\\ |
| 1284 |
Text may be set as {\LARGE LARGE}.\\ |
| 1285 |
Text may be set as {\huge huge}.\\ |
| 1286 |
Text may be set as {\Huge Huge}.\\ |
| 1287 |
Text may have$^{\textrm{super}}$ and$_{\textrm{sub}}$scripts. |
| 1288 |
|
| 1289 |
\subsection{\texttt{itemize}} |
| 1290 |
\begin{itemize} |
| 1291 |
\item More text should follow, but keep in mind that a limit of 6 |
| 1292 |
pages has been set, including figures and references. More text |
| 1293 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1294 |
set, including figures and references. |
| 1295 |
\item More text should follow, but keep in mind that a limit of 6 |
| 1296 |
pages has been set, including figures and references. More text |
| 1297 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1298 |
set, including figures and references. |
| 1299 |
\end{itemize} |
| 1300 |
|
| 1301 |
\subsection{\texttt{enumerate}} |
| 1302 |
\begin{enumerate} |
| 1303 |
\item More text should follow, but keep in mind that a limit of 6 |
| 1304 |
pages has been set, including figures and references. More text |
| 1305 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1306 |
set, including figures and references. |
| 1307 |
\item More text should follow, but keep in mind that a limit of 6 |
| 1308 |
pages has been set, including figures and references. More text |
| 1309 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1310 |
set, including figures and references. |
| 1311 |
\end{enumerate} |
| 1312 |
|
| 1313 |
\subsection{\texttt{description}} |
| 1314 |
\begin{description} |
| 1315 |
\item[Foo] More text should follow, but keep in mind that a limit of 6 |
| 1316 |
pages has been set, including figures and references. More text |
| 1317 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1318 |
set, including figures and references. |
| 1319 |
\item[Bar] More text should follow, but keep in mind that a limit of 6 |
| 1320 |
pages has been set, including figures and references. More text |
| 1321 |
should follow, but keep in mind that a limit of 6 pages has been |
| 1322 |
set, including figures and references. |
| 1323 |
\end{description} |
| 1324 |
|
| 1325 |
\subsection{\texttt{center} and \texttt{tabular}} |
| 1326 |
\begin{center} |
| 1327 |
\begin{tabular}{|l|c|r|}\hline |
| 1328 |
left & center & right \\\hline\hline |
| 1329 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\ |
| 1330 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{3-3} |
| 1331 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{2-2} |
| 1332 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\\cline{1-2} |
| 1333 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\\hline |
| 1334 |
AAAAAAAA & BBBBBBBB & CCCCCCCC \\\hline |
| 1335 |
1 & \multicolumn{2}{|c|}{2} \\\hline |
| 1336 |
\end{tabular} |
| 1337 |
\end{center} |
| 1338 |
|
| 1339 |
\subsection{\texttt{figure} and Postscript pictures} |
| 1340 |
Have a look to to figure~\ref{fig-1} and~\ref{fig-2}. |
| 1341 |
|
| 1342 |
\begin{figure} |
| 1343 |
\hrule |
| 1344 |
Nice Postscript, isn't it? |
| 1345 |
\begin{center} |
| 1346 |
\IfFileExists{graphicx.sty}{ |
| 1347 |
\includegraphics{body.eps} |
| 1348 |
}{ |
| 1349 |
Sorry, package \texttt{graphicx} not present. |
| 1350 |
} |
| 1351 |
\end{center} |
| 1352 |
|
| 1353 |
Same, a little bit smaller: |
| 1354 |
\begin{center} |
| 1355 |
\IfFileExists{graphicx.sty}{ |
| 1356 |
\includegraphics[scale=.5]{body.eps} |
| 1357 |
}{ |
| 1358 |
Sorry, package \texttt{graphicx} not present. |
| 1359 |
} |
| 1360 |
\end{center} |
| 1361 |
\caption{\label{fig-1}This is a nice floating figure} |
| 1362 |
\hrule |
| 1363 |
\end{figure} |
| 1364 |
|
| 1365 |
\begin{figure*} |
| 1366 |
\hrule |
| 1367 |
This figure uses both columns, using \texttt{figure*} |
| 1368 |
\begin{center} |
| 1369 |
\IfFileExists{graphicx.sty}{ |
| 1370 |
\includegraphics[scale=.5]{body.eps} |
| 1371 |
\hspace{1cm} |
| 1372 |
\includegraphics[scale=.5]{body.eps} |
| 1373 |
}{ |
| 1374 |
Sorry, package \texttt{graphicx} not present. |
| 1375 |
} |
| 1376 |
\end{center} |
| 1377 |
\caption{\label{fig-2}This is a nice floating figure} |
| 1378 |
\hrule |
| 1379 |
\end{figure*} |
| 1380 |
|
| 1381 |
\section{The Story Continues 1} |
| 1382 |
|
| 1383 |
This is a \verb+\section+. |
| 1384 |
|
| 1385 |
\XX\XX |
| 1386 |
|
| 1387 |
\subsection{The Story Continues 2} |
| 1388 |
|
| 1389 |
This is a \verb+\subsection+. |
| 1390 |
|
| 1391 |
\XX\XX |
| 1392 |
|
| 1393 |
\subsubsection{The Story Continues 3} |
| 1394 |
|
| 1395 |
This is a \verb+\subsubsection+. |
| 1396 |
|
| 1397 |
\XX\XX |
| 1398 |
|
| 1399 |
\subsubsubsection{The Story Continues 4} |
| 1400 |
|
| 1401 |
This is a \verb+\subsubsubsection+. |
| 1402 |
|
| 1403 |
\XX\XX |
| 1404 |
|
| 1405 |
\subsubsubsubsection{The Story Continues 5} |
| 1406 |
|
| 1407 |
This is a \verb+\subsubsubsubsection+. |
| 1408 |
|
| 1409 |
\XX\XX |
| 1410 |
|
| 1411 |
\paragraph{The Story Continues 6} |
| 1412 |
|
| 1413 |
This is a \verb+\paragraph+. |
| 1414 |
\XX\XX |
| 1415 |
|
| 1416 |
\subparagraph{The Story Continues 7} |
| 1417 |
This is a \verb+\subparagraph+. |
| 1418 |
\XX\XX\XX |
| 1419 |
|
| 1420 |
\section{Conclusion} |
| 1421 |
The end, at last! In this example there really are no results or |
| 1422 |
points to summarize but I trust your article has more food for though |
| 1423 |
and thus will need a conclusion. |
| 1424 |
|
| 1425 |
\appendix |
| 1426 |
\section{Appendices} |
| 1427 |
If you have any, appendices might go here. Note that appendices |
| 1428 |
should not be used to circumvent the word count limit. |
| 1429 |
|
| 1430 |
This is "doing it by hand" --- you might be better off using BibTeX. |
| 1431 |
|
| 1432 |
\begin{thebibliography}{X} |
| 1433 |
\bibitem[1]{Lam94} Leslie Lamport: {\em \LaTeX, A Document |
| 1434 |
Preparation System,} Addison Wesley~1994. |
| 1435 |
\end{thebibliography} |
| 1436 |
\IfPrepare{ |
| 1437 |
\tableofcontents |
| 1438 |
\listoffigures |
| 1439 |
\listoftables |
| 1440 |
}{} |
| 1441 |
%<*error> |
| 1442 |
\tableofcontents |
| 1443 |
\listoffigures |
| 1444 |
\listoftables |
| 1445 |
%</error> |
| 1446 |
\end{document} |
| 1447 |
% |
| 1448 |
%</body> |
| 1449 |
% \end{macrocode} |
| 1450 |
% |
| 1451 |
% \section{The "Official" Description of the Class Layout} |
| 1452 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1453 |
% |
| 1454 |
% \begin{macrocode} |
| 1455 |
%<*pubform> |
| 1456 |
\documentclass[submit]{acmconf} |
| 1457 |
\usepackage{flushend} |
| 1458 |
|
| 1459 |
\CopyrightText{LEAVE BLANK THE LAST 3.81 cm |
| 1460 |
(1.5'') OF THE LEFT COLUMN ON THE FIRST PAGE |
| 1461 |
FOR THE COPYRIGHT NOTICE } |
| 1462 |
\ConferenceName{1. Conference on Designing a \LaTeX2e Class for |
| 1463 |
Typesetting ACM Papers, Hawaii 2000} |
| 1464 |
\ConferenceShortName{CONF-2000} |
| 1465 |
|
| 1466 |
\begin{document} |
| 1467 |
\date{31. December 1999} |
| 1468 |
\title{ACM SIG Proceedings Format} |
| 1469 |
\author{\Author{1st Author} \\ |
| 1470 |
\Address{First author's affiliation} \\ |
| 1471 |
\Address{1st line of address} \\ |
| 1472 |
\Address{2st line of address} \\ |
| 1473 |
\Address{Telephone number, incl.\ country code} \\ |
| 1474 |
\Email{1st author's email address} \\ |
| 1475 |
\and |
| 1476 |
\Author{2nd Author} \\ |
| 1477 |
\Address{First author's affiliation} \\ |
| 1478 |
\Address{1st line of address} \\ |
| 1479 |
\Address{2st line of address} \\ |
| 1480 |
\Address{Telephone number, incl.\ country code} \\ |
| 1481 |
\Email{2nd author's email address} \\ |
| 1482 |
\and |
| 1483 |
\Author{3rd Author} \\ |
| 1484 |
\Address{First author's affiliation} \\ |
| 1485 |
\Address{1st line of address} \\ |
| 1486 |
\Address{2st line of address} \\ |
| 1487 |
\Address{Telephone number, incl.\ country code} \\ |
| 1488 |
\Email{3rd author's email address} \\ |
| 1489 |
} |
| 1490 |
\maketitle |
| 1491 |
|
| 1492 |
\begin{abstract} |
| 1493 |
In this paper, we describe the formatting guidelines for ACM SIG |
| 1494 |
Proceedings. |
| 1495 |
\end{abstract} |
| 1496 |
|
| 1497 |
\begin{keywords} |
| 1498 |
Guides, instructions, authors kit, conference publications. |
| 1499 |
\end{keywords} |
| 1500 |
|
| 1501 |
\section{Introduction} |
| 1502 |
|
| 1503 |
The proceedings are the records of the conference. ACM hopes to |
| 1504 |
give these conference by-products a single, high-quality appearance. |
| 1505 |
To do this, we ask that authors follow some simple guidelines. In |
| 1506 |
essence, we ask you to make your paper look exactly like this |
| 1507 |
document. The easiest way to do this is simply to down-load a |
| 1508 |
template from \cite{template.1999}, and replace the content with |
| 1509 |
your own material. |
| 1510 |
|
| 1511 |
\section{Page Size} |
| 1512 |
|
| 1513 |
All material on each page should fit within a rectangle of |
| 1514 |
18 x 23.5 cm (6" x 9.25"), centered on the page, beginning |
| 1515 |
2.54 cm (1") from the top of the page and ending with |
| 1516 |
2.54 cm (1") from the bottom. The right and left margins |
| 1517 |
should be 1.9 cm (.75''). The text should be in two |
| 1518 |
8.45 cm (3.33") columns with a .83 cm (.33") gutter. |
| 1519 |
|
| 1520 |
\section{Typeset Text} |
| 1521 |
|
| 1522 |
Prepare your submissions on a typesetter or word processor. |
| 1523 |
|
| 1524 |
\subsection{Normal or Body Text} |
| 1525 |
|
| 1526 |
Please use a 9-point Times Roman font, or other Roman font with |
| 1527 |
serifs, as close as possible in appearance to Times Roman in |
| 1528 |
which these guidelines have been set. The goal is to have a |
| 1529 |
9-point text, as you see here. Please use sans-serif or |
| 1530 |
non-proportional fonts only for special purposes, such as |
| 1531 |
distinguishing source code text. The Press 9-point font available |
| 1532 |
to users of Script is a good substitute for Times Roman. If |
| 1533 |
Times Roman is not available, try the font named Computer |
| 1534 |
Modern Roman. On a Macintosh, use the font named Times. |
| 1535 |
Right margins should be justified, not ragged. |
| 1536 |
|
| 1537 |
\subsection{Title and Authors} |
| 1538 |
|
| 1539 |
The title (Helvetica 18-point bold), authors' names (Helvetica |
| 1540 |
12-point) and affiliations (Helvetica 10-point) run across the full |
| 1541 |
width of the page - one column wide. We also recommend phone number |
| 1542 |
(Helvetica 10-point) and e-mail address (Helvetica 12-point). See the |
| 1543 |
top of this page for three addresses. If only one address is needed, |
| 1544 |
center all address text. For two addresses, use two centered tabs, and |
| 1545 |
so on. For more than three authors, you may have to |
| 1546 |
improvise\footnote{If necessary, you may place some address |
| 1547 |
information in a foortone, or in a named section at the end of your |
| 1548 |
paper.} |
| 1549 |
|
| 1550 |
\subsection{First Page Copyright Notice} |
| 1551 |
|
| 1552 |
Leave 3.81 cm (1.5") of blank space at the bottom of the left |
| 1553 |
column of the first page for the copyright notice. |
| 1554 |
|
| 1555 |
\subsection{Subsequent Pages} |
| 1556 |
|
| 1557 |
For pages other than the first page, start at the top of the page, and |
| 1558 |
continue in double-column format. The two columns on the last page |
| 1559 |
should be of equal length. |
| 1560 |
|
| 1561 |
\subsection{References and Citations} |
| 1562 |
|
| 1563 |
Footnotes should be Times New Roman 9-point. |
| 1564 |
|
| 1565 |
Use the standard Communications of the ACM format for references - |
| 1566 |
that is, a numbered list at the end of the article, ordered |
| 1567 |
alphabetically by first author, and referenced by numbers in |
| 1568 |
brackets \cite{anderson.1992}. See the examples of citations at |
| 1569 |
the end of this document |
| 1570 |
\cite{conger.1995,mackay.1995,schwartz.1995}. Within this template |
| 1571 |
file, use the style named references for the text of your citation. |
| 1572 |
|
| 1573 |
References should be published materials accessible to the public. |
| 1574 |
Internal technical reports may be cited only if they are easily |
| 1575 |
accessible (i.e. you can give the address to obtain the report within |
| 1576 |
your citation) and may be obtained by any reader. Proprietary |
| 1577 |
information may not be cited. Private communications should be |
| 1578 |
acknowledged, not referenced (e.g., ``[Robertson, personal |
| 1579 |
communication]''). |
| 1580 |
|
| 1581 |
\subsection{Page Numbering, Headers and Footers} |
| 1582 |
|
| 1583 |
Do not include headers, footers or page numbers in your submission. |
| 1584 |
These will be added when the publications are assembled. |
| 1585 |
|
| 1586 |
\section{Sections} |
| 1587 |
|
| 1588 |
The heading of a section should be in Times New Roman 12-point bold in |
| 1589 |
all-capitals flush left. Sections and subsequent subsections should |
| 1590 |
be numbered and flush left. |
| 1591 |
|
| 1592 |
\subsection{Subsections} |
| 1593 |
|
| 1594 |
The heading of subsections should be in Times New Roman 12-point bold |
| 1595 |
with only the initial letters capitalized. (Note: For subsections and |
| 1596 |
subsubsections, a word like the or a is not capitalized unless it is |
| 1597 |
the first word of the header.) |
| 1598 |
|
| 1599 |
\subsubsection{Subsubsections} |
| 1600 |
|
| 1601 |
The heading for subsubsections should be in Times New Roman 11-point |
| 1602 |
italic with initial letters capitalized. |
| 1603 |
|
| 1604 |
\subsubsubsection{Subsubsubsection} |
| 1605 |
|
| 1606 |
The heading for subsubsubsections should be in |
| 1607 |
Times New Roman 11-point italic with initial letters capitalized. |
| 1608 |
|
| 1609 |
\subsubsubsubsection{Subsubsubsubsection} |
| 1610 |
|
| 1611 |
The heading for subsubsubsubsections should be in |
| 1612 |
Times New Roman 11-point italic with initial letters capitalized. |
| 1613 |
|
| 1614 |
\section{Figures/Captions} |
| 1615 |
|
| 1616 |
Place Tables/Figures/Images in text as close to the reference as |
| 1617 |
possible. It may extend across both columns to a maximum width of |
| 1618 |
17.78 cm (7''). |
| 1619 |
|
| 1620 |
Captions should be Times New Roman 9-point bold. They should be |
| 1621 |
numbered (e.g., ``Table 1'' or ``Figure 2'') and be centered beneath |
| 1622 |
each table, figure or image. |
| 1623 |
|
| 1624 |
|
| 1625 |
\section{Acknowledgments} |
| 1626 |
|
| 1627 |
Our thanks to ACM SIGCHI for allowing us to modify templates they had |
| 1628 |
developed. |
| 1629 |
|
| 1630 |
\medskip |
| 1631 |
|
| 1632 |
\bibliographystyle{plain} |
| 1633 |
\bibliography{pubform} |
| 1634 |
|
| 1635 |
Columns on Last Page Should Be Made Equal Length |
| 1636 |
\end{document} |
| 1637 |
%</pubform> |
| 1638 |
% \end{macrocode} |
| 1639 |
% |
| 1640 |
% \section{The BiB\TeX-Bibliography of the "Official" Description of |
| 1641 |
% the Class Layout} |
| 1642 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1643 |
% |
| 1644 |
% \begin{macrocode} |
| 1645 |
%<*bib> |
| 1646 |
@TECHREPORT{template.1999, |
| 1647 |
AUTHOR = "ACM", |
| 1648 |
TITLE = "{ACM} {SIG} {PROCEEDINGS} template", |
| 1649 |
INSTITUTION = "ACM", |
| 1650 |
ADDRESS = "http://www.acm.org/sigs/ |
| 1651 |
pubs/proceed/template.html", |
| 1652 |
YEAR = 1999, |
| 1653 |
} |
| 1654 |
|
| 1655 |
@ARTICLE{anderson.1992, |
| 1656 |
AUTHOR = "Anderson, R.E", |
| 1657 |
TITLE = "Social impacts of computing: Codes of |
| 1658 |
professional ethics", |
| 1659 |
JOURNAL = "Social Science Computing Review", |
| 1660 |
YEAR = 1992, |
| 1661 |
NUMBER = 4, |
| 1662 |
VOLUME = 10, |
| 1663 |
PAGES = "453--469", |
| 1664 |
} |
| 1665 |
|
| 1666 |
@ARTICLE{conger.1995, |
| 1667 |
AUTHOR = "Conger, Sue AND |
| 1668 |
Loch, Karen D.", |
| 1669 |
TITLE = "Ethics and computer use", |
| 1670 |
JOURNAL = "Communications of the {ACM}", |
| 1671 |
VOLUME = 38, |
| 1672 |
MONTH = dec, |
| 1673 |
YEAR = 1995, |
| 1674 |
NUMBER = 12, |
| 1675 |
PAGES = "30--32", |
| 1676 |
} |
| 1677 |
|
| 1678 |
@INPROCEEDINGS{mackay.1995, |
| 1679 |
AUTHOR = "Mackay, W.E.", |
| 1680 |
TITLE = "Ethics, lies and videotape...", |
| 1681 |
BOOKTITLE = "Proceedings of {CHI} '95 (Denver CO)", |
| 1682 |
PUBLISHER = "ACM Press", |
| 1683 |
MONTH = may, |
| 1684 |
YEAR = 1995, |
| 1685 |
PAGES = "138--145", |
| 1686 |
} |
| 1687 |
|
| 1688 |
@TECHREPORT{schwartz.1995, |
| 1689 |
AUTHOR = "Schwartz, M. AND |
| 1690 |
{Task Force on Bias-Free Language}", |
| 1691 |
TITLE = "Guidelines for Bias-Free Writing", |
| 1692 |
INSTITUTION = "Indiana University", |
| 1693 |
PUBLISHER = "Indiana University Press, Bloomington IN", |
| 1694 |
YEAR = 1995, |
| 1695 |
} |
| 1696 |
%</bib> |
| 1697 |
% \end{macrocode} |
| 1698 |
% |
| 1699 |
% \section{A Postscript Picture, Used in the Examples} |
| 1700 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1701 |
% \begin{macrocode} |
| 1702 |
%<*eps> |
| 1703 |
%!PS-Adobe-2.0 EPSF-2.0 |
| 1704 |
%%Title: body.eps |
| 1705 |
%%Creator: fig2dev Version 3.2 Patchlevel 1 |
| 1706 |
%%CreationDate: Tue Jun 1 10:19:01 1999 |
| 1707 |
%%For: [email protected] |
| 1708 |
%%Orientation: Portrait |
| 1709 |
%%BoundingBox: 0 0 101 91 |
| 1710 |
%%Pages: 0 |
| 1711 |
%%BeginSetup |
| 1712 |
%%EndSetup |
| 1713 |
%%Magnification: 1.0000 |
| 1714 |
%%EndComments |
| 1715 |
/$F2psDict 200 dict def |
| 1716 |
$F2psDict begin |
| 1717 |
$F2psDict /mtrx matrix put |
| 1718 |
/col-1 {0 setgray} bind def |
| 1719 |
/col0 {0.000 0.000 0.000 srgb} bind def |
| 1720 |
/col1 {0.000 0.000 1.000 srgb} bind def |
| 1721 |
/col2 {0.000 1.000 0.000 srgb} bind def |
| 1722 |
/col3 {0.000 1.000 1.000 srgb} bind def |
| 1723 |
/col4 {1.000 0.000 0.000 srgb} bind def |
| 1724 |
/col5 {1.000 0.000 1.000 srgb} bind def |
| 1725 |
/col6 {1.000 1.000 0.000 srgb} bind def |
| 1726 |
/col7 {1.000 1.000 1.000 srgb} bind def |
| 1727 |
/col8 {0.000 0.000 0.560 srgb} bind def |
| 1728 |
/col9 {0.000 0.000 0.690 srgb} bind def |
| 1729 |
/col10 {0.000 0.000 0.820 srgb} bind def |
| 1730 |
/col11 {0.530 0.810 1.000 srgb} bind def |
| 1731 |
/col12 {0.000 0.560 0.000 srgb} bind def |
| 1732 |
/col13 {0.000 0.690 0.000 srgb} bind def |
| 1733 |
/col14 {0.000 0.820 0.000 srgb} bind def |
| 1734 |
/col15 {0.000 0.560 0.560 srgb} bind def |
| 1735 |
/col16 {0.000 0.690 0.690 srgb} bind def |
| 1736 |
/col17 {0.000 0.820 0.820 srgb} bind def |
| 1737 |
/col18 {0.560 0.000 0.000 srgb} bind def |
| 1738 |
/col19 {0.690 0.000 0.000 srgb} bind def |
| 1739 |
/col20 {0.820 0.000 0.000 srgb} bind def |
| 1740 |
/col21 {0.560 0.000 0.560 srgb} bind def |
| 1741 |
/col22 {0.690 0.000 0.690 srgb} bind def |
| 1742 |
/col23 {0.820 0.000 0.820 srgb} bind def |
| 1743 |
/col24 {0.500 0.190 0.000 srgb} bind def |
| 1744 |
/col25 {0.630 0.250 0.000 srgb} bind def |
| 1745 |
/col26 {0.750 0.380 0.000 srgb} bind def |
| 1746 |
/col27 {1.000 0.500 0.500 srgb} bind def |
| 1747 |
/col28 {1.000 0.630 0.630 srgb} bind def |
| 1748 |
/col29 {1.000 0.750 0.750 srgb} bind def |
| 1749 |
/col30 {1.000 0.880 0.880 srgb} bind def |
| 1750 |
/col31 {1.000 0.840 0.000 srgb} bind def |
| 1751 |
|
| 1752 |
end |
| 1753 |
save |
| 1754 |
-172.0 122.0 translate |
| 1755 |
1 -1 scale |
| 1756 |
|
| 1757 |
/cp {closepath} bind def |
| 1758 |
/ef {eofill} bind def |
| 1759 |
/gr {grestore} bind def |
| 1760 |
/gs {gsave} bind def |
| 1761 |
/sa {save} bind def |
| 1762 |
/rs {restore} bind def |
| 1763 |
/l {lineto} bind def |
| 1764 |
/m {moveto} bind def |
| 1765 |
/rm {rmoveto} bind def |
| 1766 |
/n {newpath} bind def |
| 1767 |
/s {stroke} bind def |
| 1768 |
/sh {show} bind def |
| 1769 |
/slc {setlinecap} bind def |
| 1770 |
/slj {setlinejoin} bind def |
| 1771 |
/slw {setlinewidth} bind def |
| 1772 |
/srgb {setrgbcolor} bind def |
| 1773 |
/rot {rotate} bind def |
| 1774 |
/sc {scale} bind def |
| 1775 |
/sd {setdash} bind def |
| 1776 |
/ff {findfont} bind def |
| 1777 |
/sf {setfont} bind def |
| 1778 |
/scf {scalefont} bind def |
| 1779 |
/sw {stringwidth} bind def |
| 1780 |
/tr {translate} bind def |
| 1781 |
/tnt {dup dup currentrgbcolor |
| 1782 |
4 -2 roll dup 1 exch sub 3 -1 roll mul add |
| 1783 |
4 -2 roll dup 1 exch sub 3 -1 roll mul add |
| 1784 |
4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} |
| 1785 |
bind def |
| 1786 |
/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul |
| 1787 |
4 -2 roll mul srgb} bind def |
| 1788 |
/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def |
| 1789 |
/$F2psEnd {$F2psEnteredState restore end} def |
| 1790 |
%%EndProlog |
| 1791 |
|
| 1792 |
$F2psBegin |
| 1793 |
10 setmiterlimit |
| 1794 |
n -1000 2922 m -1000 -1000 l 5333 -1000 l 5333 2922 l cp clip |
| 1795 |
0.06299 0.06299 sc |
| 1796 |
% Polyline |
| 1797 |
7.500 slw |
| 1798 |
n 2745 900 m 2745 920 l 2747 941 l 2753 964 l 2761 988 l 2772 1014 l |
| 1799 |
2786 1041 l 2803 1070 l 2822 1101 l 2843 1133 l 2866 1167 l |
| 1800 |
2892 1201 l 2918 1237 l 2947 1274 l 2976 1312 l 3007 1350 l |
| 1801 |
3038 1388 l 3070 1427 l 3102 1465 l 3135 1503 l 3167 1540 l |
| 1802 |
3199 1577 l 3231 1612 l 3262 1646 l 3293 1679 l 3323 1710 l |
| 1803 |
3352 1739 l 3380 1766 l 3407 1791 l 3434 1813 l 3459 1834 l |
| 1804 |
3484 1851 l 3508 1867 l 3532 1880 l 3555 1890 l 3581 1899 l |
| 1805 |
3608 1905 l 3634 1909 l 3662 1910 l 3690 1908 l 3719 1904 l |
| 1806 |
3748 1899 l 3779 1891 l 3810 1882 l 3842 1871 l 3874 1859 l |
| 1807 |
3907 1846 l 3939 1831 l 3972 1816 l 4005 1801 l 4037 1784 l |
| 1808 |
4069 1768 l 4100 1751 l 4129 1734 l 4158 1716 l 4185 1699 l |
| 1809 |
4209 1681 l 4232 1664 l 4253 1646 l 4271 1628 l 4287 1609 l |
| 1810 |
4299 1591 l 4309 1571 l 4316 1551 l 4320 1530 l 4321 1509 l |
| 1811 |
4319 1487 l 4314 1463 l 4306 1438 l 4295 1411 l 4282 1383 l |
| 1812 |
4266 1354 l 4248 1323 l 4227 1290 l 4205 1257 l 4181 1222 l |
| 1813 |
4155 1187 l 4127 1151 l 4099 1115 l 4070 1078 l 4041 1041 l |
| 1814 |
4011 1004 l 3982 967 l 3953 931 l 3924 896 l 3896 861 l |
| 1815 |
3870 828 l 3844 796 l 3820 765 l 3798 736 l 3777 709 l |
| 1816 |
3758 683 l 3741 660 l 3726 638 l 3712 618 l 3700 601 l |
| 1817 |
3690 585 l 3683 574 l 3676 564 l 3670 555 l 3666 547 l |
| 1818 |
3662 540 l 3659 534 l 3657 529 l 3657 525 l 3657 522 l |
| 1819 |
3658 519 l 3660 518 l 3663 517 l 3667 516 l 3671 516 l |
| 1820 |
3676 517 l 3681 518 l 3687 520 l 3693 521 l 3699 524 l |
| 1821 |
3705 526 l 3711 528 l 3717 531 l 3723 534 l 3728 537 l |
| 1822 |
3733 540 l 3737 543 l 3740 546 l 3743 549 l 3745 552 l |
| 1823 |
3746 555 l 3746 557 l 3744 560 l 3742 563 l 3738 566 l |
| 1824 |
3734 569 l 3727 572 l 3720 575 l 3711 578 l 3701 581 l |
| 1825 |
3690 585 l 3673 591 l 3654 597 l 3632 603 l 3607 610 l |
| 1826 |
3579 617 l 3549 625 l 3516 632 l 3480 640 l 3442 648 l |
| 1827 |
3401 655 l 3359 663 l 3315 671 l 3271 679 l 3225 688 l |
| 1828 |
3180 696 l 3134 705 l 3089 714 l 3046 723 l 3004 734 l |
| 1829 |
2964 744 l 2926 755 l 2891 767 l 2860 780 l 2832 794 l |
| 1830 |
2807 808 l 2786 824 l 2770 841 l 2758 859 l 2749 879 l |
| 1831 |
cp gs col0 s gr |
| 1832 |
$F2psEnd |
| 1833 |
rs |
| 1834 |
%</eps> |
| 1835 |
% \end{macrocode} |
| 1836 |
% |
| 1837 |
% \section{The \texttt{flushend} Package} |
| 1838 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1839 |
% |
| 1840 |
% To make the 'acmconf' class "selfcontained", the |
| 1841 |
% 'flushend' package is distributed with the permission of |
| 1842 |
% Sigitas Tolu\v sis (\texttt{[email protected]}) with this class. |
| 1843 |
% |
| 1844 |
% \begin{macrocode} |
| 1845 |
%<*flushend> |
| 1846 |
%% flushend.sty |
| 1847 |
%% Copyright 1997 Sigitas Tolu\v sis |
| 1848 |
%% VTeX Ltd., Akademijos 4, Vilnius, Lithuania |
| 1849 |
%% e-mail [email protected] |
| 1850 |
%% http://www.vtex.lt/tex/download/macros/ |
| 1851 |
%% |
| 1852 |
%% This program can redistributed and/or modified under the terms |
| 1853 |
%% of the LaTeX Project Public License Distributed from CTAN |
| 1854 |
%% archives in directory macros/latex/base/lppl.txt; either |
| 1855 |
%% version 1 of the License, or (at your option) any later version. |
| 1856 |
%% |
| 1857 |
%% PURPOSE: Balanced columns on last page in twocolumn mode. |
| 1858 |
%% |
| 1859 |
%% SHORT DESCRIPTION: |
| 1860 |
%% |
| 1861 |
%% \flushend (loaded by default) |
| 1862 |
%% --------- |
| 1863 |
%% Switches on column balancing at last page |
| 1864 |
%% |
| 1865 |
%% \raggedend |
| 1866 |
%% ---------- |
| 1867 |
%% Switches off column balancing at last page |
| 1868 |
%% |
| 1869 |
%% \atColsBreak={#1} |
| 1870 |
%% ------------------ |
| 1871 |
%% Adds #1 in place of original column break (without balancing) |
| 1872 |
%% Example: \atColsBreak{\vskip-2pt} |
| 1873 |
%% |
| 1874 |
%% \showcolsendrule |
| 1875 |
%% ---------------- |
| 1876 |
%% Adds rule to the bottom of columns (just for debugging) |
| 1877 |
%% |
| 1878 |
%% P.S. To stretch right column by #1 add command \vskip-#1 just before |
| 1879 |
%% command \end{document}. |
| 1880 |
%% TO shrink right column by #1 add command \vskip#1 just before |
| 1881 |
%% command \end{document}. |
| 1882 |
%% Example: \vskip-10pt |
| 1883 |
%% \end{document} |
| 1884 |
%% |
| 1885 |
%% \changes{1997/05/16}{first version} |
| 1886 |
%% \changes{1997/09/09}{support for compatibility with cuted.sty} |
| 1887 |
%% \changes{1997/10/01}{\vipersep changed to \stripsep for |
| 1888 |
%% compatibility with cuted.sty} |
| 1889 |
%% |
| 1890 |
\NeedsTeXFormat{LaTeX2e} |
| 1891 |
\ProvidesPackage{flushend}[1997/10/01] |
| 1892 |
% |
| 1893 |
\newbox\@aaa |
| 1894 |
\newbox\@ccc |
| 1895 |
\@ifundefined{@viper}{\newbox\@viper}{} |
| 1896 |
\@ifundefined{hold@viper}{\newbox\hold@viper}{} |
| 1897 |
\newtoks\atColsBreak \atColsBreak={} |
| 1898 |
\newdimen\@extra@skip \@extra@skip\z@ |
| 1899 |
\newdimen\@nd@page@rule \@nd@page@rule\z@ |
| 1900 |
\def\last@outputdblcol{% |
| 1901 |
\if@firstcolumn |
| 1902 |
\global \@firstcolumnfalse |
| 1903 |
\global \setbox\@leftcolumn \box\@outputbox |
| 1904 |
\else |
| 1905 |
\global \@firstcolumntrue |
| 1906 |
\if@lastpage |
| 1907 |
\@tempdima\ht\@leftcolumn |
| 1908 |
\splittopskip\topskip\splitmaxdepth\maxdepth |
| 1909 |
\setbox\@tempboxa\vbox{% |
| 1910 |
\unvbox\@leftcolumn\setbox0\lastbox\unskip% |
| 1911 |
\the\atColsBreak% |
| 1912 |
\unvbox\@outputbox\setbox0\lastbox\unskip}% |
| 1913 |
\@tempdimb .5\ht\@tempboxa% |
| 1914 |
\loop |
| 1915 |
\setbox\@aaa\copy\@tempboxa% |
| 1916 |
\setbox\@ccc\vbox to\@tempdimb{% |
| 1917 |
\vsplit\@aaa to\@tempdimb\vss% |
| 1918 |
\vsplit\@aaa to\@tempdimb}% |
| 1919 |
\wlog{Extra height:\the\ht\@aaa\space when \the\@tempdimb}% |
| 1920 |
\ifvoid\@aaa \else \advance\@tempdimb 1pt \repeat% |
| 1921 |
\loop |
| 1922 |
\setbox\@aaa\copy\@tempboxa% |
| 1923 |
\setbox\@ccc\vbox to\@tempdimb{% |
| 1924 |
\vsplit\@aaa to\@tempdimb\vss}% |
| 1925 |
\wlog{(2)Left:\the\ht\@ccc\space |
| 1926 |
Right:\the\ht\@aaa\space Output:\the\@tempdimb}% |
| 1927 |
\ifdim \ht\@ccc<\ht\@aaa \@tempdimb \the\ht\@aaa \repeat% |
| 1928 |
\wlog{- LAST -^^J |
| 1929 |
Extra skip:\the\@extra@skip^^J |
| 1930 |
Left:\the\ht\@ccc^^JRight:\the\ht\@aaa^^J |
| 1931 |
Output:\the\@tempdimb}% |
| 1932 |
\setbox\@ccc\vbox to\@tempdimb{% |
| 1933 |
\vsplit\@tempboxa to\@tempdimb\vss}% |
| 1934 |
\setbox\@leftcolumn\vbox to\@tempdima{% |
| 1935 |
\vbox to\@tempdimb{\unvbox\@ccc}% |
| 1936 |
\hrule\@height\@nd@page@rule% |
| 1937 |
\vss}% |
| 1938 |
\setbox\@outputbox\vbox to\@tempdima{% |
| 1939 |
\vbox to\@tempdimb{\unvbox\@tempboxa\vfilneg% |
| 1940 |
\vskip\@extra@skip}% |
| 1941 |
\hrule\@height\@nd@page@rule% |
| 1942 |
\vss}% |
| 1943 |
\setbox\@outputbox \vbox {% |
| 1944 |
\hb@xt@\textwidth {% |
| 1945 |
\hb@xt@\columnwidth {% |
| 1946 |
\box\@leftcolumn \hss}% |
| 1947 |
\hfil |
| 1948 |
\vrule \@width\columnseprule |
| 1949 |
\hfil |
| 1950 |
\hb@xt@\columnwidth {% |
| 1951 |
\box\@outputbox \hss}% |
| 1952 |
}% |
| 1953 |
}% |
| 1954 |
\else |
| 1955 |
\setbox\@outputbox \vbox {% |
| 1956 |
\hb@xt@\textwidth {% |
| 1957 |
\hb@xt@\columnwidth {% |
| 1958 |
\box\@leftcolumn \hss}% |
| 1959 |
\hfil |
| 1960 |
\vrule \@width\columnseprule |
| 1961 |
\hfil |
| 1962 |
\hb@xt@\columnwidth {% |
| 1963 |
\box\@outputbox \hss}% |
| 1964 |
}% |
| 1965 |
}% |
| 1966 |
\fi |
| 1967 |
\ifvoid\hold@viper |
| 1968 |
\else |
| 1969 |
\setbox\@outputbox \vbox{\box\hold@viper\box\@outputbox}% |
| 1970 |
\fi |
| 1971 |
\@combinedblfloats |
| 1972 |
\@outputpage |
| 1973 |
\begingroup |
| 1974 |
\@dblfloatplacement |
| 1975 |
\@startdblcolumn |
| 1976 |
\@whilesw\if@fcolmade \fi |
| 1977 |
{\@outputpage |
| 1978 |
\@startdblcolumn}% |
| 1979 |
\ifvoid\@viper |
| 1980 |
\else |
| 1981 |
\global\setbox\@viper\vbox{% |
| 1982 |
\vskip-\stripsep\unvbox\@viper}\@viperoutput |
| 1983 |
\fi |
| 1984 |
\endgroup |
| 1985 |
\fi |
| 1986 |
} |
| 1987 |
\let\prev@enddocument\enddocument |
| 1988 |
\newif\if@lastpage \@lastpagefalse |
| 1989 |
\def\enddocument{% |
| 1990 |
\global\@lastpagetrue% |
| 1991 |
\let\@outputdblcol\last@outputdblcol% |
| 1992 |
\prev@enddocument% |
| 1993 |
} |
| 1994 |
\def\raggedend{% |
| 1995 |
\global\let\enddocument\prev@enddocument% |
| 1996 |
} |
| 1997 |
\def\flushend{% |
| 1998 |
\gdef\enddocument{% |
| 1999 |
\global\@lastpagetrue% |
| 2000 |
\let\@outputdblcol\last@outputdblcol% |
| 2001 |
\prev@enddocument% |
| 2002 |
} |
| 2003 |
} |
| 2004 |
\def\showcolsendrule{\global\@nd@page@rule=.4pt} |
| 2005 |
\endinput |
| 2006 |
%</flushend> |
| 2007 |
% \end{macrocode} |
| 2008 |
% |
| 2009 |
% \hrule |
| 2010 |
% \medskip |
| 2011 |
% \centerline{The End} |
| 2012 |
% |
| 2013 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2014 |
% \Finale |
| 2015 |
\endinput |
| 2016 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |