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