Journal/document/acmtrans2m.cls
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 03 Dec 2012 08:16:58 +0000
changeset 372 2c56b20032a7
permissions -rw-r--r--
made changes and updates to the journal paper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
372
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
% latex2e by nr 7/3/96
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
% acmtrans.cls revised 4/19/96
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
%              revised again 31-JAN-1996 (see end of file)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
%              revised 5-14-1997 :
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
%                       Don't use sans-serif font in categories and descriptors
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
%                       include latexsym by default
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
%                       Define longpage and shortpage
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
% Adjusted from the acmtrans2e.cls file to the needs of ACM TOCL by
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
% Marco Aiello on June 14, 2000.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
% Further changes made by Frederic Goualard on Sep. 27, 2000
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
% to take care of the indentation problem in the bibliography 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
% arising without the use of the hyperref package.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
% Modularization to adapt to the needs of ALL Transactions of the ACM, 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
% and the Journal of the ACM, by Marco Aiello on June and October 2001.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
% Here is the basic framework that is needed to convert your paper 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
% into ACM Transactions format and bibliographic format.  For a tutorial
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
% introduction, see ``instructions.tex'' (compile it with LaTeX) that
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
% accompanies the distribution of this style file.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
%  -> \documentclass{acmtrans2m}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
%  -> \markboth{}{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
%         takes 2 arguments and it is for the left- and right-page headers:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    23
%         the first set of braces is assigned for author's name(s) 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    24
%         and
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    25
%         the second set of braces is assigned for the title 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
%             (if the title is too long, contraction may be needed
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
%  -> \title{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
%         if the title is too long, it can be separated by \\
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    29
%  -> \author{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    30
%         author1 \\ author1 affiliation
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
%         \and
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    32
%         author2 \\ author2 affiliation
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    33
%  -> \begin{abstract}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
%  -> \end{abstract}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    35
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
%  -> \category{}{}{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
%         takes 3 arguments for the Computing Reviews Classification Scheme.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
%         ex: \category{D.3.3}{Programming Languages}{Language Constructs and 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
%                   Features}[data types and structures]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
%                   the last argument, in square brackets, is optional.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
%  -> \terms{} (ex: \terms{Human Factors, Languages})
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    42
%  -> \keywords{} (in alphabetical order \keywords{document processing, sequences, 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    43
%                      string searching, subsequences, substrings})
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
%  -> \begin{document}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    45
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
%  -> \begin{bottomstuff}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    47
%          similar to \thanks     
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
%          for authors' addresses; research/grant statements
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
%  -> \end{bottomstuff}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
%  -> \maketitle
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
%     Now you can start the body of the paper; your figures, tables and 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    53
%          use all the latex constructs.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    54
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    55
%  -> \begin{acks}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    56
%          acknowledgements
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    57
%  -> \end{acks}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    58
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    59
%  -> \bibliographystyle{acmtrans}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    60
%  -> \bibliography{mybib_file}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    61
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    62
%     ****
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    63
%     If your paper has been accepted with a separate (electronic only)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    64
%        appendix, you need to add the following control sequence:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    65
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    66
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
%       body of appendix 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    68
%!!!!!! \appendixhead has be cut into two: \appendixhead and \elecappendix
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    69
%!!!!!! See end of file. (jtb)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    70
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
%  -> \end{document}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    72
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    73
% Do not worry about the other definitions in this style file
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    74
% Remember to compile: latex, bibtex, latex latex
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    75
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    76
% Bibliographic cite forms needed:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    77
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    78
%  \cite{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    79
%    which produces citations with author list and year.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
%    eg. [Brown 1978; Jarke, et al. 1985]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
%  \citeA{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    82
%    which produces citations with only the author list.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    83
%    eg. [Brown; Jarke, et al.]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
%  \citeN{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    85
%    which produces citations with the author list and year, but
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    86
%    can be used as nouns in a sentence; no brackets appear around
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    87
%    the author names, but only around the year.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    88
%      eg. Shneiderman [1978] states that......
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    89
%    \citeN should only be used for a single citation.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    90
%    \citeNN{refkey1,refkey2} for author [ref1year; ref2year]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    91
%    \citeyear{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    92
%        which produces the year information only, within brackets.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    93
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    94
% Abbreviated author lists use the ``et al.'' construct.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    95
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    96
% The above are examples of required ACM bibliographic cite formats needed.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    97
% *******************
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    98
% Here is the complete list of cite forms from the chicago bibliographic style
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    99
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   100
%  \cite{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   101
%    which produces citations with abbreviated author list and year.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   102
%  \citeNP{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   103
%    which produces citations with abbreviated author list and year.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   104
%  \citeA{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   105
%    which produces only the abbreviated author list.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   106
%  \citeANP{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   107
%    which produces only the abbreviated author list.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   108
%  \citeN{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   109
%    which produces the abbreviated author list and year, with only the
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   110
%    year in parentheses. Use with only one citation.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   111
%  \citeyear{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   112
%    which produces the year information only, within parentheses.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   113
%  \citeyearNP{key}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   114
%    which produces the year information only.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   115
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   116
% Abbreviated author lists use the ``et al.'' construct.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   117
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   118
% `NP' means `no parentheses' 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   119
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   120
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   121
\NeedsTeXFormat{LaTeX2e}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   122
\ProvidesClass{acmtrans2m} [1996/07/03 ACM Transactions class based on <23 April 96>]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   123
\RequirePackage{latexsym}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   124
%aiellom{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   125
\RequirePackage{url}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   126
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   127
% Do not change the following! Use the appropriate acmtocl, acmtods, ... 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   128
% options in the .tex file
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   129
\def\@acmVolume{V} %the volume
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   130
\def\@acmNumber{N} %the number
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   131
\def\@acmYear{YY}  %the last two digits of the year, 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   132
\def\@acmMonth{0}  %the month number
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   133
\def\@journalName{ACM Journal Name} %the name of the ACM journal
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   134
\def\@journalNameShort{jn} %the acronym of the ACM journal
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   135
\def\@permissionCodeOne{0000-0000} %the permission code of the ACM journal
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   136
\def\@permissionCodeTwo{\acmMonthCode} %the permission code of the ACM journal part 2
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   137
\def\@pageCode{\acmPageCode} %the first page of the article in 4 digits
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   138
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   139
\newif\if@acmnow \newif\if@acmjacm \newif\if@acmcsur
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   140
\newif\if@acmtissec \newif\if@acmtochi \newif\if@acmtocl
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   141
\newif\if@acmtocs \newif\if@acmtodaes \newif\if@acmtods
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   142
\newif\if@acmtogs \newif\if@acmtois \newif\if@acmtoit
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   143
\newif\if@acmtomacs \newif\if@acmtoms \newif\if@acmtoplas
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   144
\newif\if@acmtosem
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   145
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   146
\DeclareOption{acmnow}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   147
  \typeout{Directly generating the Month and Year for footers from the clock.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   148
  \def\@acmYear{\yearTwoDigits}  
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   149
  \def\@acmMonth{\the\month}  
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   150
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   151
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   152
\DeclareOption{acmjacm}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   153
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   154
  \typeout{Using ACM JACM option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   155
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   156
  %\global\@acmjacmfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   157
  \global\@acmcsurfalse \global\@acmtissecfalse \global\@acmtochifalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   158
  \global\@acmtoclfalse \global\@acmtocsfalse \global\@acmtodaesfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   159
  \global\@acmtodsfalse \global\@acmtogsfalse \global\@acmtoisfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   160
  \global\@acmtoitfalse \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   161
  \global\@acmtoplasfalse \global\@acmtosemfalse 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   162
  \global\@acmjacmtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   163
  \def\@journalName{Journal of the ACM} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   164
  \def\@journalNameShort{jacm}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   165
  \def\@permissionCodeOne{0004-5411} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   166
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   167
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   168
\DeclareOption{acmcsur}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   169
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   170
  \typeout{Using ACM CSUR option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   171
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   172
  \global\@acmjacmfalse % \global\@acmcsurfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   173
  \global\@acmtissecfalse \global\@acmtochifalse \global\@acmtoclfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   174
  \global\@acmtocsfalse \global\@acmtodaesfalse \global\@acmtodsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   175
  \global\@acmtogsfalse \global\@acmtoisfalse \global\@acmtoitfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   176
  \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   177
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   178
  \global\@acmcsurtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   179
  \def\@journalName{ACM Computing Surveys}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   180
  \def\@journalNameShort{csur}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   181
  \def\@permissionCodeOne{0360-0300} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   182
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   183
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   184
\DeclareOption{acmtissec}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   185
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   186
  \typeout{Using ACM TISSEC option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   187
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   188
  \global\@acmjacmfalse \global\@acmcsurfalse %\global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   189
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   190
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   191
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   192
  \global\@acmtomsfalse \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   193
  \global\@acmtissectrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   194
  \def\@journalName{ACM Transactions on Information Systems and Security}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   195
  \def\@journalNameShort{tissec}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   196
  \def\@permissionCodeOne{1094-9224} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   197
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   198
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   199
\DeclareOption{acmtochi}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   200
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   201
  \typeout{Using ACM TOCHI option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   202
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   203
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   204
  %\global\@acmtochifalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   205
  \global\@acmtoclfalse \global\@acmtocsfalse \global\@acmtodaesfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   206
  \global\@acmtodsfalse \global\@acmtogsfalse \global\@acmtoisfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   207
  \global\@acmtoitfalse \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   208
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   209
  \global\@acmtochitrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   210
  \def\@journalName{ACM Transactions on Computer-Human Interaction}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   211
  \def\@journalNameShort{tochi}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   212
  \def\@permissionCodeOne{1073-0516} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   213
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   214
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   215
\DeclareOption{acmtocl}{ 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   216
  \typeout{} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   217
  \typeout{Using ACM TOCL option: 2001/06/01 by Marco Aiello et al.}  
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   218
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   219
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   220
  \global\@acmtochifalse  %\global\@acmtoclfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   221
  \global\@acmtocsfalse \global\@acmtodaesfalse \global\@acmtodsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   222
  \global\@acmtogsfalse \global\@acmtoisfalse \global\@acmtoitfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   223
  \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   224
  \global\@acmtoplasfalse \global\@acmtosemfalse 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   225
  \global\@acmtocltrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   226
  \def\@journalName{ACM Transactions on Computational Logic}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   227
  \def\@journalNameShort{tocl}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   228
  \def\@permissionCodeOne{1529-3785} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   229
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   230
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   231
\DeclareOption{acmtocs}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   232
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   233
  \typeout{Using ACM TOCS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   234
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   235
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   236
  \global\@acmtochifalse \global\@acmtoclfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   237
  %\global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   238
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   239
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   240
  \global\@acmtomsfalse \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   241
  \global\@acmtocstrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   242
  \def\@journalName{ACM Transactions on Computer Systems}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   243
  \def\@journalNameShort{tocs}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   244
  \def\@permissionCodeOne{0734-2071} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   245
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   246
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   247
\DeclareOption{acmtodaes}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   248
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   249
  \typeout{Using ACM TODAES option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   250
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   251
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   252
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   253
  %\global\@acmtodaesfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   254
  \global\@acmtodsfalse \global\@acmtogsfalse \global\@acmtoisfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   255
  \global\@acmtoitfalse \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   256
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   257
  \global\@acmtodaestrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   258
  \def\@journalName{ACM Transactions on Design Automation of Electronic Systems}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   259
  \def\@journalNameShort{todaes}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   260
  \def\@permissionCodeOne{1084-4309} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   261
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   262
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   263
\DeclareOption{acmtods}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   264
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   265
  \typeout{Using ACM TODS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   266
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   267
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   268
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   269
  \global\@acmtodaesfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   270
  %\global\@acmtodsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   271
  \global\@acmtogsfalse \global\@acmtoisfalse \global\@acmtoitfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   272
  \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   273
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   274
  \global\@acmtodstrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   275
  \def\@journalName{ACM Transactions on Database Systems}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   276
  \def\@journalNameShort{tods}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   277
  \def\@permissionCodeOne{0362-5915} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   278
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   279
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   280
\DeclareOption{acmtogs}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   281
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   282
  \typeout{Using ACM TOGS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   283
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   284
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   285
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   286
  \global\@acmtodaesfalse \global\@acmtodsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   287
  %\global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   288
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   289
  \global\@acmtomsfalse \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   290
  \global\@acmtogstrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   291
  \def\@journalName{ACM Transactions on Graphics}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   292
  \def\@journalNameShort{togs}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   293
  \def\@permissionCodeOne{0730-0301} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   294
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   295
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   296
\DeclareOption{acmtois}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   297
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   298
  \typeout{Using ACM TOIS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   299
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   300
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   301
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   302
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   303
  %\global\@acmtoisfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   304
  \global\@acmtoitfalse \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   305
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   306
  \global\@acmtoistrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   307
  \def\@journalName{ACM Transactions on Information Systems}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   308
  \def\@journalNameShort{tois}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   309
  \def\@permissionCodeOne{1046-8188} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   310
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   311
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   312
\DeclareOption{acmtoit}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   313
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   314
  \typeout{Using ACM TOIT option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   315
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   316
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   317
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   318
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   319
  \global\@acmtoisfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   320
  %\global\@acmtoitfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   321
  \global\@acmtomacsfalse \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   322
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   323
  \global\@acmtoittrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   324
  \def\@journalName{ACM Transactions on Internet Technology}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   325
  \def\@journalNameShort{toit}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   326
  \def\@permissionCodeOne{1533-5399} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   327
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   328
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   329
\DeclareOption{acmtomacs}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   330
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   331
  \typeout{Using ACM TOMACS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   332
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   333
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   334
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   335
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   336
  \global\@acmtoisfalse \global\@acmtoitfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   337
  %\global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   338
  \global\@acmtomsfalse \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   339
  \global\@acmtomacstrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   340
  \def\@journalName{ACM Transactions on Modeling and Computer Simulation}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   341
  \def\@journalNameShort{tomacs}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   342
  \def\@permissionCodeOne{1049-3301} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   343
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   344
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   345
\DeclareOption{acmtoms}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   346
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   347
  \typeout{Using ACM TOMS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   348
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   349
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   350
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   351
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   352
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   353
  %\global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   354
  \global\@acmtoplasfalse \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   355
  \global\@acmtomstrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   356
  \def\@journalName{ACM Transactions on Mathematical Software}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   357
  \def\@journalNameShort{toms}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   358
  \def\@permissionCodeOne{0098-3500} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   359
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   360
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   361
\DeclareOption{acmtoplas}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   362
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   363
  \typeout{Using ACM TOPLAS option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   364
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   365
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   366
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   367
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   368
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   369
  \global\@acmtomsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   370
  %\global\@acmtoplasfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   371
  \global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   372
  \global\@acmtoplastrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   373
  \def\@journalName{ACM Transactions on Programming Languages and Systems}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   374
  \def\@journalNameShort{toplas}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   375
  \def\@permissionCodeOne{0164-0925} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   376
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   377
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   378
\DeclareOption{acmtosem}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   379
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   380
  \typeout{Using ACM, TOSEM option: 2001/06/01 by Marco Aiello et al.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   381
  \typeout{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   382
  \global\@acmjacmfalse \global\@acmcsurfalse \global\@acmtissecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   383
  \global\@acmtochifalse \global\@acmtoclfalse \global\@acmtocsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   384
  \global\@acmtodaesfalse \global\@acmtodsfalse \global\@acmtogsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   385
  \global\@acmtoisfalse \global\@acmtoitfalse \global\@acmtomacsfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   386
  \global\@acmtomsfalse \global\@acmtoplasfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   387
  %\global\@acmtosemfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   388
  \global\@acmtosemtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   389
  \def\@journalName{ACM Transactions on Software Engineering and Methodology}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   390
  \def\@journalNameShort{tosem}        
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   391
  \def\@permissionCodeOne{1049-331X} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   392
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   393
%}aiellom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   394
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   395
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   396
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   397
\if@compatibility\else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   398
\DeclareOption{a4paper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   399
   {\setlength\paperheight {297mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   400
    \setlength\paperwidth  {210mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   401
    \def\special@paper{210mm,297mm}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   402
\DeclareOption{a5paper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   403
   {\setlength\paperheight {210mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   404
    \setlength\paperwidth  {148mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   405
    \def\special@paper{148mm,210mm}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   406
\DeclareOption{b5paper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   407
   {\setlength\paperheight {250mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   408
    \setlength\paperwidth  {176mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   409
    \setlength\voffset     {-15mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   410
    \setlength\hoffset     {-20mm}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   411
    \def\special@paper{176mm,250mm}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   412
\DeclareOption{letterpaper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   413
   {\setlength\paperheight {11in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   414
    \setlength\paperwidth  {8.5in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   415
    \def\special@paper{8.5in,11in}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   416
\DeclareOption{legalpaper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   417
   {\setlength\paperheight {14in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   418
    \setlength\paperwidth  {8.5in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   419
    \def\special@paper{8.5in,14in}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   420
\DeclareOption{executivepaper}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   421
   {\setlength\paperheight {10.5in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   422
    \setlength\paperwidth  {7.25in}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   423
    \def\special@paper{7.25in,10.5in}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   424
\DeclareOption{landscape}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   425
   {\setlength\@tempdima   {\paperheight}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   426
    \setlength\paperheight {\paperwidth}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   427
    \setlength\paperwidth  {\@tempdima}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   428
\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   429
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   430
\DeclareOption{checkMargin}{\setlength\overfullrule{5pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   431
\DeclareOption{final}{\setlength\overfullrule{0pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   432
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   433
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   434
\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   435
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   436
\DeclareOption{10pt}{\def\@ptsize{0}} %needed for amssymbols.sty 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   437
\DeclareOption{11pt}{\ClassError{acmtrans}{11pt style not supported}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   438
                        {ACM transactions documents can be set in 10pt only}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   439
\DeclareOption{12pt}{\ClassError{acmtrans}{11pt style not supported}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   440
                        {ACM transactions documents can be set in 10pt only}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   441
\newif\if@hyperref
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   442
\DeclareOption{hyperref}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   443
        \def\pages{\pageref{@firstpg}--\pageref{@lastpg}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   444
        \def\mypage{\thepage}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   445
        \def\@getpagenum#1#2#3#4{#2}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   446
        \def\pdfinfo#1#2{\pdfmark{pdfmark=/DOCINFO,Title=#1,Author=#2}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   447
        \global\@hyperreftrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   448
        }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   449
\DeclareOption{nohyperref}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   450
                \def\pages{\pageref{@firstpg}--\pageref{@lastpg}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   451
                \def\@getpagenum#1#2{#2}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   452
                \def\mypage{\thepage}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   453
                \def\pdfinfo#1#2{}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   454
                \def\pdfbookmark#1#2{}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   455
                \global\@hyperreffalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   456
                }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   457
\DeclareOption{notfinal}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   458
                \def\pages{BD}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   459
                \def\mypage{TBD}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   460
                \def\@getpagenum#1#2{#2}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   461
                \def\pdfinfo#1#2{}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   462
                \def\pdfbookmark#1#2{}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   463
                }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   464
\DeclareOption{omitline}{\def\@abstractbottom{\relax}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   465
\DeclareOption{dontomitline}{\def\@abstractbottom{\if@acmjacm\else\hbox{\vrule height .2pt width 30pc}\fi}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   466
\ExecuteOptions{twoside,notfinal,10pt,dontomitline,nohyperref,letterpaper} % defaults
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   467
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   468
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   469
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   470
\ProcessOptions
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   471
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   472
%{aiellom to automatize the issue specific data
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   473
\def\acmVolume#1{\def\@acmVolume{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   474
\def\acmNumber#1{\def\@acmNumber{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   475
\if@acmnow\else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   476
\def\acmYear#1{\def\@acmYear{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   477
\def\acmMonth#1{\def\@acmMonth{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   478
\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   479
\def\@acmMonthName{\ifnum\@acmMonth=1 January\fi\ifnum\@acmMonth=2 February\fi\ifnum\@acmMonth=3 March\fi\ifnum\@acmMonth=4 April\fi\ifnum\@acmMonth=5 May\fi\ifnum\@acmMonth=6 June\fi\ifnum\@acmMonth=7 July\fi\ifnum\@acmMonth=8 August\fi\ifnum\@acmMonth=9 September\fi\ifnum\@acmMonth=10 October\fi\ifnum\@acmMonth=11 November\fi\ifnum\@acmMonth=12 December\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   480
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   481
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   482
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   483
% Command to get the year from the system and display the last two digits
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   484
\newcommand{\ignoretwo}[2]{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   485
\newcommand{\yearTwoDigits}{\expandafter\ignoretwo\the\year}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   486
% overright the \@setref definition, so that if a reference is undefined 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   487
% then it returns a number 0 and then the usual double boldface 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   488
% question marks ??
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   489
% this is necessary for the \acmPageCode command, otherwise it gives an error 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   490
% everytime the aux file is not there
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   491
\def\@setref#1#2#3{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   492
  \ifx#1\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   493
    \number 0\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   494
    \protect\G@refundefinedtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   495
    \nfss@text{\reset@font\bfseries ??}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   496
    \@latex@warning{Reference `#3' on page \thepage \space undefined}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   497
  \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   498
    \expandafter#2#1\null
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   499
  \fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   500
%make the code a four digits string based on the first page number
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   501
\newcommand{\acmPageCode}{\bgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   502
  \newcount\c@tempo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   503
  \setcounter{tempo}{\number\pageref{@firstpg}}\ifnum \c@tempo<1000 0\fi\ifnum \c@tempo<100 0\fi\ifnum \c@tempo<10 0\fi\ifnum \c@tempo<1 0\fi\pageref{@firstpg}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   504
  \egroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   505
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   506
\newcommand{\acmMonthCode}{\bgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   507
  \newcount\c@tempo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   508
  \setcounter{tempo}{\number\@acmMonth}\ifnum \c@tempo<10 0\fi\number\@acmMonth00\egroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   509
}%}aiellom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   510
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   511
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   512
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   513
\lineskip 1pt \normallineskip 1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   514
\def\baselinestretch{1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   515
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   516
\renewcommand\normalsize{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   517
  \@setfontsize\normalsize\@xpt\@xiipt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   518
  \abovedisplayskip 6pt plus2pt minus1pt\belowdisplayskip \abovedisplayskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   519
  \abovedisplayshortskip 6pt plus0pt minus 3pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   520
  \belowdisplayshortskip 6pt plus0pt minus3pt\let\@listi\@listI} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   521
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   522
\newcommand\small{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   523
  \@setfontsize\small\@ixpt{11pt}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   524
  \abovedisplayskip 5pt plus 2pt minus 1pt\belowdisplayskip \abovedisplayskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   525
  \abovedisplayshortskip 5pt plus0pt minus2pt\belowdisplayshortskip 5pt plus0pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   526
      minus 2pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   527
  \def\@listi{\leftmargin\leftmargini \topsep 5pt plus 2pt minus 1pt\parsep 0pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   528
    plus .7pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   529
  \itemsep 1.6pt plus .8pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   530
\newcommand\footnotesize{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   531
%   \@setfontsize\footnotesize\@viiipt{10pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   532
 \@setsize\footnotesize{10pt}\viiipt\@viiipt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   533
  \abovedisplayskip 4pt plus 1pt minus 0pt\belowdisplayskip \abovedisplayskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   534
  \abovedisplayshortskip 4pt plus 0pt minus 1pt\belowdisplayshortskip 4pt plus
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   535
       0pt minus 1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   536
  \def\@listi{\leftmargin\leftmargini \topsep 4pt plus 1pt minus
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   537
     0pt\parsep 0pt plus .5pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   538
     \itemsep 1pt plus .7pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   539
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   540
\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   541
\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   542
\newcommand\large{\@setfontsize\large\@xiipt{14}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   543
\newcommand\Large{\@setfontsize\Large\@xivpt{18}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   544
\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   545
\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   546
\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   547
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   548
\normalsize 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   549
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   550
 \oddsidemargin .75in \evensidemargin .75in \marginparwidth .5in 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   551
 \marginparsep .125in 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   552
 \topmargin .25in \headheight 12pt\headsep 16pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   553
  %% not in latex2e  \footheight 10pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   554
  \footskip 15pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   555
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   556
\textheight 47pc \textwidth 30pc \columnsep 10pt \columnseprule 0pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   557
% next five lines added by K.R. Apt, March 20, 01
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   558
\advance\textheight-2.6pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   559
\newdimen\normaltextheight
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   560
\setlength\normaltextheight{\textheight}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   561
%\renewcommand\rmdefault{pnc}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   562
%\renewcommand\sfdefault{phv}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   563
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   564
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   565
\footnotesep 7pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   566
\skip\footins 15pt plus 4pt minus 3pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   567
\floatsep 12pt plus 2pt minus 2pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   568
\textfloatsep \floatsep 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   569
\intextsep 1pc plus 1pc 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   570
%%% not in 2e %% \@maxsep 1pc 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   571
%%% not in 2e %% \@dblmaxsep 20pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   572
\dblfloatsep 12pt plus 2pt minus 2pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   573
\dbltextfloatsep 20pt plus 2pt minus 4pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   574
\@fptop 0pt plus 1fil \@fpsep 1pc plus 2fil \@fpbot 0pt plus 1fil 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   575
\@dblfptop 0pt plus 1fil \@dblfpsep 8pt plus 2fil \@dblfpbot 0pt plus 1fil
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   576
\marginparpush 6pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   577
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   578
\parskip 0pt plus .1pt \parindent 10pt \partopsep 0pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   579
\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   580
\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   581
-\@lowpenalty 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   582
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   583
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   584
\def\part{\@ucheadtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   585
 \@startsection{part}{9}{\z@}{-10pt plus -4pt minus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   586
 -2pt}{4pt}{\reset@font\normalsize\sffamily}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   587
\def\section{\@ucheadtrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   588
 \@startsection{section}{1}{\z@}{-10pt plus -4pt minus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   589
 -2pt}{4pt}{\reset@font\normalsize\sffamily}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   590
\def\subsection{\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   591
 \@startsection{subsection}{2}{\z@}{-8pt plus -2pt minus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   592
 -1pt}{4pt}{\reset@font\normalsize\sffamily}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   593
\def\subsubsection{\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   594
 \@startsection{subsubsection}{3}{\parindent}{6pt plus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   595
1pt}{-5pt}{\reset@font\normalsize\itshape}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   596
\def\paragraph{\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   597
 \@startsection{paragraph}{3}{\parindent}{6pt plus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   598
1pt}{-5pt}{\reset@font\normalsize\itshape}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   599
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   600
\renewcommand{\@seccntformat}[1]{\textup{\csname the#1\endcsname}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   601
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   602
\gdef\@period{.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   603
\def\@trivlist{\@topsepadd\topsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   604
\if@noskipsec \gdef\@period{}\leavevmode\gdef\@period{.}\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   605
 \ifvmode \advance\@topsepadd\partopsep \else \unskip\par\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   606
 \if@inlabel \@noparitemtrue \@noparlisttrue 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   607
 \else \@noparlistfalse \@topsep\@topsepadd \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   608
 \advance\@topsep \parskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   609
 \leftskip\z@\rightskip\@rightskip \parfillskip\@flushglue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   610
 \@setpar{\if@newlist\else{\@@par}\fi} \global\@newlisttrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   611
\@outerparskip\parskip}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   612
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   613
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   614
\def\@startsection#1#2#3#4#5#6{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   615
  \if@noskipsec \leavevmode \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   616
  \par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   617
  \@tempskipa #4\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   618
  \@afterindenttrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   619
  \ifdim \@tempskipa <\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   620
    \@tempskipa -\@tempskipa \@afterindentfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   621
  \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   622
  \if@nobreak
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   623
    \everypar{}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   624
  \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   625
    \addpenalty\@secpenalty\addvspace\@tempskipa
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   626
  \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   627
  \@ifstar
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   628
    {\@ssect{#3}{#4}{#5}{#6}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   629
    {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   630
\def\@sect#1#2#3#4#5#6[#7]#8{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   631
  \ifnum #2>\c@secnumdepth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   632
    \let\@svsec\@empty
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   633
  \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   634
    \refstepcounter{#1}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   635
      \if@uchead%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   636
            \protected@edef\@svsec{\@seccntformat{#1}.\quad\relax}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   637
        \else%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   638
            \protected@edef\@svsec{\@seccntformat{#1}\quad\relax}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   639
        \fi%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   640
  \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   641
  \@tempskipa #5\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   642
  \ifdim \@tempskipa>\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   643
    \begingroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   644
      #6{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   645
        \@hangfrom{\hskip #3\relax\@svsec}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   646
          \interlinepenalty \@M \if@uchead\MakeUppercase{#8}\else#8\fi \@@par}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   647
    \endgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   648
    \csname #1mark\endcsname{#7}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   649
    \addcontentsline{toc}{#1}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   650
      \ifnum #2>\c@secnumdepth \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   651
        \protect\numberline{\csname the#1\endcsname}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   652
      \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   653
      #7}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   654
  \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   655
    \def\@svsechd{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   656
      #6{\hskip #3\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   657
      \@svsec \if@uchead\Makeuppercase{#8}\else#8\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   658
      \csname #1mark\endcsname{#7}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   659
      \addcontentsline{toc}{#1}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   660
        \ifnum #2>\c@secnumdepth \else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   661
          \protect\numberline{\csname the#1\endcsname}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   662
        \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   663
        #7}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   664
  \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   665
  \@xsect{#5}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   666
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   667
\def\@xsect#1{\@tempskipa #1\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   668
 \ifdim \@tempskipa>\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   669
 \par \nobreak
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   670
 \vskip \@tempskipa
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   671
 \@afterheading
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   672
 \else \global\@nobreakfalse \global\@noskipsectrue
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   673
 \everypar{\if@noskipsec \global\@noskipsecfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   674
 \clubpenalty\@M \hskip -\parindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   675
 \begingroup \@svsechd\@period \endgroup \unskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   676
 \hskip -#1
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   677
 \else \clubpenalty \@clubpenalty
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   678
 \everypar{}\fi}\fi\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   679
\newif\if@uchead\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   680
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   681
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   682
\setcounter{secnumdepth}{3}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   683
\newcounter{secnumbookdepth}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   684
\setcounter{secnumbookdepth}{3}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   685
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   686
\newfont{\apbf}{cmbx9}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   687
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   688
\def\@withappendix#1{App--\number #1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   689
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   690
\newcommand{\elecappendix}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   691
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   692
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   693
\def\appenheader{\global\@topnum\z@ \global\@botroom \textheight \begin{figure}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   694
\newfont{\sc}{cmcsc10}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   695
\parindent\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   696
\hbox{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   697
\vskip -\textfloatsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   698
\vskip 11pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   699
\hrule height .2pt width 30pc
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   700
\vskip 2pt\rule{0pt}{10pt}\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   701
\def\endappenheader{\end{figure}\gdef\appendixhead{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   702
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   703
\def\@appsec{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   704
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   705
\def\appendix{\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   706
 \setcounter{section}{0}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   707
 \setcounter{subsection}{0}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   708
 \def\@appsec{APPENDIX } 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   709
        \def\thesection{\Alph{section}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   710
        \def\theHsection{\Alph{section}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   711
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   712
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   713
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   714
\labelsep 5pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   715
\settowidth{\leftmargini}{(9)} \addtolength\leftmargini\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   716
\settowidth{\leftmarginii}{(b)} \addtolength\leftmarginii\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   717
\leftmarginiii \leftmarginii
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   718
\leftmarginiv \leftmarginii 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   719
\leftmarginv \leftmarginii 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   720
\leftmarginvi \leftmarginii 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   721
\leftmargin\leftmargini
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   722
\labelwidth\leftmargini\advance\labelwidth-\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   723
\def\@listI{\leftmargin\leftmargini \parsep 0pt plus 1pt\topsep 6pt plus 2pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   724
minus 2pt\itemsep 2pt plus 1pt minus .5pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   725
\let\@listi\@listI
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   726
\@listi 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   727
\def\@listii{\leftmargin\leftmarginii
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   728
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   729
 \topsep 0pt plus 1pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   730
 \parsep 0pt plus .5pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   731
 \itemsep \parsep}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   732
\def\@listiii{\leftmargin\leftmarginiii
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   733
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   734
 \topsep 0pt plus 1pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   735
 \parsep 0pt plus .5pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   736
 \itemsep \parsep}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   737
\def\@listiv{\leftmargin\leftmarginiv
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   738
 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   739
\def\@listv{\leftmargin\leftmarginv
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   740
 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   741
\def\@listvi{\leftmargin\leftmarginvi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   742
 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   743
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   744
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   745
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   746
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   747
\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   748
 \advance\@enumdepth \@ne 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   749
 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   750
 {\csname label\@enumctr\endcsname}{\usecounter
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   751
 {\@enumctr}\def\makelabel##1{##1\hss}}\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   752
\def\longenum{\ifnum \@enumdepth >3 \@toodeep\else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   753
 \advance\@enumdepth \@ne 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   754
 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   755
 {\csname label\@enumctr\endcsname}{\usecounter
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   756
 {\@enumctr}\labelwidth\z@}\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   757
%\leftmargin\z@ \itemindent\parindent}\fi} - this indents each item in enumerate
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   758
\let\endlongenum\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   759
%%--------------------CHANGED: always roman parentheses. dave ---------------%%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   760
\def\labelenumi{{\rm (}\arabic{enumi}\/{\rm )}} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   761
\def\theenumi{\arabic{enumi}} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   762
\def\labelenumii{{\rm (}\alph{enumii}\rm{)}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   763
\def\theenumii{\alph{enumii}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   764
\def\p@enumii{\theenumi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   765
\def\labelenumiii{\roman{enumiii}.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   766
\def\theenumiii{\roman{enumiii}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   767
\def\p@enumiii{\theenumi{\rm (}\theenumii{\rm )}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   768
\def\labelenumiv{\Alph{enumiv}.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   769
\def\theenumiv{\Alph{enumiv}} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   770
\def\p@enumiv{\p@enumiii\theenumiii}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   771
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   772
\def\p@enumiv{\p@enumiii\theenumiii}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   773
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   774
\def\itemize{\list{---\hskip -\labelsep}{\settowidth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   775
 {\leftmargin}{---}\labelwidth\leftmargin
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   776
 \addtolength{\labelwidth}{-\labelsep}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   777
\let\enditemize\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   778
\def\longitem{\list{---}{\labelwidth\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   779
 \leftmargin\z@ \itemindent\parindent \advance\itemindent\labelsep}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   780
\let\endlongitem\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   781
\def\verse{\let\\=\@centercr 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   782
 \list{}{\leftmargin 2pc 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   783
 \itemindent -1.5em\listparindent \itemindent 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   784
 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   785
\let\endverse\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   786
\def\quotation{\list{}{\leftmargin 2pc \listparindent .5em
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   787
 \itemindent\listparindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   788
 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   789
\let\endquotation=\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   790
\def\quote{\list{}{\leftmargin 2pc \rightmargin\leftmargin}\item[]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   791
\let\endquote=\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   792
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   793
\def\description{\list{}{\listparindent\parindent\labelwidth\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   794
 \leftmargin\z@ \itemindent\parindent\advance\itemindent\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   795
 \def\makelabel##1{\it ##1.}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   796
\let\enddescription\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   797
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   798
\def\describe#1{\list{}{\listparindent\parindent\settowidth{\labelwidth}{#1}\leftmargin
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   799
 \labelwidth\addtolength\leftmargin\labelsep\def\makelabel##1{##1\hfil}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   800
\let\enddescribe\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   801
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   802
        \def\program{\ifx\@currsize\normalsize\small \else \rm \fi\tabbing}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   803
        \let\endprogram\endtabbing
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   804
         \def\@begintheorem#1#2{\trivlist \item[\hskip 10pt\hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   805
         \labelsep{\sc{#1}\hskip 5pt\relax #2.}] \itshape}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   806
        % aiellom{: this is what makes the theorem environment with names 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   807
        % ABOVE #1 is the word example, corollary, etc.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   808
        %            #2 is the number
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   809
        % \def\@opargbegintheorem#1#2#3{\trivlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   810
        % \item[\hskip 10pt \hskip \labelsep{\sc #1\savebox\@tempboxa{#3}\ifdim 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   811
        % \wd\@tempboxa>\z@ \hskip 5pt\relax \box\@tempboxa\fi.}] \itshape}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   812
        %  is been changed to
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   813
        % #1 is the word theorem, lemma, etc.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   814
        % #2 is the number
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   815
        % #3 is the name of the theorem, lemma, etc.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   816
        \def\@opargbegintheorem#1#2#3{\trivlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   817
        \item[\hskip 10pt \hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   818
\labelsep{\sc{#1}\savebox\@tempboxa{\sc{#3}}\ifdim 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   819
        \wd\@tempboxa>\z@ \hskip 5pt\relax \sc{#2}  \box\@tempboxa\fi.}]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   820
\itshape}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   821
        % aiellom} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   822
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   823
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   824
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   825
\newif\if@qeded\global\@qededfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   826
\def\proof{\global\@qededfalse\@ifnextchar[{\@xproof}{\@proof}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   827
\def\endproof{\if@qeded\else\qed\fi\endtrivlist}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   828
\def\qed{\unskip\kern 10pt{\unitlength1pt\linethickness{.4pt}\framebox(6,6){}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   829
\global\@qededtrue}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   830
\def\@proof{\trivlist \item[\hskip 10pt\hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   831
 \labelsep{\sc Proof.}]\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   832
\def\@xproof[#1]{\trivlist \item[\hskip 10pt\hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   833
 \labelsep{\sc Proof #1.}]\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   834
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   835
\def\newdef#1#2{\expandafter\@ifdefinable\csname #1\endcsname
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   836
{\@definecounter{#1}\expandafter\xdef\csname
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   837
the#1\endcsname{\@thmcounter{#1}}\global
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   838
 \@namedef{#1}{\@defthm{#1}{#2}}\global
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   839
 \@namedef{end#1}{\@endtheorem}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   840
\def\@defthm#1#2{\refstepcounter
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   841
 {#1}\@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   842
\def\@xdefthm#1#2{\@begindef{#2}{\csname the#1\endcsname}\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   843
\def\@ydefthm#1#2[#3]{\trivlist \item[\hskip 10pt\hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   844
 \labelsep{\it #2\savebox\@tempboxa{#3}\ifdim 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   845
 \wd\@tempboxa>\z@ \ \box\@tempboxa\fi.}]\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   846
\def\@begindef#1#2{\trivlist \item[\hskip 10pt\hskip 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   847
 \labelsep{\it #1\ \rm #2.}]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   848
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   849
\def\theequation{\arabic{equation}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   850
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   851
\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   852
 \else \newpage \fi \thispagestyle{empty}\c@page\z@}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   853
\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   854
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   855
\arraycolsep 2.5pt \tabcolsep 6pt \arrayrulewidth .4pt \doublerulesep 2pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   856
\tabbingsep \labelsep 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   857
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   858
\skip\@mpfootins = \skip\footins
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   859
\fboxsep = 3pt \fboxrule = .4pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   860
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   861
\newcounter{part}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   862
\newcounter{section}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   863
\newcounter{subsection}[section]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   864
\newcounter{subsubsection}[subsection]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   865
\newcounter{paragraph}[subsubsection]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   866
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   867
\def\thepart{\Roman{part}} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   868
\def\thesection {\arabic{section}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   869
\def\thesubsection {\thesection.\arabic{subsection}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   870
\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   871
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   872
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   873
\def\@pnumwidth{1.55em}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   874
\def\@tocrmarg {2.55em}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   875
\def\@dotsep{4.5}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   876
\setcounter{tocdepth}{3}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   877
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   878
\def\tableofcontents{\section*{Contents\@mkboth{CONTENTS}{CONTENTS}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   879
 \@starttoc{toc}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   880
\def\l@part#1#2{\addpenalty{\@secpenalty}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   881
 \addvspace{2.25em plus 1pt} \begingroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   882
 \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   883
-\@pnumwidth 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   884
 {\large \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   885
 \nobreak \endgroup}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   886
\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   887
\@tempdima 1.5em \begingroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   888
 \parindent \z@ \rightskip \@pnumwidth 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   889
 \parfillskip -\@pnumwidth 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   890
 \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   891
 \endgroup}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   892
\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   893
\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   894
\def\listoffigures{\section*{List of Figures\@mkboth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   895
 {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   896
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   897
\def\listoftables{\section*{List of Tables\@mkboth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   898
 {LIST OF TABLES}{LIST OF TABLES}}\@starttoc{lot}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   899
\let\l@table\l@figure
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   900
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   901
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   902
\def\thebibliography#1{\par\footnotesize 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   903
\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   904
\@startsection{subsection}{2}{\z@}{16pt plus 2pt minus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   905
        1pt}{2pt}{\sf}*{REFERENCES}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   906
\list{\arabic{enumi}.}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   907
 \settowidth{\labelwidth}{99.}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   908
 \leftmargin\labelwidth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   909
 \advance\leftmargin\labelsep \topsep \z@ \parsep 0pt plus .1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   910
 \itemsep \parsep 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   911
 \usecounter{enumi}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   912
 \def\newblock{\hskip .11em plus .33em minus .07em}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   913
 \sloppy
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   914
 \widowpenalty=4500
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   915
 \clubpenalty=4500
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   916
 \sfcode`\.=1000\relax}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   917
\let\endthebibliography=\endlist
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   918
 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   919
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   920
\newif\if@restonecol
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   921
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   922
\columnseprule \z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   923
\columnsep 35pt\twocolumn[\section*{Index}]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   924
 \@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   925
 \parskip\z@ plus .3pt\relax\let\item\@idxitem}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   926
\def\@idxitem{\par\hangindent 40pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   927
\def\subitem{\par\hangindent 40pt \hspace*{20pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   928
\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   929
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   930
\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   931
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   932
\def\footnoterule{\kern-3\p@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   933
 \hrule \@height 0.2\p@ \@width 47\p@ 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   934
  \kern 2.6\p@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   935
} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   936
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   937
\long\def\@makefntext#1{\parindent 1em\noindent 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   938
 $^{\@thefnmark}$#1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   939
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   940
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   941
\setcounter{topnumber}{3}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   942
\def\topfraction{.99}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   943
\setcounter{bottomnumber}{1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   944
\def\bottomfraction{.5}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   945
\setcounter{totalnumber}{3}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   946
\def\textfraction{.01}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   947
\def\floatpagefraction{.85}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   948
\setcounter{dbltopnumber}{2}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   949
\def\dbltopfraction{.7}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   950
\def\dblfloatpagefraction{.5}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   951
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   952
\long\def\@makecaption#1#2{\vskip 1pc \setbox\@tempboxa\hbox{#1.\hskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   953
1em\relax #2}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   954
 \ifdim \wd\@tempboxa >\hsize #1. #2\par \else \hbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   955
to\hsize{\hfil\box\@tempboxa\hfil} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   956
 \fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   957
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   958
\def\nocaption{\refstepcounter\@captype \par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   959
 \vskip 1pc \hbox to\hsize{\hfil \footnotesize Figure \thefigure
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   960
 \hfil}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   961
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   962
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   963
\newcounter{figure}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   964
\def\thefigure{\@arabic\c@figure}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   965
\def\fps@figure{tbp}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   966
\def\ftype@figure{1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   967
\def\ext@figure{lof}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   968
\def\fnum@figure{Fig.\ \thefigure}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   969
\def\figure{\let\normalsize\footnotesize \normalsize \@float{figure}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   970
\let\endfigure\end@float
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   971
\@namedef{figure*}{\@dblfloat{figure}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   972
\@namedef{endfigure*}{\end@dblfloat}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   973
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   974
\newcounter{table}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   975
\def\thetable{\@Roman\c@table}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   976
\def\fps@table{tbp}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   977
\def\ftype@table{2}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   978
\def\ext@table{lot}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   979
\def\fnum@table{Table \thetable}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   980
\def\table{\let\normalsize\footnotesize \normalsize\@float{table}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   981
\let\endtable\end@float
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   982
\@namedef{table*}{\@dblfloat{table}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   983
\@namedef{endtable*}{\end@dblfloat}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   984
\def\acmtable#1{\@narrowfig #1\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   985
 \let\caption\@atcap \let\nocaption\@atnocap
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   986
 \def\@tmpnf{}\@ifnextchar[{\@xntab}{\@ntab}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   987
\def\endacmtable{\hbox to \textwidth{\hfil
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   988
\vbox{\hsize \@narrowfig
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   989
\box\@nfcapbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   990
{\baselineskip 4pt \hbox{\vrule height .4pt width \hsize}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   991
\vskip -1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   992
\box\@nfigbox\vskip -1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   993
{\baselineskip 4pt \hbox{\vrule height .4pt width \hsize}}}\hfil}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   994
\end@float}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   995
\def\@xntab[#1]{\def\@tmpnf{[#1]}\@ntab}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   996
\def\@ntab{\expandafter\table\@tmpnf
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   997
 \setbox\@nfigbox\vbox\bgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   998
 \hsize \@narrowfig \@parboxrestore}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   999
\def\@atmakecap #1#2{\setbox\@tempboxa\hbox{#1.\hskip 1em\relax #2}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1000
 \ifdim \wd\@tempboxa >\hsize \sloppy #1.\hskip 1em\relax #2 \par \else \hbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1001
to\hsize{\hfil\box\@tempboxa\hfil}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1002
 \fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1003
\def\@atcap{\par\egroup\refstepcounter\@captype 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1004
 \@dblarg{\@atcapx\@captype}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1005
\long\def\@atcapx#1[#2]#3{\setbox\@nfcapbox\vbox {\hsize \wd\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1006
 \@parboxrestore
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1007
 \@atmakecap{\csname fnum@#1\endcsname}{\ignorespaces #3}\par}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1008
\def\@atnocap{\egroup \refstepcounter\@captype 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1009
 \setbox\@nfcapbox\vbox {\hsize \wd\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1010
 \hbox to\hsize{\hfil \footnotesize Table \thetable\hfil}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1011
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1012
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1013
%% Narrow figures
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1014
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1015
\def\narrowfig#1{\@narrowfig #1\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1016
 \let\caption\@nfcap \let\nocaption\@nfnocap
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1017
 \def\@tmpnf{}\@ifnextchar[{\@xnfig}{\@nfig}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1018
\def\endnarrowfig{\hbox to \textwidth{\if@nfeven
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1019
 \box\@nfcapbox\hfil\box\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1020
 \else \box\@nfigbox\hfil\box\@nfcapbox\fi}\end@float}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1021
\def\@xnfig[#1]{\def\@tmpnf{[#1]}\@nfig}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1022
\def\@nfig{\expandafter\figure\@tmpnf
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1023
 \setbox\@nfigbox\vbox\bgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1024
 \hsize \@narrowfig \@parboxrestore}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1025
\def\@nfmakecap #1#2{\setbox\@tempboxa\hbox{#1.\hskip 1em\relax #2}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1026
 \ifdim \wd\@tempboxa >\hsize \sloppy #1.\hskip 1em\relax #2 \par \else \hbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1027
to\hsize{\if@nfeven\else\hfil\fi\box\@tempboxa\if@nfeven\hfil\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1028
 \fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1029
\def\@nfcap{\par\egroup\refstepcounter\@captype 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1030
 \@dblarg{\@nfcapx\@captype}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1031
\long\def\@nfcapx#1[#2]#3{\@seteven
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1032
 \setbox\@nfcapbox\vbox to \ht\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1033
 {\hsize \textwidth \advance\hsize -2pc \advance\hsize -\wd\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1034
 \@parboxrestore
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1035
 \vfil 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1036
 \@nfmakecap{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1037
 \vfil}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1038
\def\@nfnocap{\egroup \refstepcounter\@captype \@seteven
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1039
 \setbox\@nfcapbox\vbox to \ht\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1040
 {\hsize \textwidth \advance\hsize -2pc \advance\hsize -\wd\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1041
 \@parboxrestore
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1042
 \vfil 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1043
 \hbox to\hsize{\if@nfeven\else\hfil\fi 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1044
 \footnotesize Figure \thefigure
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1045
 \if@nfeven\hfil\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1046
 \vfil}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1047
\def\@seteven{\@nfeventrue 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1048
   \@ifundefined{r@@nf\thefigure}{}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1049
      \edef\@tmpnf{\csname r@@nf\thefigure\endcsname}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1050
      \edef\@tmpnf{\expandafter\@getpagenum\@tmpnf}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1051
      \ifodd\@tmpnf\relax\@nfevenfalse\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1052
\label{@nf\thefigure}\edef\@tmpnfx{\if@nfeven e\else o\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1053
\edef\@tmpnf{\write\@unused {\noexpand\ifodd \noexpand\c@page 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1054
 \noexpand\if \@tmpnfx e\noexpand\@nfmsg{\thefigure} \noexpand\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1055
 \noexpand\else 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1056
 \noexpand\if \@tmpnfx o\noexpand\@nfmsg{\thefigure}\noexpand\fi 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1057
 \noexpand\fi }}\@tmpnf}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1058
\def\@nfmsg#1{Bad narrowfig: Figure #1 on page \thepage}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1059
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1060
\newdimen\@narrowfig
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1061
\newbox\@nfigbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1062
\newbox\@nfcapbox
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1063
\newif\if@nfeven 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1064
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1065
\def\and{\\ and\\}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1066
\def\maketitle{\newpage \thispagestyle{titlepage}\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1067
 \begingroup \lineskip = \z@\null \vskip -30pt\relax 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1068
 \parindent\z@ \LARGE {\raggedright \hyphenpenalty\@M
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1069
 %\sf \@title \par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1070
  \@title \par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1071
 \global\firstfoot %aiellom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1072
 \global\runningfoot %aiellom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1073
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1074
\label{@firstpg}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1075
{ \vskip 13.5pt\relax \normalsize \sf %vskip 13.5pt between title and author
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1076
 \begingroup \addtolength{\baselineskip}{2pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1077
 \@author\par \vskip -2pt 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1078
 \endgroup }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1079
 {\ifx \@categories\@empty 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1080
 \else 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1081
 \baselineskip 17pt\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1082
 \if@acmjacm\else\hbox{\vrule height .2pt width 30pc}\fi%to eliminate the lines for jacm
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1083
 }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1084
 \vskip 8.5pt \footnotesize \box\@abstract \vskip 4pt\relax %vskip8.5 space above abstract
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1085
 {\def\and{\unskip\/{\rm ; }}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1086
 Categories and Subject Descriptors: \@categories \fi}\par\vskip 4pt\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1087
 \box\@terms \vskip 4pt\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1088
 \box\@keywords \par 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1089
 {\baselineskip 14pt\relax 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1090
 \@abstractbottom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1091
 }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1092
 \vskip 23pt\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1093
 \endgroup
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1094
\let\maketitle\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1095
 % \gdef\@author{}\gdef\@title{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1096
 \gdef\@categories{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1097
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1098
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1099
\newbox\@abstract
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1100
\newbox\@terms
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1101
\newbox\@keywords
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1102
\def\abstract{\global\setbox\@abstract=\vbox\bgroup \everypar{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1103
 \footnotesize \hsize 30pc \parindent 10pt \noindent 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1104
 \rule{0pt}{10pt}\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1105
\def\endabstract{\egroup}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1106
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1107
\def\terms#1{\setbox\@terms=\vbox{\everypar{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1108
 \footnotesize \hsize 30pc \parindent 0pt \noindent 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1109
 General Terms: \ignorespaces #1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1110
\def\keywords#1{\setbox\@keywords=\vbox{\everypar{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1111
 \footnotesize \hsize 30pc \parindent 0pt \noindent 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1112
 Additional Key Words and Phrases: \ignorespaces #1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1113
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1114
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1115
\def\category#1#2#3{\@ifnextchar
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1116
 [{\@category{#1}{#2}{#3}}{\@xcategory{#1}{#2}{#3}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1117
\def\@category#1#2#3[#4]{\edef\@tempa{\ifx \@categories\@empty 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1118
 \else ; \fi}{\def\protect{\noexpand\protect
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1119
 \noexpand}\def\and{\noexpand\and}\xdef\@categories{\@categories\@tempa #1
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1120
[{\bf #2}]: 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1121
 #3\kern\z@---\hskip\z@{\it #4}}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1122
\def\@xcategory#1#2#3{\edef\@tempa{\ifx \@categories\@empty \else ;
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1123
\fi}{\def\protect{\noexpand\protect\noexpand}\def\and{\noexpand
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1124
 \and}\xdef\@categories{\@categories\@tempa #1 [{\bf #2}]: #3}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1125
\def\@categories{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1126
\def\bottomstuff{\global\@topnum\z@ \global\@botroom \textheight \begin{figure}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1127
\parindent\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1128
\hbox{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1129
\vskip -\textfloatsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1130
\vskip 10pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1131
\hrule height .2pt width 30pc
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1132
\vskip 2pt\rule{0pt}{10pt}\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1133
\def\endbottomstuff{\permission\end{figure}\gdef\permission{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1134
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1135
\newenvironment{ackslike}[1]
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1136
  {\par \footnotesize 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1137
   \@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1138
   \@startsection{subsection}{2}{\z@}{-16pt plus -2pt minus -1pt}{2pt}{\sf}*
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1139
   {\uppercase{#1}}\par\normalsize
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1140
   \pdfbookmark{Acknowledgments}{Ack}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1141
        }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1142
  {\par}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1143
\newenvironment{acks}{\begin{ackslike}{ACKNOWLEDGMENTS}}{\end{ackslike}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1144
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1145
\def\received{\par\footnotesize\addvspace{18pt plus 0pt minus
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1146
4pt}\parindent\z@}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1147
%the line below replaced by the line that follows (K.R. Apt, July 11, 2000
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1148
%\def\endreceived{\label{@lastpg}\hskip-2pt\par}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1149
\def\endreceived{\label{@lastpg}\hskip-2pt\par\normalsize}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1150
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1151
\mark{{}{}} 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1152
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1153
\def\ps@myheadings{\let\@mkboth\@gobbletwo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1154
\def\@oddhead{\hbox{}\hfill \small\sf \rightmark\hskip
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1155
19pt{\Large$\cdot$}\hskip 17pt\mypage}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1156
\def\@oddfoot{\hbox{}\hfill\tiny\@runningfoot}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1157
\def\@evenhead{\small\sf\mypage \hskip 17pt{\Large$\cdot$}\hskip 19pt\leftmark\hfill \hbox{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1158
\def\@evenfoot{\tiny\@runningfoot\hfill\hbox{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1159
\def\sectionmark##1{}\def\subsectionmark##1{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1160
\def\@runningfoot{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1161
\def\runningfoot{\def\@runningfoot{\@journalName, Vol.\ \@acmVolume, No.\ \@acmNumber, \@acmMonthName\ 20\@acmYear.}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1162
\def\@firstfoot{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1163
\def\firstfoot{\def\@firstfoot{\@journalName, Vol.\ \@acmVolume, No.\ \@acmNumber, \@acmMonthName\ 20\@acmYear, Pages \pages.}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1164
\def\ps@titlepage{\let\@mkboth\@gobbletwo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1165
\def\@oddhead{}\def\@oddfoot{\hbox{}\hfill
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1166
\tiny\@firstfoot}\def\@evenhead{}\def\@evenfoot{\tiny\@firstfoot\hfill\hbox{}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1167
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1168
\def\today{\ifcase\month\or
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1169
 January\or February\or March\or April\or May\or June\or
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1170
 July\or August\or September\or October\or November\or December\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1171
 \space\number\day, \number\year}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1172
\def\@marrayclassiv{\@addtopreamble{$\displaystyle \@nextchar$}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1173
\def\@marrayclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1174
 \or \or \@addamp \or
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1175
 \@acolampacol \or \@firstampfalse \@acol \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1176
\edef\@preamble{\@preamble
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1177
 \ifcase \@chnum 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1178
 \hfil$\relax\displaystyle\@sharp$\hfil \or $\relax\displaystyle\@sharp$\hfil 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1179
 \or \hfil$\relax\displaystyle\@sharp$\fi}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1180
\def\marray{\arraycolsep 2.5pt\let\@acol\@arrayacol \let\@classz\@marrayclassz
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1181
 \let\@classiv\@marrayclassiv \let\\\@arraycr\def\@halignto{}\@tabarray}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1182
\def\endmarray{\crcr\egroup\egroup}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1183
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1184
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1185
\ps@myheadings \pagenumbering{arabic} \onecolumn 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1186
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1187
%-----------------------BIBLIOGRAPHY STUFF-------------------------
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1188
% this is adapted (November 1993) by Andrew Appel and Rebecca Davies from
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1189
% 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1190
%%%     filename        = "chicago.sty",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1191
%%%     version         = "4",  % MODIFIED!
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1192
%%%     date            = "31 August 1992",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1193
%%%     time            = "09:42:44 199",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1194
%%%     author          = "Glenn Paulley",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1195
%%%     address         = "Data Structuring Group
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1196
%%%                        Department of Computer Science
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1197
%%%                        University of Waterloo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1198
%%%                        Waterloo, Ontario, Canada
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1199
%%%                        N2L 3G1",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1200
%%%     telephone       = "(519) 885-1211",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1201
%%%     FAX             = "(519) 885-1208",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1202
%%%     email           = "gnpaulle@bluebox.uwaterloo.ca",
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1203
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1204
%%% ====================================================================
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1205
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1206
% this file: Modification of chicago.sty for new ACM bibliography
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1207
% style, which is similar (but not identical) to the ``Chicago'' style.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1208
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1209
% chicago.sty: Style file for use with bibtex style chicago.bst, for
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1210
% bibliographies formatted according to the 13th Edition of the Chicago
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1211
% Manual of Style.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1212
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1213
% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1214
% with lots of tweaking to make it look like APA style, along with tips
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1215
% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1216
% newapa.sty formed the basis of this style, chicago.sty. Author-date
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1217
% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1218
% supports annotations.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1219
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1220
% Version 4 (August, 1992):
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1221
% - fixed chicago.bst and chicagoa.bst to handle long author lists in
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1222
%   sorting
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1223
% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1224
%   ``article'' entries are handled correctly
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1225
% - modified chicago.sty to format entries with 2nd and subsequent lines
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1226
%   indented.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1227
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1228
%   Citation format: (author-last-name year)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1229
%             (author-last-name and author-last-name year)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1230
%             (author-last-name et al. year)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1231
%             (author-last-name)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1232
%             author-last-name
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1233
%             author-last-name (year)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1234
%             (author-last-name and author-last-name)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1235
%             (author-last-name et al.)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1236
%             (year) or (year,year)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1237
%             year or year,year
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1238
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1239
%   Reference list ordering: alphabetical by author or whatever passes
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1240
%    for author in the absence of one.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1241
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1242
% This BibTeX style has support for abbreviated author lists and for
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1243
%    year-only citations.  This is done by having the citations
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1244
%    actually look like
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1245
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1246
%    \citeauthoryear{full-author-info}{abbrev-author-info}{year}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1247
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1248
% The LaTeX style has to have the following (or similar)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1249
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1250
%     \let\@internalcite\cite
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1251
%     \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1252
%     \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1253
%     \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1254
%     \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1255
%     \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1256
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1257
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1258
% -------------------------------------------------------------------------
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1259
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1260
% Citation macros.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1261
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1262
\let\@internalcite\cite
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1263
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1264
\def\cite{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1265
    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1266
    \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1267
\def\citeXNP#1#2{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1268
  \def\@cite@label{#2}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1269
  \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1270
  \def\citeauthoryear##1##2##3{\@cite@label}\@internalcite{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1271
% \def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1272
%    \def\@cite@label{#1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1273
%    \def\@cite##1##2{\if@tempswa ##2\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1274
%    \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1275
\def\citeNP{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1276
    \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1277
    \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1278
\def\citeN{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1279
    \def\@cite##1##2{##1\if@tempswa , ##2]\else{]}\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1280
    \def\citeauthoryear##1##2##3{##2 [##3}\@citedata}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1281
\def\shortcite#1{\citeyear{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1282
\def\citeS#1{[\citeANP{#1} \citeyearNP{#1}]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1283
\def\citeNS#1{\citeANP{#1} \citeyear{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1284
\def\citeNPS#1{\citeANP{#1} \citeyearNP{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1285
%testing year,year
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1286
\def\citeNN{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1287
    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1288
    \def\citeauthoryear##1##2##3{##3}\@citedata}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1289
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1290
\def\citeA{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1291
    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1292
    \def\citeauthoryear##1##2##3{##2}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1293
\def\citeANP{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1294
    \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1295
    \def\citeauthoryear##1##2##3{##2}\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1296
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1297
\def\citeyear{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1298
    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1299
    \def\citeauthoryear##1##2##3{##3}\@citedata}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1300
\def\citeyearNP{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1301
    \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1302
    \def\citeauthoryear##1##2##3{##3}\@citedata}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1303
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1304
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1305
% \@citedata and \@citedatax:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1306
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1307
% Place commas in-between citations in the same \citeyear, \citeyearNP,
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1308
% or \citeN command.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1309
% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1310
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1311
\def\@citedata{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1312
        \@ifnextchar [{\@tempswatrue\@citedatax}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1313
                                  {\@tempswafalse\@citedatax[]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1314
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1315
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1316
\def\@citedatax[#1]#2{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1317
\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1318
  \def\@citea{}\@cite{\@for\@citeb:=#2\do%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1319
    {\@citea\def\@citea{; }\@ifundefined% by Young
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1320
       {b@\@citeb}{{\bf ?}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1321
       \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1322
{\csname b@\@citeb\endcsname}}}{#1}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1323
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1324
% don't box citations, separate with ; and a space
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1325
% also, make the penalty between citations negative: a good place to break.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1326
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1327
\def\@citex[#1]#2{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1328
\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1329
  \def\@citea{}\@cite{\@for\@citeb:=#2\do%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1330
    {\@citea\def\@citea{; }\@ifundefined% by Young
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1331
       {b@\@citeb}{{\bf ?}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1332
       \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1333
{\csname b@\@citeb\endcsname}}}{#1}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1334
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1335
% (from apalike.sty)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1336
% No labels in the bibliography.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1337
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1338
\def\@biblabel#1{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1339
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1340
% (from apalike.sty)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1341
% Set length of hanging indentation for bibliography entries.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1342
%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1343
\newlength{\bibhang}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1344
\setlength{\bibhang}{2em}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1345
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1346
% Indent second and subsequent lines of bibliographic entries. Stolen
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1347
% from openbib.sty: \newblock is set to {}.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1348
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1349
\newdimen\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1350
\bibindent=1em
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1351
\@ifundefined{refname}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1352
   {\@ifundefined{chapter}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1353
     {\newcommand{\refname}{\footnotesize REFERENCES}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1354
     {\newcommand{\refname}{\footnotesize BIBLIOGRAPHY}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1355
   }%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1356
   {}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1357
\@ifundefined{chapter}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1358
 {\def\thebibliography#1{\footnotesize \section*{\refname\@mkboth 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1359
   {\uppercase{\refname}}{\uppercase{\refname}}}\list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1360
   {[\arabic{enumi}]}{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1361
   \settowidth\labelwidth{[#1]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1362
   \leftmargin\labelwidth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1363
   \advance\leftmargin\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1364
   \advance\leftmargin\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1365
   \itemindent -\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1366
   \listparindent \itemindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1367
   \parsep \z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1368
   \usecounter{enumi}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1369
   \def\newblock{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1370
   \sloppy
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1371
   \sfcode`\.=1000\relax}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1372
 {\def\thebibliography#1{\footnotesize \chapter*{\refname\@mkboth 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1373
   {\uppercase{\refname}}{\uppercase{\refname}}}\list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1374
   {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1375
   \leftmargin\labelwidth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1376
   \advance\leftmargin\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1377
   \advance\leftmargin\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1378
   \itemindent -\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1379
   \listparindent \itemindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1380
   \parsep \z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1381
   \usecounter{enumi}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1382
   \def\newblock{}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1383
   \sloppy
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1384
   \sfcode`\.=1000\relax}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1385
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1386
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1387
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1388
% fixes to acm trans macro package
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1389
% 31-JAN-1996
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1390
% John Tang Boyland
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1391
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1392
% newdef need to take the optional parameters of newtheorem
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1393
\def\newdef#1{\@ifnextchar[{\@xnewdef{#1}}{\@ynewdef{#1}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1394
\def\@xnewdef#1[#2]#3{\newtheorem{italic@#1}[#2]{{\em #3}}\@newdef{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1395
\def\@ynewdef#1#2{\@ifnextchar[{\@xynewdef{#1}{#2}}{\@yynewdef{#1}{#2}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1396
\def\@xynewdef#1#2[#3]{\newtheorem{italic@#1}{{\em #2}}[#3]\@newdef{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1397
\def\@yynewdef#1#2{\newtheorem{italic@#1}{{\em #2}}\@newdef{#1}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1398
% and now fix up definition, to change body to use roman font:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1399
\def\@newdef#1{\newenvironment{#1}{\@ifnextchar[{\@xstartdef{#1}}{\@ystartdef{#1}}}{\end{italic@#1}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1400
%changed by K.R. Apt on Sep. 27, 2000. It was: \def\@xstartdef#1[#2]{\begin{italic@#1}[#2]\rm}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1401
\def\@xstartdef#1[#2]{\begin{italic@#1}[{\em #2}]\rm}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1402
\def\@ystartdef#1{\begin{italic@#1}\rm}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1403
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1404
% footers produced too small (vpt), when ACM typsets them at 7.5pt (!).
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1405
% A better compromise is viipt.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1406
\def\@oddfoot{\hbox{}\hfill\scriptsize\@runningfoot}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1407
\def\@evenfoot{\scriptsize\@runningfoot\hfill\hbox{}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1408
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1409
% first footer was set to (vpt), when ACM typesets them at 6.5pt (!).
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1410
% A better compromise is vipt.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1411
\def\firstfootsize{\@setsize\firstfootsize{7pt}\vipt\@vipt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1412
\def\ps@titlepage{\let\@mkboth\@gobbletwo
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1413
\def\@oddhead{}\def\@oddfoot{\hbox{}\hfill\firstfootsize\@firstfoot}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1414
\def\@evenhead{}\def\@evenfoot{\firstfootsize\@firstfoot\hfill\hbox{}}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1415
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1416
% new permission statement
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1417
\long\def\permission{\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1418
% linebreaks added to conform to the current style
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1419
Permission to make digital/hard copy of all or part of this material without
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1420
fee 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1421
for personal or classroom use
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1422
provided that the copies are not made or distributed for profit
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1423
or commercial advantage, the ACM copyright/server notice, the title of the
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1424
publication, and its date appear, and notice is given that copying is by
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1425
permission of the ACM, Inc.  To copy
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1426
otherwise, to republish, to post on servers, or to redistribute to lists
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1427
requires prior specific 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1428
permission and/or a fee.\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1429
\copyright\ 20\@acmYear\ 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1430
ACM \@permissionCodeOne/\@acmYear/\@permissionCodeTwo-\@pageCode\$5.00 % aiellom
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1431
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1432
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1433
% make sure \permission doesn't get trashed
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1434
\def\endbottomstuff{\permission\end{figure}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1435
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1436
% alternate way of using citeyear
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1437
%  \def\shortcite#1{\citeyear{#1}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1438
% enumerations and longenums are wrong
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1439
% 1. the second line in a paragraph of an enumerations in theorems
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1440
%  (or other trivlists) doesn't line up under the first
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1441
% 1. the second line of a longenum doesn't properly wrap around
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1442
%  back to the left margin.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1443
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1444
% the original definition of \@listI doesn't set labelwidth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1445
\def\@listI{\leftmargin\leftmargini
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1446
 \labelwidth\leftmargini\advance\labelwidth-\labelsep
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1447
 \parsep 0pt plus 1pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1448
 \topsep 6pt plus 2pt minus 2pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1449
 \itemsep 2pt plus 1pt minus .5pt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1450
\let\@listi\@listI
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1451
\@listi 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1452
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1453
% add set of \labelwidth and \itemindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1454
\def\longenum{\ifnum \@enumdepth >3 \@toodeep\else
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1455
 \advance\@enumdepth \@ne 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1456
 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1457
 {\csname label\@enumctr\endcsname}{\usecounter
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1458
 {\@enumctr}\labelwidth\z@\leftmargin\z@
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1459
 \itemindent\parindent \advance\itemindent\labelsep}\fi}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1460
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1461
% split electronic appendix into two parts:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1462
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1463
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1464
%aiellom{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1465
\def\appendixhead#1{\appendix
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1466
\section*{ELECTRONIC APPENDIX}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1467
The electronic appendix for this article can be accessed in
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1468
  the ACM Digital Library by visiting the following URL:$\;$ 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1469
  \url{http://www.acm.org/pubs/citations/journals/}{\tt \@journalNameShort /20\@acmYear-\@acmVolume-\@acmNumber/p\pageref{@firstpg}-#1}.
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1470
% \quad \href{http://www.acm.org/tocl}{{\small http://www.acm.org/tocl} }
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1471
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1472
%aiellom}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1473
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1474
\long\def\elecappendix{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1475
\clearpage
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1476
\makeatletter
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1477
\pagenumbering{withappendix}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1478
\makeatother
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1479
\appendix
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1480
\par\noindent{\sc This document is the online-only appendix to:}\hfill \vskip 1em
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1481
{\vbox{\Large\sf \parindent0pt\@title{}}}\vskip .5em
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1482
\vbox{\sf \parindent0pt\@author{}}\vskip .5em\noindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1483
\vskip 10pt\noindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1484
{\firstfootsize 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1485
\@journalName, Vol.\ \@acmVolume, No.\ \@acmNumber, \@acmMonthName\ 20\@acmYear, Pages \pages.}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1486
\vskip 11pt\noindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1487
\hrule height .2pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1488
\par
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1489
\bottomstuff
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1490
\endbottomstuff
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1491
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1492
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1493
% provide for a single acknowledgment
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1494
\def\ack{ \par \footnotesize 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1495
\@ucheadfalse
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1496
\@startsection{subsection}{2}{\z@}{-16pt plus -2pt minus 
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1497
 -1pt}{2pt}{\sf}*{ACKNOWLEDGMENT}\par\normalsize
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1498
\pdfbookmark{Acknowledgment}{Ack}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1499
}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1500
\def\endack{\par}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1501
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1502
% provide both spellings of Acknowledgment(s)
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1503
\let\acknowledgments\acks
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1504
\let\endacknowledgments\endacks
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1505
\let\acknowledgment\ack
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1506
\let\endacknowledgment\endack
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1507
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1508
\newcommand{\longpage}{\enlargethispage{\baselineskip}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1509
\newcommand{\shortpage}{\enlargethispage{-\baselineskip}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1510
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1511
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1512
% Don't indent bibliography and
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1513
% override \refname (which sets fontsize):
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1514
\def\thebibliography#1{
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1515
  \footnotesize\section*{\footnotesize\sf{REFERENCES}\@mkboth
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1516
  {\uppercase{\refname}}{\uppercase{\refname}}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1517
   \pdfbookmark{References}{Ref}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1518
   \list
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1519
  {\@biblabel{\arabic{enumiv}}}{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1520
   %\settowidth\labelwidth{[#1]}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1521
   \labelwidth 0pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1522
   \leftmargin \bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1523
   \labelsep 0pt
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1524
   \if@hyperref
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1525
     \itemindent -\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1526
   \fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1527
   \listparindent -\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1528
   \labelsep -\bibindent
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1529
    \usecounter{enumiv}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1530
    \let\p@enumiv\@empty
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1531
    \def\theenumiv{\arabic{enumiv}}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1532
    \def\newblock{\hskip .11em plus.33em minus.07em}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1533
    \sloppy
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1534
    \clubpenalty=4500
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1535
    \widowpenalty=4500
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1536
    \frenchspacing}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1537
\def\endthebibliography{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1538
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1539
  \endlist}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1540
\def\@lbibitem[#1]#2{\item[]\if@filesw
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1541
      {\def\protect##1{\string ##1\space}\immediate
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1542
       \write\@auxout{\string\bibcite{#2}{#1}}}\fi\hskip-1em\ignorespaces}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1543
% Fix cite so it doesn't repeat author lists in citations:
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1544
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1545
\def\cite{\def\@citeseppen{-1000}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1546
    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1547
    \let\@lastauthor=\@noauthor
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1548
    \let\citeauthoryear=\citeauthoryear@no@repeats\@internalcite}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1549
    %\def\citeauthoryear##1##2##3{##2 ##3}\@internalcite
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1550
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1551
\def\@noauthor={\relax}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1552
\let\@lastauthor=\@noauthor
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1553
\let\@currauthor=\@noauthor
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1554
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1555
\def\citeauthoryear@no@repeats#1#2#3{%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1556
  \def\@currauthor{\csname @author #1\endcsname}%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1557
  \ifx\@lastauthor\@currauthor{#3}\else{#2 #3}\fi%
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1558
  \let\@lastauthor=\@currauthor}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1559
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1560
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1561
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1562
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1563
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1564
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1565
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1566
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1567
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1568
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1569
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1570
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1571
\if@hyperref
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1572
   \let\pdfbookmark=\relax
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1573
   \RequirePackage[pdfmark]{hyperref}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1574
\fi
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1575
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1576
% \renewcommand{\thefootnote}{\arabic{footnote}\hspace{-3pt}}
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1577
2c56b20032a7 made changes and updates to the journal paper
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
  1578