Paper/document/acmconf.cls
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Wed, 21 Apr 2010 19:11:51 +0200
changeset 1928 77eccce38a17
parent 1556 a7072d498723
permissions -rw-r--r--
merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1493
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
% ACMCONF DOCUMENT CLASS
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
%    adapted from ARTICLE document style by Ken Traub
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
%    Hacked for [preprint] option by Olin Shivers 4/91
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
%    Fixed up for LaTeX version 2e [compatibility mode] by Peter Lee 10/9
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
%       (with help from Simon Peyton Jones)
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
%    Converted to a LaTeX2e document class by David A. Berson 11/94
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
% ARTICLE DOCUMENT STYLE -- Released 16 March 1988
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
%    for LaTeX version 2.09
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
% Copyright (C) 1988 by Leslie Lamport
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
% To do:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
%  - Possibly move the commands related to 9pt size to a file size9.clo
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
%    and write the stuff to unpack both acmconf.cls and size9.clo files
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
%    from a single distribution file.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
%%% ACMCONF is a document class for producing two-column camera-ready pages for
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
%%% ACM conferences, according to ACM specifications.  The main features of
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
%%% this class are:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
%%% 1)  Two columns.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
%%% 2)  Side and top margins of 4.5pc, bottom margin of 7.5pc, column gutter of
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
%%%     2pc, hence columns are 20pc wide and 54pc tall.  (6pc = 1in, approx)
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
%%% 3)  First page has title information, and an extra 4.5pc of space at the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
%%%     bottom of the first column for the ACM copyright notice. (You must
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
%%%     use one of the commands \copyrightspace or \toappear{} to obtain this
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
%%%     space.)
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
%%% 4)  Text is 9pt on 10pt baselines; titles are 9pt bold sans-serif.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
%%%     (The acmconf.sty from which acmconf.cls was derived actually uses
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
%%%     9pt bold roman for section titles.  Functionally, I have left this
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
%%%     as is.  I have added a commented out alternate defination of
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
%%%     \acmtitlestyle that uses sans-serif)  --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
%%% This document class supports a [preprint] class option that allows you
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
%%% to run off a copy for a preprint -- with page numbers, "to appear"
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
%%% information, and so forth. This is documented below.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
%%% There are a few restrictions you must observe:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
%%% 1)  You cannot change the font size; ACM wants you to use 9pt.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
%%% 3)  You must start your paper with the \maketitle command.  Prior to the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
%%%     \maketitle you must have \title and \author commands.  If you have a
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
%%%     \date command it will be ignored; no date appears on the paper, since
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
%%%     the proceedings will have a date on the front cover.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
%%%     Optionally, you may have an \affiliation command with text, such
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
%%%     as company or university name and address, that will be centered
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
%%%     just below the author(s).
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
%%% 4)  Marginal paragraphs, tables of contents, lists of figures and tables,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
%%%     and page headings are all forbidden.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
%%% 5)  The `figure' environment will produce a figure one column wide; if you
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
%%%     want one that is two columns wide, use `figure*'.  Ditto for the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
%%%     `table' and `table*' environments.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
%%% Page Headings:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
%%% Normally, \pagestyle commands are ignored --- pages have no headings or
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
%%% numbers. ACM will number the pages for you when they are inserted into the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
%%% proceedings (you should put page numbers on the BACK of each page, though,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
%%% in case someone drops your paper on the floor).
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
%%% If the [preprint] option is present, then \pagestyle commands are obeyed,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
%%% and the default is \pagestyle{plain}. The [twoside] option is also
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
%%% useful when using headers.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
%%% The [draft] and [final] options as used in the article class are also
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
%%% supported.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
%%% Copyright Space:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
%%% You leave space at the bottom of page 1/column 1 one with the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
%%% \copyrightspace command.  Alternatively, you can use the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
%%% \toappear{...} command.  Normally, this turns into an unnumbered
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
%%% footnote 4.5pc high.  If [preprint] is on, then this space is
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
%%% filled with the {...} text; otherwise, it's blank. You must put
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
%%% one of these commands in the text of page 1/column 1 *after* all the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
%%% other footnotes that go on page1/column 1, of course.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
%%% A typical usage looks like this:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
%%%     \toappear{To appear in the Ninth AES Conference on Midevil Lithuanian
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
%%%               Embalming Technique, June 1991, Alfaretta, Georgia.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
%%%               Also available as Technical Report CMU-CS-91-119,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
%%%               Cranberry Melon School of Cucumber Science.}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
%%% This will be included in the preprint, and left out of the conference
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
%%% version.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
%%% Acmconf defines two useful conditionals.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
%%% - \ifacmconf{true-stuff}{false-stuff}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
%%%   expands to true-stuff.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
%%% - \ifpreprint true-stuff \else else-stuff \fi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
%%%   expands to true-stuff if the [preprint] option is being used,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
%%%   otherwise it expands to else-stuff.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
%%% \ifacmconf is a latex command; \ifpreprint is a real latex conditional.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
%%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
%%% WARNING:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
%%% Some dvi-ps converters heuristically allow chars to drift from their
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
%%% true positions a few pixels. This loses noticeably with the 9pt sans-serif
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
%%% bold font used for section headers. You turn this hackery off in our
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
%%% dvi-ps converters with the -e option:
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
%%%     dvips -e 0 foo.dvi >foo.ps
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99

52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
\NeedsTeXFormat{LaTeX2e}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
\ProvidesClass{acmconf}[1994/11/27 Alternative LaTeX document class]
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
\typeout{Bugs to berson@cs.pitt.edu}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
% Define the conditionals and command for the options.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
\newif\if@acmconf\@acmconftrue
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
\long\def\ifacmconf#1#2{\if@acmconf#1\else#2\fi}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
\newif\ifpreprint
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
% Declare and process the options
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
\DeclareOption{draft}{\PassOptionsToClass{draft}{article}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
\DeclareOption{final}{\PassOptionsToClass{final}{article}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
\DeclareOption{twocolumn}{\PassOptionsToClass{twocolumn}{article}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
\DeclareOption{twoside}{\PassOptionsToClass{twoside}{article}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
\DeclareOption{preprint}{\preprintfalse}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
%\DeclareOption{preprint}{\preprinttrue}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
% Let them off with just a warning for any other option
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
\DeclareOption*{\ClassWarningNoLine{acmconf}{Unknown option `\CurrentOption'}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
%\DeclareOption*{\ClassError{acmconf}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
%   {The `\CurrentOption' option is not supported}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
%   {Remove the `\CurrentOption' option from the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
%    \protect\documentclass\space line.}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
\ExecuteOptions{twocolumn}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
\ProcessOptions
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
% This class simply modifies a few behaviors of the article class,
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
% so load it now
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
\LoadClass{article}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
%**********************************************************************
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
% The following commands would normally be in a file such as
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
% size9.clo for the article class.  Since the size isn't really an
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
% option, I include them here.  I have followed the order of the commands
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
% as found in size10.clo.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
% I could test for the presence of % the file size9.clo and load it when
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
% availale, instead of executing these commands.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
% Set the font sizes and spacing
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
\renewcommand\baselinestretch{1}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
\renewcommand\normalsize{%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
   \@setfontsize\normalsize\@ixpt\@xpt 
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
   \abovedisplayskip 9\p@ \@plus2\p@ \@minus4.5\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
   \abovedisplayshortskip  \z@ \@plus3\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
   \belowdisplayshortskip  5.4\p@ \@plus3\p@ \@minus3\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
   \belowdisplayskip \abovedisplayskip
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
   \let\@listi\@listI}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
\normalsize
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
\renewcommand\small{%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
   \@setfontsize\small\@viiipt{9}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
   \abovedisplayskip 7.6\p@ \@plus 3\p@ \@minus 4\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
   \abovedisplayshortskip \z@ \@plus2\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
   \belowdisplayshortskip 3.6\p@ \@plus2\p@ \@minus 2\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
   \def\@listi{\leftmargin\leftmargini
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
                \topsep 4\p@ \@plus 2\p@ \@minus 2\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
                \parsep 2\p@ \@plus 1\p@ \@minus 1\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
                \itemsep \parsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
   \belowdisplayskip \abovedisplayskip
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
\renewcommand\footnotesize{%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
   \@setfontsize\footnotesize\@viipt{8}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
   \abovedisplayskip 6.4\p@ \@plus 2\p@ \@minus 4\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
   \abovedisplayshortskip \z@ \@plus 1\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
   \belowdisplayshortskip 2.7\p@ \@plus 1\p@ \@minus 2\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
   \def\@listi{\leftmargin\leftmargini
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
               \topsep 3\p@ \@plus 1\p@ \@minus 1\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
               \parsep 2\p@ \@plus 1\p@ \@minus 1\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
               \itemsep \parsep}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
   \belowdisplayskip \abovedisplayskip
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
\renewcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8pt}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
\renewcommand\tiny{\@setfontsize\tiny\@vpt{6pt}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
\renewcommand\large{\@setfontsize\large\@xipt{13.6\p@}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
\renewcommand\Large{\@setfontsize\Large\@xiipt{14\p@}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
\renewcommand\LARGE{\@setfontsize\LARGE\@xivpt{18\p@}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
\renewcommand\huge{\@setfontsize\huge\@xviipt{22\p@}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
\renewcommand\Huge{\@setfontsize\Huge\@xxpt{25\p@}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
\setlength\parindent{13.5\p@}    % This is what normally used for one
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
                                 % column.  Should it be 1em for us?
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
\setlength\headheight{0\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
\setlength\headsep{0\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
\setlength\headheight{0\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
\setlength\headsep{0\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
\setlength\footskip{30\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
% There was no \topskip or \@maxdepth in the original acmconf.sty.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
% Thus, we inherit 
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
%\topskip 10pt 
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
%\maxdepth .5\topskip
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
% from size10.clo loaded via article.cls
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
\setlength\textwidth{42pc}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
\setlength\textheight{650\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
\setlength\oddsidemargin{4.5pc}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
\addtolength\oddsidemargin{-1in}    % Correct for LaTeX gratuittousness
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
\setlength\evensidemargin{4.5pc}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
\addtolength\evensidemargin{-1in}   % Correct for LaTeX gratuittousness
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
\setlength\marginparwidth{0\p@}     % Margin pars are not allowed.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
\setlength\marginparsep{11\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
\setlength\marginparpush{5\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
\setlength\topmargin{4.5pc}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
\addtolength\topmargin{-1in}         % Correct for LaTeX gratuitousness
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
% I wonder if these next three lines should only be executed if
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
% the preprint option is in effect?  -- DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
%% Must redefine the top margin so there's room for headers and
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
%% page numbers if you are using the preprint option. Footers
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
%% are OK as is. Olin.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
\addtolength\topmargin{-37\p@} % Leave 37pt above text for headers
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
\setlength\headheight{12\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
\setlength\headsep{25\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
\setlength\footnotesep{5.6\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
\setlength{\skip\footins}{8.1\p@ \@plus 4\p@ \@minus 2\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
\setlength\floatsep{11\p@ \@plus 2\p@ \@minus 2\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
\setlength\textfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
\setlength\intextsep{11\p@ \@plus 2\p@ \@minus 2\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
\setlength\dblfloatsep{11\p@ \@plus 2\p@ \@minus 2\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
\setlength\dbltextfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
% These values will be inherited from the default size10.clo file
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
% included when we load the base article class.  I include them
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
% here for completeness in case we split out the size9.clo file someday.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
%   --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
\setlength\@fptop{0\p@ \@plus 1fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
\setlength\@fpsep{8\p@ \@plus 2fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
\setlength\@fpbot{0\p@ \@plus 1fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
\setlength\@dblfptop{0\p@ \@plus 1fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
\setlength\@dblfpsep{8\p@ \@plus 2fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
\setlength\@dblfpbot{0\p@ \@plus 1fil}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
% I think that all of these should be renewcommands.  I also think
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
% that \setlength should be used.  But, they are not in the size10.clo
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
% file that I am following.   --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
\renewcommand\@listI{\leftmargin\leftmargini 
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
                     \parsep 3.6\p@ \@plus 2\p@ \@minus 1\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
                     \topsep 7.2\p@ \@plus 2\p@ \@minus 4\p@%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
                     \itemsep 3.6\p@ \@plus 2\p@ \@minus 1\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
\let\@listi\@listI
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
\@listi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
\def\@listii {\leftmargin\leftmarginii
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
              \labelwidth\leftmarginii
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
              \advance\labelwidth-\labelsep
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
              \topsep 3.6\p@ \@plus 2\p@ \@minus 1\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
              \parsep 1.8\p@ \@plus 0.9\p@ \@minus 0.9\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
              \itemsep \parsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
\def\@listiii{\leftmargin\leftmarginiii
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
              \labelwidth\leftmarginiii
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
              \advance\labelwidth-\labelsep
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
              \topsep 1.8\p@ plus 0.9\p@ minus 0.9\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
              \parsep \z@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
              \partopsep 1\p@ plus 0\p@ minus 1\p@
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
              \itemsep \topsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
\def\@listiv {\leftmargin\leftmarginiv
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
              \labelwidth\leftmarginiv
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
              \advance\labelwidth-\labelsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
\def\@listv  {\leftmargin\leftmarginv
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
              \labelwidth\leftmarginv
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
              \advance\labelwidth-\labelsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
\def\@listvi {\leftmargin\leftmarginvi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
              \labelwidth\leftmarginvi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
              \advance\labelwidth-\labelsep}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
% End of the "size9.clo" commands
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
%**********************************************************************
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
% here's a few things that I didn't find in either article.cls or
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
% size10.clo, so I left them here.  --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
\setlength\columnsep{2pc}          %    Space between columns
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
\setlength\columnseprule{0\p@}     %    Width of rule between columns.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
\hfuzz 1pt               % Allow some variation in column width, otherwise it's
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
                         % too hard to typeset in narrow columns.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
%**********************************************************************
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
% Now we get on with overriding things found in article.cls
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
\setlength\parindent{13.5\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
% This command is used to format section headings.  The format is the only
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
% thing that differs between these section commands and the ones in
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
% article.cls.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
% Although the original documentation says that sans-serif is supposed to be
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
% used for section titles, the file as I received uses roman.  The
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
% commented out line implements sans-serif.  Be sure to comment out the
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
% \bfseries line if you switch.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
%   --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
\newcommand\@acmtitlestyle{\normalsize\bfseries}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
%\newcommand\@acmtitlestyle{\normalsize\sffamily}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
\renewcommand\section{\@startsection {section}{1}{\z@}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
                                     {-3.5ex \@plus -1ex \@minus -.2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
                                     {2.3ex \@plus .2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
                                     {\@acmtitlestyle}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
                                       {-3.25ex \@plus -1ex \@minus -.2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
                                       {1.5ex \@plus .2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
                                       {\@acmtitlestyle}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
                                          {-3.25ex \@plus -1ex \@minus -.2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
                                          {1.5ex \@plus .2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
                                          {\@acmtitlestyle}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
                                      {3.25ex \@plus 1ex \@minus .2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
                                      {-1em}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
                                      {\@acmtitlestyle}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
\renewcommand\subparagraph{\@startsection{subparagraph}{4}{\parindent}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
                                         {3.25ex \@plus 1ex \@minus .2ex}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
                                         {-1em}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
                                         {\@acmtitlestyle}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
\setcounter{secnumdepth}{3}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
\setlength\arraycolsep{4.5\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
\setlength\tabcolsep{5.4\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
\setlength\doublerulesep{1.8\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
\setlength\fboxsep{2.7\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
\setlength\fboxrule{.4\p@}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
\def\tableofcontents{\ClassError{acmconf}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
  {\protect\tableofcontents: Tables of contents are not allowed in the `acmconf' document class}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
  {Remove the \protect\tableofcontents\space command from the file}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
\def\listoffigures{\ClassError{acmconf}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
  {\protect\listoffigures: Lists of figures are not allowed in the `acmconf' document class}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
  {Remove the \protect\listoffigures\space command from the file}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
\def\listoftables{\ClassError{acmconf}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
   {\protect\listoftables: Lists of tables are not allowed in the `acmconf' document class}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
   {Remove the \protect\listoftables\space command from the file}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
\let\l@table\l@figure
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
% Added \@makefntext definition so that the mark would not over print
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
% the beginning of the \thanks text.  --DAB
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
\def\maketitle{\par
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
 \begingroup
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
   \def\thefootnote{\fnsymbol{footnote}}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
   \def\@makefnmark{\hbox to 0pt{$\m@th^{\@thefnmark}$\hss}}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
   \long\def\@makefntext##1{\parindent 1em\noindent
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
               \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
   \if@twocolumn
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
     \twocolumn[\@maketitle]
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
     \else \newpage
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
     \global\@topnum\z@        % Prevents figures from going at top of page.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
     \@maketitle \fi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
   \thispagestyle{plain}\@thanks  % UE: Changed {empty} to {plain}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
 \endgroup
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
 \setcounter{footnote}{0}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
 \let\maketitle\relax
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
 \let\@maketitle\relax
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@affili{}\let\thanks\relax}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
% extra declarations needed for our version of @maketitle
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
\newbox\@acmtitlebox
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
\gdef\affili{}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
\def\affiliation#1{\gdef\affili{#1}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
% The modified @maketitle
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
\def\@maketitle{\newpage
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
 \null
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
 \setbox\@acmtitlebox\vbox{%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
   \vskip 2em                 % Vertical space above title.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
   \begin{center}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
    {\LARGE \@title \par}     % Title set in \LARGE size.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
    \vskip 1.5em                % Vertical space after title.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
    {\large                        % each author set in \large, in a
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
     \lineskip .5em           % tabular environment
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
     \begin{tabular}[t]{c}\@author
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
     \end{tabular}\par}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
     \vskip 1em
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
     \begin{center}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
       {\large \affili}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
     \end{center}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
     \vskip 1.5em              % Vertical space after author.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
   \end{center}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
 \dimen0=\ht\@acmtitlebox
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
 \advance\dimen0 by -13.5pc\relax
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
 \unvbox\@acmtitlebox
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
\long\def\unmarkedfootnote#1{{\long\def\@makefntext##1{##1}\footnotetext{#1}}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
%% Use one of \copyrightspace or \toappear{To appear in the ACM ...}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
\def\copyrightspace{\unmarkedfootnote{\vrule height 4.5pc
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
                                             width  0in depth 0in}}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
%% \small is bigger than \footnotesize.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
\def\toappear#1%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
    {\ifpreprint \unmarkedfootnote{\vrule height 2.25pc%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
                                          depth  2.25pc width 0in%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
                                   \parbox{2.8in}{\small #1}}%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
     \else \copyrightspace \fi}
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
1556
a7072d498723 more work on the paper
Christian Urban <urbanc@in.tum.de>
parents: 1493
diff changeset
   425
%\def\marginpar{\ClassError{acmconf}%
a7072d498723 more work on the paper
Christian Urban <urbanc@in.tum.de>
parents: 1493
diff changeset
   426
%   {The \protect\marginpar command is not allowed in the `acmconf' document class}%
a7072d498723 more work on the paper
Christian Urban <urbanc@in.tum.de>
parents: 1493
diff changeset
   427
%   {Remove the \protect\marginpar\space command from the file}}
1493
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
\mark{{}{}}   % Initializes TeX's marks
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
%% Headings are ignored unless the [preprint] option is in force.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
\ifpreprint\else % preprint off -- all \pagestyle commands ==> \pagestyle{empty}.
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
%  \let\ps@plain\ps@empty  % UE: Commented this line out
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
  \let\ps@headings\ps@empty
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
  \let\ps@myheadings\ps@empty
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
\fi
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
\raggedbottom               % Ragged bottom
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
\endinput
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
%%
52f68b524fd2 slightly more of the paper
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
%% End of file `acmconf.cls'.