LMCS-Paper/document/lmcs.cls
author Christian Urban <urbanc@in.tum.de>
Mon, 09 Jan 2012 10:12:46 +0000
changeset 3106 bec099d10563
parent 2989 5df574281b69
permissions -rw-r--r--
added the simple fixes for the paper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2989
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
%% Modification log
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
%% 2004/03/25 v0.1 based on amsart.cls, inspired by jair.sty 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
%% 2004/09/01 v0.2 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
%% 2004/10/12 v0.3 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
%% 2004/12/16 v0.4 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
%% 2005/01/24 v0.5 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
%% 2005/03/10 v0.6 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
%% 2006/07/24 v0.7 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
%% 2007/11/13 v0.8 based on amsart.cls
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
%%                
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
%%                 Juergen Koslowski, Stefan Milius
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\NeedsTeXFormat{LaTeX2e}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\ProvidesClass{lmcs}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
              [2009/05/25 v0.8 LMCS Layout Editor Class]
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\ProcessOptions\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\LoadClass[11pt,reqno]{amsart}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\usepackage{helvet,cclicenses}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
%   		Use of this class, cf. also lmcs-smp.tex
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
% This class builds upon the amsart class of AMS-LaTeX and requires use
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
% of LaTeX 2e. 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
% 		Start of the paper
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
% \documentclass{lmcs} 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
% without any options followed optionally by
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
% \usepackage{package1,package2,...}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
% loading additional macro packages you may wish to use, (eg, xypic, etc.)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
% (This also is the place to define further theorem-environments, in case
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
% those provided by default do not suffice, cf. below.)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
% \begin{document}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
% \title[short_title]{real title}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
% and a list of author information of the form
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
% \author[short_author1]{Author 1}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
% \address{address 1}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
% \email{author1@email1}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
% \thanks{thanks 1}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
% \author[short_author2]{Author 2}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
% \address{address 2}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
% \email{author2@email2}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
% \thanks{thanks 2}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
% \author[short_author3]{Author 3}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
% \address{address 3}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
% \email{author3@email3}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
% \thanks{thanks 3}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
% The \email and \thanks fields are optional.  The \thanks fields appear
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
% in footnotes on the title page, the addresses and email information
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
% is relegated to the end of the article.  The optional arguments to
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
% the \title and \author macros determine a running head on the odd
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
% and even pages, respectively.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
% Lists of keywords and phrases as well as an ACM Subject
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
% classification are mandatory; these appear in footnotes on the
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
% title page, preceeding any \thanks fields.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
%		Body of the paper
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
% We encourage the use of LaTeX's crossreferencing capabilities with the
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
% \label and \ref commands, for sections, subsections, theorems etc., and
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
% displayed equations and figures.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
% 		Theorems, Definitions etc.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
% The following theorem-like environments are available.  The
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
% numbering is consecutive within sections.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
% thm   Theorem
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
% cor   Corollary
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
% lem   Lemma
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
% prop  Proposition
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
% asm   Asumption
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
% defi  Definition
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
% rem   Remark
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
% rems  Remarks (intended for use with itemized remarks)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
% exa   Example
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
% exas  Examples (intended for use with itemized examples)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
% conj  Conjecture
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
% prob  Problem
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
% oprob Open Problem
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
% algo  Algorithm
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
% obs   Observation
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
% If you require additional environments, you can add them before
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
% \begin{document} by means of
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
% \theoremstyle{plain}\newtheorem{env}[thm]{Environment}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
% or
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
% \theoremstyle{definition}\newtheorem{env}[thm]{Environment}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
% In the first case the font within the new environment will be italicised.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
%		Proofs
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
% Proofs start with the command \proof and should be ended by \qed,
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
% which provides an end-of-proof box at the right margin:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
% \proof ... \qed
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
% In itemized or enumerated proofs the \qed command has to occur BEFORE 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
% \end{itemize} or \end{enumerate} to ensure proper placement of the box:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
% \proof
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
% \begin{itemize}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
% \item[(1)] ...
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
% \item[(2)] ...
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
% ...
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
% \item[(n)] ... \qed
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
% \end{itemize}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
% Similarly, the box may be used within theorem environments, when no
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
% explicit proof is given:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
% \begin{thm} ... \qed \end{thm}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
%		Itemized or enumerated environments and proofs
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
% By default, the first item of an itemized (or enumerated) environment
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
% or proof appears inlined on the same line as the environment title.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
% This can be prevented by placing \hfill before the itemization, e.g.:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
% \begin{thm}\label{T:abc}\hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
% \begin{itemize} ...
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
% \proof\hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
% \begin{itemize} ...
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
%		End of the paper
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
% Acknowledgements should be placed in a non-numbered section:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
% \section*{Acknowledgement}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
% The bibliography uses alpha.bst where references are built from the 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
% authors' initials and the year of publication.  The use of bibtex
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
% for creating the bibliography is strongly encouraged.  Then the
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
% end of the paper takes the form
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
% \begin{thebibliography}{key}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
% \end{thebibliography}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
% \end{document}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
% where ``key'' is the longest alphanumerical key expected to occur.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
% Optionally, appendices can be inserted after the bibliography by
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
% means of
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
% \end{thebibliography}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
% \appendix
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
% \section{} % Appendix A
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
% \section{} % Appendix B
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
% % etc.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
% \end{document}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
%%%                   actual macros
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
\count255=\the\catcode`\@ \catcode`\@=11 \edef\catc@de{\the\count255}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
\newif\ifsuPer \suPertrue
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
\def\rsuper#1{\ifsuPer${\,}^{\MakeLowercase #1}$\fi}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
\def\lsuper#1{\ \hskip-2 pt\ifsuPer\llap{${}^{\MakeLowercase #1}\ $\fi}}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
\def\titlecomment#1{\def\@titlecomment{#1}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
\let\@titlecomment=\@empty
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
\renewcommand{\sfdefault}{phv}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
\renewcommand*\subjclass[2][1991]{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  \def\@subjclass{#2}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
  \@ifundefined{subjclassname@#1}{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
    \ClassWarning{\@classname}{Unknown edition (#1) of ACM
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
      Subject Classification; using '1991'.}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
  }{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
    \@xp\let\@xp\subjclassname\csname subjclassname@1998\endcsname
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
  }%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
\@namedef{subjclassname@1998}{1998 ACM Subject Classification}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
\newcommand{\revisionname}{Revision Note}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
\newbox\revisionbox
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
\newenvironment{revision}{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  \ifx\maketitle\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
    \ClassWarning{\@classname}{Revision should precede
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
      \protect\maketitle\space in LMCS documentclasses; reported}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
  \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
  \global\setbox\revisionbox=\vtop \bgroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
    \normalfont\Small
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
    \list{}{\labelwidth\z@
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
      \leftmargin3pc \rightmargin\leftmargin
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
      \listparindent\normalparindent \itemindent\z@
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
      \parsep\z@ \@plus\p@
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
      \let\fullwidthdisplay\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
    }%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
    \item[\hskip\labelsep\scshape\revisionname.]%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
}{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  \endlist\egroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  \ifx\@setrevision\relax \@setrevisiona \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
\def\@setrevision{\@setrevisiona \global\let\@setrevision\relax}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
\def\@setrevisiona{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  \ifvoid\revisionbox
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  \else
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
    \skip@20\p@ \advance\skip@-\lastskip
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
    \advance\skip@-\baselineskip \vskip\skip@
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
    \box\revisionbox
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
    \prevdepth\z@ % because \revisionbox is a vtop
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
    \bigskip\hrule\medskip
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
  \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
\def\@setsubjclass{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
  {\itshape\subjclassname:}\enspace\@subjclass\@addpunct.}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
\def\@setkeywords{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
  {\itshape \keywordsname:}\enspace \@keywords\@addpunct.}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
\def\@settitlecomment{\@titlecomment\@addpunct.}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
\def\@maketitle{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
  \normalfont\normalsize
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
  \let\@makefnmark\relax  \let\@thefnmark\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
  \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
  \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
  \ifx\@empty\@titlecomment\else \@footnotetext{\@settitlecomment}\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
  \ifx\@empty\thankses\else \@footnotetext{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
    \def\par{\let\par\@par}\@setthanks\par}\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  \@mkboth{\@nx\shortauthors}{\@nx\shorttitle}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
  \global\topskip12\p@\relax % 5.5pc   "   "   "     "     "
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
  \topskip42 pt\@settitle
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
  \ifx\@empty\authors \else \@setauthors \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
  \@setaddresses
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
  \ifx\@empty\@dedicatory
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
  \else
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
    \baselineskip18\p@
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
    \vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
      \global\dimen@i\prevdepth}\prevdepth\dimen@i
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
  \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
  \endfront@text
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
  \bigskip\hrule\medskip
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
  \@setrevision
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
  \@setabstract
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
  \vskip-\bigskipamount
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
  \normalsize
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
  \if@titlepage
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
    \newpage
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
  \else
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
    \dimen@34\p@ \advance\dimen@-\baselineskip
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
    \vskip\dimen@\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
  \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
\def\@setaddresses{\par
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
  \nobreak \begingroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
\footnotesize
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
  \def\author##1{\nobreak\addvspace\bigskipamount}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
  \def\\{\unskip, \ignorespaces}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
  \interlinepenalty\@M
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
  \def\address##1##2{\begingroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
    \par\addvspace\bigskipamount\noindent\narrower
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
    \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
    {\ignorespaces##2}\par\endgroup}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
  \def\curraddr##1##2{\begingroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
    \@ifnotempty{##2}{\nobreak\indent{\itshape Current address}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
      ##2\par}\endgroup}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
  \def\email##1##2{\begingroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
    \@ifnotempty{##2}{\nobreak\indent{\itshape e-mail address}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
      {##2}\par}\endgroup}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
  \def\urladdr##1##2{\begingroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
    \@ifnotempty{##2}{\nobreak\indent{\itshape URL}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
      \ttfamily##2\par}\endgroup}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
  \addresses
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
  \endgroup
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
\copyrightinfo{}{}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
\newinsert\copyins
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
\skip\copyins=3pc
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
\count\copyins=1000 % magnification factor, 1000 = 100%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
\dimen\copyins=.5\textheight % maximum allowed per page
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
\renewcommand{\topfraction}{0.95}   % let figure take up nearly whole page
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
\renewcommand{\textfraction}{0.05}  % let figure take up nearly whole page
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
%% Specify the dimensions of each page
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
\setlength{\oddsidemargin}{.25 in}  %   Note \oddsidemargin = \evensidemargin
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
\setlength{\evensidemargin}{.25 in}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
\setlength{\marginparwidth}{0.07 true in}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
\setlength{\topmargin}{-0.7 in}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
\addtolength{\headheight}{1.84 pt}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
\addtolength{\headsep}{0.25in}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
\addtolength{\voffset}{0.7 in}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
\setlength{\textheight}{8.5 true in}  % Height of text (including footnotes & figures)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
\setlength{\textwidth}{6.0 true in}   % Width of text line.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
\setlength{\parindent}{20 pt}   % Width of text line.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
\widowpenalty=10000
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
\clubpenalty=10000
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
\@twosidetrue \@mparswitchtrue \def\ds@draft{\overfullrule 5pt}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
\raggedbottom
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
%% Pagestyle
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
%% Defines the pagestyle for the title page.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
%% Usage: \lmcsheading{vol}{issue}{year}{pages}{subm}{publ}{rev}{spec_iss}{title}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
\def\lmcsheading#1#2#3#4#5#6#7{\def\ps@firstpage{\let\@mkboth\@gobbletwo%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
\def\@oddhead{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
\hbox{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  \vbox to 30 pt{\scriptsize\vfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
    \hbox{\textsf{Logical Methods in Computer Science}\hfil}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
    \hbox{\textsf{Vol.~? (?:?) 2???, ? pages}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
    \hbox{\textsf{www.lmcs-online.org}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
    \rlap{\vrule width\hsize depth .4 pt}}}\hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
\raise 4pt
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
\hbox{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
  \vbox to 30 pt{\scriptsize\vfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
    \hbox{\textsf{}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
    \hbox{\textsf{}}}}\hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
\raise 4pt
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
\hbox{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
  \vbox to 30 pt{\scriptsize\vfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
    \hbox to 94 pt{\textsf{Submitted\hfill date}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
    \hbox to 94 pt{\textsf{Published\hfill date}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
    }}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
\def\@evenhead{}\def\@evenfoot{}}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
\thispagestyle{firstpage}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
\def\endfront@text{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
    \insert\copyins{\hsize\textwidth
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
      \fontsize{6}{7\p@}\normalfont\upshape
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
      \noindent
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
\hbox{
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
  \vbox{\fontsize{6}{8 pt}\baselineskip=6 pt\vss
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
    \hbox{\hbox to 20 pt{\hfill}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
          \textsf{LOGICAL METHODS}\hfil}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
    \hbox{\hbox to 20 pt{\phantom{x}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
          \textsf{IN COMPUTER SCIENCE}}}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
\hfill\textsf{DOI:10.2168/LMCS-???}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
%\hfill\textsf{\copyright\shortauthors}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
\hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
\hbox{
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
  \vbox{\fontsize{6}{8 pt}\baselineskip=6 pt\vss
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
    \hbox{\textsf{\,\,\copyright\quad \shortauthors}\hfil}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
    \hbox{\textsf{Creative Commons}\hfil}}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
\par\kern\z@}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
%\def\endfront@text{}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
\def\enddoc@text{}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
%% Defines the pagestyle for the rest of the pages
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
%% Usage: \ShortHeadings{Minimizing Conflicts}{Minton et al}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
%%	  \ShortHeadings{short title}{short authors}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
%\def\firstpageno#1{\setcounter{page}{#1}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
%\def\ShortHeadings#1#2{\def\ps@lmcsps{\let\@mkboth\@gobbletwo%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
%\def\@oddhead{\hfill {\small\sc #1} \hfill}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
%\def\@oddfoot{\hfill \small\rm \thepage \hfill}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
%\def\@evenhead{\hfill {\small\sc #2} \hfill}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
%\def\@evenfoot{\hfill \small\rm \thepage \hfill}}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
%\pagestyle{lmcsps}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
%% MISCELLANY
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
\def\@startsection#1#2#3#4#5#6{\bigskip%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
 \if@noskipsec \leavevmode \fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
 \par \@tempskipa #4\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
 \@afterindentfalse
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
 \if@nobreak \everypar{}\else
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
     \addpenalty\@secpenalty\addvspace\@tempskipa\fi
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
 \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
         {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
\def\figurecaption#1#2{\noindent\hangindent 40pt
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
                       \hbox to 36pt {\small\sl #1 \hfil}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
                       \ignorespaces {\small #2}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
% Figurecenter prints the caption title centered.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
\def\figurecenter#1#2{\centerline{{\sl #1} #2}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
\def\figurecenter#1#2{\centerline{{\small\sl #1} {\small #2}}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
%  Allow ``hanging indents'' in long captions
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
\long\def\@makecaption#1#2{
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
   \vskip 10pt 
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
   \setbox\@tempboxa\hbox{#1: #2}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
   \ifdim \wd\@tempboxa >\hsize               % IF longer than one line:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
       \begin{list}{#1:}{
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
       \settowidth{\labelwidth}{#1:}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
       \setlength{\leftmargin}{\labelwidth}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
       \addtolength{\leftmargin}{\labelsep}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
        }\item #2 \end{list}\par   % Output in quote mode
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
     \else                                    %   ELSE  center.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}  
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
   \fi}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
% Define strut macros for skipping spaces above and below text in a
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
% tabular environment.
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
\def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
\def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
%%% Theorem environments
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
% the following environments switch to a slanted font:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
\theoremstyle{plain}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
\newtheorem{thm}{Theorem}[section]
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
\newtheorem{cor}[thm]{Corollary}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
\newtheorem{lem}[thm]{Lemma}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
\newtheorem{prop}[thm]{Proposition}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
\newtheorem{asm}[thm]{Assumption}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
% the following environments keep the roman font:
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
\theoremstyle{definition}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
\newtheorem{rem}[thm]{Remark}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
\newtheorem{rems}[thm]{Remarks}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
\newtheorem{exa}[thm]{Example}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
\newtheorem{exas}[thm]{Examples}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
\newtheorem{defi}[thm]{Definition}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
\newtheorem{conv}[thm]{Convention}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
\newtheorem{conj}[thm]{Conjecture}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
\newtheorem{prob}[thm]{Problem}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
\newtheorem{oprob}[thm]{Open Problem}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
\newtheorem{algo}[thm]{Algorithm}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
\newtheorem{obs}[thm]{Observation}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
\newtheorem{qu}[thm]{Question}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
\newtheorem{fact}[thm]{Fact}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
\newtheorem{pty}[thm]{Property}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
\numberwithin{equation}{section}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
% end-of-proof sign, to appear at right margin
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
% Paul Taylor and Chris Thompson, Cambridge, 1986
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
\def\pushright#1{{%        set up
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
   \parfillskip=0pt            % so \par doesn't push #1 to left
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
   \widowpenalty=10000         % so we dont break the page before #1
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
   \displaywidowpenalty=10000  % ditto
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
   \finalhyphendemerits=0      % TeXbook exercise 14.32
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
  %
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  %                 horizontal
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
   \leavevmode                 % \nobreak means lines not pages
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
   \unskip                     % remove previous space or glue
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
   \nobreak                    % don't break lines
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
   \hfil                       % ragged right if we spill over
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
   \penalty50                  % discouragement to do so
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
   \hskip.2em                  % ensure some space
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
   \null                       % anchor following \hfill
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
   \hfill                      % push #1 to right
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
   {#1}                        % the end-of-proof mark (or whatever)
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
  %
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
  %                   vertical
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
   \par}}                      % build paragraph
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
\def\qEd{{\lower1 pt\hbox{\vbox{\hrule\hbox{\vrule\kern4 pt
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
    \vbox{\kern4 pt\hbox{\hss}\kern4 pt}\kern4 pt\vrule}\hrule}}}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
\def\qed{\pushright{\qEd}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
    \penalty-700 \par\addvspace{\medskipamount}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
\newenvironment{Proof}[1][\proofname]{\par
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
  \pushQED{\qed}%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
  \normalfont \topsep6\p@\@plus6\p@\relax
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
  \trivlist
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
  \item[\hskip\labelsep
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
        \itshape
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
    #1]\ignorespaces
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
}{%
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   504
  \popQED\endtrivlist\@endpefalse
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   505
}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   506
\newenvironment{iteMize}[1]{\begin{enumerate}[#1]}{\end{enumerate}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
\newenvironment{desCription}{\begin{enumerate}[\hbox to8 pt{\hfill}]}{\end{enumerate}}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
% Bibliographystyle
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   510
\bibliographystyle{alpha}
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
5df574281b69 more on the intro and correct style-files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
\endinput