ecp/lipics.cls
author Chengsong
Sat, 06 Jul 2019 20:16:20 +0100
changeset 60 c737a0259194
parent 17 3241b1e71633
permissions -rw-r--r--
sorry not all done, need a few more mins for last few changes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
Chengsong
parents:
diff changeset
     1
%%
Chengsong
parents:
diff changeset
     2
%% This is file `lipics.cls',
Chengsong
parents:
diff changeset
     3
%% generated with the docstrip utility.
Chengsong
parents:
diff changeset
     4
%%
Chengsong
parents:
diff changeset
     5
%% The original source files were:
Chengsong
parents:
diff changeset
     6
%%
Chengsong
parents:
diff changeset
     7
%% lipics.dtx  (with options: `class')
Chengsong
parents:
diff changeset
     8
%% 
Chengsong
parents:
diff changeset
     9
%% -----------------------------------------------------------------
Chengsong
parents:
diff changeset
    10
%% Author:     le-tex publishing services
Chengsong
parents:
diff changeset
    11
%% 
Chengsong
parents:
diff changeset
    12
%% This file is part of the lipics package for preparing
Chengsong
parents:
diff changeset
    13
%% LIPICS articles.
Chengsong
parents:
diff changeset
    14
%% 
Chengsong
parents:
diff changeset
    15
%%       Copyright (C) 2010 Schloss Dagstuhl
Chengsong
parents:
diff changeset
    16
%% -----------------------------------------------------------------
Chengsong
parents:
diff changeset
    17
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
Chengsong
parents:
diff changeset
    18
\ProvidesClass{lipics}
Chengsong
parents:
diff changeset
    19
    [2010/09/27 v1.1 LIPIcs articles]
Chengsong
parents:
diff changeset
    20
\emergencystretch1em
Chengsong
parents:
diff changeset
    21
\advance\hoffset-1in
Chengsong
parents:
diff changeset
    22
\advance\voffset-1in
Chengsong
parents:
diff changeset
    23
\advance\hoffset2.95mm
Chengsong
parents:
diff changeset
    24
\newif\if@nobotseplist  \@nobotseplistfalse
Chengsong
parents:
diff changeset
    25
\def\@endparenv{%
Chengsong
parents:
diff changeset
    26
  \addpenalty\@endparpenalty\if@nobotseplist\else\addvspace\@topsepadd\fi\@endpetrue}
Chengsong
parents:
diff changeset
    27
\def\@doendpe{%
Chengsong
parents:
diff changeset
    28
  \@endpetrue
Chengsong
parents:
diff changeset
    29
  \def\par{\@restorepar
Chengsong
parents:
diff changeset
    30
           \everypar{}%
Chengsong
parents:
diff changeset
    31
           \par
Chengsong
parents:
diff changeset
    32
           \if@nobotseplist
Chengsong
parents:
diff changeset
    33
             \addvspace\topsep
Chengsong
parents:
diff changeset
    34
             \addvspace\partopsep
Chengsong
parents:
diff changeset
    35
             \global\@nobotseplistfalse
Chengsong
parents:
diff changeset
    36
           \fi
Chengsong
parents:
diff changeset
    37
           \@endpefalse}%
Chengsong
parents:
diff changeset
    38
  \everypar{{\setbox\z@\lastbox}%
Chengsong
parents:
diff changeset
    39
            \everypar{}%
Chengsong
parents:
diff changeset
    40
            \if@nobotseplist\global\@nobotseplistfalse\fi
Chengsong
parents:
diff changeset
    41
            \@endpefalse}}
Chengsong
parents:
diff changeset
    42
\def\enumerate{%
Chengsong
parents:
diff changeset
    43
  \ifnum \@enumdepth >\thr@@\@toodeep\else
Chengsong
parents:
diff changeset
    44
    \advance\@enumdepth\@ne
Chengsong
parents:
diff changeset
    45
    \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
Chengsong
parents:
diff changeset
    46
    \expandafter
Chengsong
parents:
diff changeset
    47
    \list
Chengsong
parents:
diff changeset
    48
      \csname label\@enumctr\endcsname
Chengsong
parents:
diff changeset
    49
      {\advance\partopsep\topsep
Chengsong
parents:
diff changeset
    50
       \topsep\z@\@plus\p@
Chengsong
parents:
diff changeset
    51
       \ifnum\@listdepth=\@ne
Chengsong
parents:
diff changeset
    52
         \labelsep0.72em
Chengsong
parents:
diff changeset
    53
       \else
Chengsong
parents:
diff changeset
    54
         \ifnum\@listdepth=\tw@
Chengsong
parents:
diff changeset
    55
           \labelsep0.3em
Chengsong
parents:
diff changeset
    56
         \else
Chengsong
parents:
diff changeset
    57
           \labelsep0.5em
Chengsong
parents:
diff changeset
    58
         \fi
Chengsong
parents:
diff changeset
    59
       \fi
Chengsong
parents:
diff changeset
    60
       \usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
Chengsong
parents:
diff changeset
    61
  \fi}
Chengsong
parents:
diff changeset
    62
\def\endenumerate{\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
Chengsong
parents:
diff changeset
    63
\def\itemize{%
Chengsong
parents:
diff changeset
    64
  \ifnum \@itemdepth >\thr@@\@toodeep\else
Chengsong
parents:
diff changeset
    65
    \advance\@itemdepth\@ne
Chengsong
parents:
diff changeset
    66
    \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
Chengsong
parents:
diff changeset
    67
    \expandafter
Chengsong
parents:
diff changeset
    68
    \list
Chengsong
parents:
diff changeset
    69
      \csname\@itemitem\endcsname
Chengsong
parents:
diff changeset
    70
      {\advance\partopsep\topsep
Chengsong
parents:
diff changeset
    71
       \topsep\z@\@plus\p@
Chengsong
parents:
diff changeset
    72
       \ifnum\@listdepth=\@ne
Chengsong
parents:
diff changeset
    73
         \labelsep0.83em
Chengsong
parents:
diff changeset
    74
       \else
Chengsong
parents:
diff changeset
    75
         \ifnum\@listdepth=\tw@
Chengsong
parents:
diff changeset
    76
           \labelsep0.75em
Chengsong
parents:
diff changeset
    77
         \else
Chengsong
parents:
diff changeset
    78
           \labelsep0.5em
Chengsong
parents:
diff changeset
    79
         \fi
Chengsong
parents:
diff changeset
    80
      \fi
Chengsong
parents:
diff changeset
    81
      \def\makelabel##1{\hss\llap{##1}}}%
Chengsong
parents:
diff changeset
    82
  \fi}
Chengsong
parents:
diff changeset
    83
\def\enditemize{\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
Chengsong
parents:
diff changeset
    84
\def\@sect#1#2#3#4#5#6[#7]#8{%
Chengsong
parents:
diff changeset
    85
  \ifnum #2>\c@secnumdepth
Chengsong
parents:
diff changeset
    86
    \let\@svsec\@empty
Chengsong
parents:
diff changeset
    87
  \else
Chengsong
parents:
diff changeset
    88
    \refstepcounter{#1}%
Chengsong
parents:
diff changeset
    89
    \protected@edef\@svsec{\@seccntformat{#1}\relax}%
Chengsong
parents:
diff changeset
    90
  \fi
Chengsong
parents:
diff changeset
    91
  \@tempskipa #5\relax
Chengsong
parents:
diff changeset
    92
  \ifdim \@tempskipa>\z@
Chengsong
parents:
diff changeset
    93
    \begingroup
Chengsong
parents:
diff changeset
    94
      #6{%
Chengsong
parents:
diff changeset
    95
        \@hangfrom{\hskip #3\relax
Chengsong
parents:
diff changeset
    96
          \ifnum #2=1
Chengsong
parents:
diff changeset
    97
            \colorbox[rgb]{0.99,0.78,0.07}{\kern0.15em\@svsec\kern0.15em}\quad
Chengsong
parents:
diff changeset
    98
          \else
Chengsong
parents:
diff changeset
    99
            \@svsec\quad
Chengsong
parents:
diff changeset
   100
          \fi}%
Chengsong
parents:
diff changeset
   101
          \interlinepenalty \@M #8\@@par}%
Chengsong
parents:
diff changeset
   102
    \endgroup
Chengsong
parents:
diff changeset
   103
    \csname #1mark\endcsname{#7}%
Chengsong
parents:
diff changeset
   104
    \addcontentsline{toc}{#1}{%
Chengsong
parents:
diff changeset
   105
      \ifnum #2>\c@secnumdepth \else
Chengsong
parents:
diff changeset
   106
        \protect\numberline{\csname the#1\endcsname}%
Chengsong
parents:
diff changeset
   107
      \fi
Chengsong
parents:
diff changeset
   108
      #7}%
Chengsong
parents:
diff changeset
   109
  \else
Chengsong
parents:
diff changeset
   110
    \def\@svsechd{%
Chengsong
parents:
diff changeset
   111
      #6{\hskip #3\relax
Chengsong
parents:
diff changeset
   112
      \@svsec #8}%
Chengsong
parents:
diff changeset
   113
      \csname #1mark\endcsname{#7}%
Chengsong
parents:
diff changeset
   114
      \addcontentsline{toc}{#1}{%
Chengsong
parents:
diff changeset
   115
        \ifnum #2>\c@secnumdepth \else
Chengsong
parents:
diff changeset
   116
          \protect\numberline{\csname the#1\endcsname}%
Chengsong
parents:
diff changeset
   117
        \fi
Chengsong
parents:
diff changeset
   118
        #7}}%
Chengsong
parents:
diff changeset
   119
  \fi
Chengsong
parents:
diff changeset
   120
  \@xsect{#5}}
Chengsong
parents:
diff changeset
   121
\def\@seccntformat#1{\csname the#1\endcsname}
Chengsong
parents:
diff changeset
   122
\def\@biblabel#1{\textcolor{darkgray}{\sffamily\bfseries#1}}
Chengsong
parents:
diff changeset
   123
\def\copyrightline{%
Chengsong
parents:
diff changeset
   124
  \ifx\@serieslogo\@empty
Chengsong
parents:
diff changeset
   125
  \else
Chengsong
parents:
diff changeset
   126
    \setbox\@tempboxa\hbox{\includegraphics[height=42\p@]{\@serieslogo}}%
Chengsong
parents:
diff changeset
   127
    \rlap{\hspace\textwidth\hspace{-\wd\@tempboxa}\hspace{\z@}%
Chengsong
parents:
diff changeset
   128
          \vtop to\z@{\vskip-0mm\unhbox\@tempboxa\vss}}%
Chengsong
parents:
diff changeset
   129
  \fi
Chengsong
parents:
diff changeset
   130
  \scriptsize
Chengsong
parents:
diff changeset
   131
  \vtop{\hsize\textwidth
Chengsong
parents:
diff changeset
   132
    \nobreakspace\\
Chengsong
parents:
diff changeset
   133
    \@Copyright
Chengsong
parents:
diff changeset
   134
    \ifx\@Event\@empty\else\@Event.\\\fi
Chengsong
parents:
diff changeset
   135
    \ifx\@Editors\@empty\else
Chengsong
parents:
diff changeset
   136
      \@Eds: \@Editors
Chengsong
parents:
diff changeset
   137
      ; pp. \thepage--\pageref{LastPage}%
Chengsong
parents:
diff changeset
   138
      \\
Chengsong
parents:
diff changeset
   139
    \fi
Chengsong
parents:
diff changeset
   140
    \setbox\@tempboxa\hbox{\includegraphics[height=14\p@,trim=0 15 0 0]{lipics-logo-bw}}%
Chengsong
parents:
diff changeset
   141
    \hspace*{\wd\@tempboxa}\enskip
Chengsong
parents:
diff changeset
   142
    \href{http://www.dagstuhl.de/lipics/}%
Chengsong
parents:
diff changeset
   143
         {Leibniz International Proceedings in Informatics}\\
Chengsong
parents:
diff changeset
   144
    \smash{\unhbox\@tempboxa}\enskip
Chengsong
parents:
diff changeset
   145
    \href{http://www.dagstuhl.de}%
Chengsong
parents:
diff changeset
   146
         {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik, Dagstuhl Publishing, Germany}}}
Chengsong
parents:
diff changeset
   147
\def\ps@plain{\let\@mkboth\@gobbletwo
Chengsong
parents:
diff changeset
   148
  \let\@oddhead\@empty
Chengsong
parents:
diff changeset
   149
  \let\@evenhead\@empty
Chengsong
parents:
diff changeset
   150
  \let\@evenfoot\copyrightline
Chengsong
parents:
diff changeset
   151
  \let\@oddfoot\copyrightline}
Chengsong
parents:
diff changeset
   152
\def\lipics@opterrshort{Option  "\CurrentOption" not supported}
Chengsong
parents:
diff changeset
   153
\def\lipics@opterrlong{The option "\CurrentOption" from article.cls is not supported by lipics.cls.}
Chengsong
parents:
diff changeset
   154
\DeclareOption{a5paper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   155
\DeclareOption{b5paper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   156
\DeclareOption{legalpaper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   157
\DeclareOption{executivepaper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   158
\DeclareOption{landscape}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   159
\DeclareOption{10pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   160
\DeclareOption{11pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   161
\DeclareOption{12pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   162
\DeclareOption{oneside}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   163
\DeclareOption{twoside}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   164
\DeclareOption{titlepage}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   165
\DeclareOption{notitlepage}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   166
\DeclareOption{onecolumn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   167
\DeclareOption{twocolumn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   168
\DeclareOption{fleqn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   169
\DeclareOption{openbib}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
Chengsong
parents:
diff changeset
   170
\DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{article}
Chengsong
parents:
diff changeset
   171
                        \advance\hoffset-2.95mm
Chengsong
parents:
diff changeset
   172
                        \advance\voffset8.8mm}
Chengsong
parents:
diff changeset
   173
\DeclareOption{numberwithinsect}{\let\numberwithinsect\relax}
Chengsong
parents:
diff changeset
   174
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
Chengsong
parents:
diff changeset
   175
\ProcessOptions
Chengsong
parents:
diff changeset
   176
\LoadClass[twoside,notitlepage,fleqn]{article}
Chengsong
parents:
diff changeset
   177
\renewcommand\normalsize{%
Chengsong
parents:
diff changeset
   178
   \@setfontsize\normalsize\@xpt{13}%
Chengsong
parents:
diff changeset
   179
   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
Chengsong
parents:
diff changeset
   180
   \abovedisplayshortskip \z@ \@plus3\p@
Chengsong
parents:
diff changeset
   181
   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
Chengsong
parents:
diff changeset
   182
   \belowdisplayskip \abovedisplayskip
Chengsong
parents:
diff changeset
   183
   \let\@listi\@listI}
Chengsong
parents:
diff changeset
   184
\normalsize
Chengsong
parents:
diff changeset
   185
\renewcommand\small{%
Chengsong
parents:
diff changeset
   186
   \@setfontsize\small\@ixpt{11.5}%
Chengsong
parents:
diff changeset
   187
   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
Chengsong
parents:
diff changeset
   188
   \abovedisplayshortskip \z@ \@plus2\p@
Chengsong
parents:
diff changeset
   189
   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
Chengsong
parents:
diff changeset
   190
   \def\@listi{\leftmargin\leftmargini
Chengsong
parents:
diff changeset
   191
               \topsep 4\p@ \@plus2\p@ \@minus2\p@
Chengsong
parents:
diff changeset
   192
               \parsep 2\p@ \@plus\p@ \@minus\p@
Chengsong
parents:
diff changeset
   193
               \itemsep \parsep}%
Chengsong
parents:
diff changeset
   194
   \belowdisplayskip \abovedisplayskip
Chengsong
parents:
diff changeset
   195
}
Chengsong
parents:
diff changeset
   196
\renewcommand\footnotesize{%
Chengsong
parents:
diff changeset
   197
   \@setfontsize\footnotesize{8.5}{9.5}%
Chengsong
parents:
diff changeset
   198
   \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
Chengsong
parents:
diff changeset
   199
   \abovedisplayshortskip \z@ \@plus\p@
Chengsong
parents:
diff changeset
   200
   \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
Chengsong
parents:
diff changeset
   201
   \def\@listi{\leftmargin\leftmargini
Chengsong
parents:
diff changeset
   202
               \topsep 3\p@ \@plus\p@ \@minus\p@
Chengsong
parents:
diff changeset
   203
               \parsep 2\p@ \@plus\p@ \@minus\p@
Chengsong
parents:
diff changeset
   204
               \itemsep \parsep}%
Chengsong
parents:
diff changeset
   205
   \belowdisplayskip \abovedisplayskip
Chengsong
parents:
diff changeset
   206
}
Chengsong
parents:
diff changeset
   207
\renewcommand\large{\@setfontsize\large{10.5}{13}}
Chengsong
parents:
diff changeset
   208
\renewcommand\Large{\@setfontsize\Large{12}{14}}
Chengsong
parents:
diff changeset
   209
\setlength\parindent{1.5em}
Chengsong
parents:
diff changeset
   210
\setlength\headheight{3mm}
Chengsong
parents:
diff changeset
   211
\setlength\headsep   {10mm}
Chengsong
parents:
diff changeset
   212
\setlength\footskip{3mm}
Chengsong
parents:
diff changeset
   213
\setlength\textwidth{140mm}
Chengsong
parents:
diff changeset
   214
\setlength\textheight{222mm}
Chengsong
parents:
diff changeset
   215
\setlength\oddsidemargin{32mm}
Chengsong
parents:
diff changeset
   216
\setlength\evensidemargin{38mm}
Chengsong
parents:
diff changeset
   217
\setlength\marginparwidth{25mm}
Chengsong
parents:
diff changeset
   218
\setlength\topmargin{13mm}
Chengsong
parents:
diff changeset
   219
\setlength{\skip\footins}{2\baselineskip \@plus 4\p@ \@minus 2\p@}
Chengsong
parents:
diff changeset
   220
\def\@listi{\leftmargin\leftmargini
Chengsong
parents:
diff changeset
   221
            \parsep\z@ \@plus\p@
Chengsong
parents:
diff changeset
   222
            \topsep 8\p@ \@plus2\p@ \@minus4\p@
Chengsong
parents:
diff changeset
   223
            \itemsep \parsep}
Chengsong
parents:
diff changeset
   224
\let\@listI\@listi
Chengsong
parents:
diff changeset
   225
\@listi
Chengsong
parents:
diff changeset
   226
\def\@listii {\leftmargin\leftmarginii
Chengsong
parents:
diff changeset
   227
              \labelwidth\leftmarginii
Chengsong
parents:
diff changeset
   228
              \advance\labelwidth-\labelsep
Chengsong
parents:
diff changeset
   229
              \topsep    4\p@ \@plus2\p@ \@minus\p@
Chengsong
parents:
diff changeset
   230
              \parsep\z@ \@plus\p@
Chengsong
parents:
diff changeset
   231
              \itemsep   \parsep}
Chengsong
parents:
diff changeset
   232
\def\@listiii{\leftmargin\leftmarginiii
Chengsong
parents:
diff changeset
   233
              \labelwidth\leftmarginiii
Chengsong
parents:
diff changeset
   234
              \advance\labelwidth-\labelsep
Chengsong
parents:
diff changeset
   235
              \topsep    2\p@ \@plus\p@\@minus\p@
Chengsong
parents:
diff changeset
   236
              \parsep    \z@
Chengsong
parents:
diff changeset
   237
              \partopsep \p@ \@plus\z@ \@minus\p@
Chengsong
parents:
diff changeset
   238
              \itemsep   \z@ \@plus\p@}
Chengsong
parents:
diff changeset
   239
\def\ps@headings{%
Chengsong
parents:
diff changeset
   240
    \def\@evenhead{\large\sffamily\bfseries
Chengsong
parents:
diff changeset
   241
                   \llap{\hbox to0.5\oddsidemargin{\thepage\hss}}\leftmark\hfil}%
Chengsong
parents:
diff changeset
   242
    \def\@oddhead{\large\sffamily\bfseries\rightmark\hfil
Chengsong
parents:
diff changeset
   243
                  \rlap{\hbox to0.5\oddsidemargin{\hss\thepage}}}%
Chengsong
parents:
diff changeset
   244
    \def\@oddfoot{\hfil
Chengsong
parents:
diff changeset
   245
                  \rlap{%
Chengsong
parents:
diff changeset
   246
                    \vtop{%
Chengsong
parents:
diff changeset
   247
                      \vskip10mm
Chengsong
parents:
diff changeset
   248
                      \colorbox[rgb]{0.99,0.78,0.07}
Chengsong
parents:
diff changeset
   249
                                    {\@tempdima\evensidemargin
Chengsong
parents:
diff changeset
   250
                                     \advance\@tempdima1in
Chengsong
parents:
diff changeset
   251
                                     \advance\@tempdima\hoffset
Chengsong
parents:
diff changeset
   252
                                     \hb@xt@\@tempdima{%
Chengsong
parents:
diff changeset
   253
                                       \textcolor{darkgray}{\normalsize\sffamily
Chengsong
parents:
diff changeset
   254
                                       \bfseries\quad
Chengsong
parents:
diff changeset
   255
                                       \expandafter\textsolittle
Chengsong
parents:
diff changeset
   256
                                       \expandafter{\@EventShortName}}%
Chengsong
parents:
diff changeset
   257
                                     \strut\hss}}}}}
Chengsong
parents:
diff changeset
   258
    \let\@evenfoot\@empty
Chengsong
parents:
diff changeset
   259
    \let\@mkboth\markboth
Chengsong
parents:
diff changeset
   260
  \let\sectionmark\@gobble
Chengsong
parents:
diff changeset
   261
  \let\subsectionmark\@gobble}
Chengsong
parents:
diff changeset
   262
\pagestyle{headings}
Chengsong
parents:
diff changeset
   263
\renewcommand\maketitle{\par
Chengsong
parents:
diff changeset
   264
  \begingroup
Chengsong
parents:
diff changeset
   265
    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
Chengsong
parents:
diff changeset
   266
    \if@twocolumn
Chengsong
parents:
diff changeset
   267
      \ifnum \col@number=\@ne
Chengsong
parents:
diff changeset
   268
        \@maketitle
Chengsong
parents:
diff changeset
   269
      \else
Chengsong
parents:
diff changeset
   270
        \twocolumn[\@maketitle]%
Chengsong
parents:
diff changeset
   271
      \fi
Chengsong
parents:
diff changeset
   272
    \else
Chengsong
parents:
diff changeset
   273
      \newpage
Chengsong
parents:
diff changeset
   274
      \global\@topnum\z@   % Prevents figures from going at top of page.
Chengsong
parents:
diff changeset
   275
      \@maketitle
Chengsong
parents:
diff changeset
   276
    \fi
Chengsong
parents:
diff changeset
   277
    \thispagestyle{plain}\@thanks
Chengsong
parents:
diff changeset
   278
  \endgroup
Chengsong
parents:
diff changeset
   279
  \setcounter{footnote}{0}%
Chengsong
parents:
diff changeset
   280
  \global\let\thanks\relax
Chengsong
parents:
diff changeset
   281
  \global\let\maketitle\relax
Chengsong
parents:
diff changeset
   282
  \global\let\@maketitle\relax
Chengsong
parents:
diff changeset
   283
  \global\let\@thanks\@empty
Chengsong
parents:
diff changeset
   284
  \global\let\@author\@empty
Chengsong
parents:
diff changeset
   285
  \global\let\@date\@empty
Chengsong
parents:
diff changeset
   286
  \global\let\@title\@empty
Chengsong
parents:
diff changeset
   287
  \global\let\title\relax
Chengsong
parents:
diff changeset
   288
  \global\let\author\relax
Chengsong
parents:
diff changeset
   289
  \global\let\date\relax
Chengsong
parents:
diff changeset
   290
  \global\let\and\relax
Chengsong
parents:
diff changeset
   291
}
Chengsong
parents:
diff changeset
   292
\newwrite\tocfile
Chengsong
parents:
diff changeset
   293
\def\@maketitle{%
Chengsong
parents:
diff changeset
   294
  \newpage
Chengsong
parents:
diff changeset
   295
  \null\vskip-\baselineskip
Chengsong
parents:
diff changeset
   296
  \vskip-\headsep
Chengsong
parents:
diff changeset
   297
  \@titlerunning
Chengsong
parents:
diff changeset
   298
  \@authorrunning
Chengsong
parents:
diff changeset
   299
  \let \footnote \thanks
Chengsong
parents:
diff changeset
   300
  \parindent\z@ \raggedright
Chengsong
parents:
diff changeset
   301
    {\LARGE\sffamily\bfseries\mathversion{bold}\@title \par}%
Chengsong
parents:
diff changeset
   302
    \vskip 1.5em%
Chengsong
parents:
diff changeset
   303
    \ifnum\c@authors=0 %
Chengsong
parents:
diff changeset
   304
      \@latexerr{No \noexpand\author given}%
Chengsong
parents:
diff changeset
   305
        {Provide at least one author. See the LIPIcs class documentation.}%
Chengsong
parents:
diff changeset
   306
    \else
Chengsong
parents:
diff changeset
   307
      \@author
Chengsong
parents:
diff changeset
   308
    \fi
Chengsong
parents:
diff changeset
   309
    \bgroup
Chengsong
parents:
diff changeset
   310
      \let\footnote\@gobble
Chengsong
parents:
diff changeset
   311
      \immediate\openout\tocfile=\jobname.vtc
Chengsong
parents:
diff changeset
   312
      \protected@write\tocfile{}{%
Chengsong
parents:
diff changeset
   313
        \string\contitem
Chengsong
parents:
diff changeset
   314
        \string\title{\@title}%
Chengsong
parents:
diff changeset
   315
        \string\author{\AB@authfortoc}%
Chengsong
parents:
diff changeset
   316
        \string\page{\thepage}}%
Chengsong
parents:
diff changeset
   317
      \closeout\tocfile
Chengsong
parents:
diff changeset
   318
    \egroup
Chengsong
parents:
diff changeset
   319
  \par}
Chengsong
parents:
diff changeset
   320
\setcounter{secnumdepth}{4}
Chengsong
parents:
diff changeset
   321
\renewcommand\section{\@startsection {section}{1}{\z@}%
Chengsong
parents:
diff changeset
   322
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
Chengsong
parents:
diff changeset
   323
                                   {2.3ex \@plus.2ex}%
Chengsong
parents:
diff changeset
   324
                                   {\sffamily\Large\bfseries\raggedright}}
Chengsong
parents:
diff changeset
   325
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
Chengsong
parents:
diff changeset
   326
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
Chengsong
parents:
diff changeset
   327
                                     {1.5ex \@plus .2ex}%
Chengsong
parents:
diff changeset
   328
                                     {\sffamily\Large\bfseries\raggedright}}
Chengsong
parents:
diff changeset
   329
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
Chengsong
parents:
diff changeset
   330
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
Chengsong
parents:
diff changeset
   331
                                     {1.5ex \@plus .2ex}%
Chengsong
parents:
diff changeset
   332
                                     {\sffamily\Large\bfseries\raggedright}}
Chengsong
parents:
diff changeset
   333
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
Chengsong
parents:
diff changeset
   334
                                    {-3.25ex \@plus-1ex \@minus-.2ex}%
Chengsong
parents:
diff changeset
   335
                                    {1.5ex \@plus .2ex}%
Chengsong
parents:
diff changeset
   336
                                    {\sffamily\large\bfseries\raggedright}}
Chengsong
parents:
diff changeset
   337
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
Chengsong
parents:
diff changeset
   338
                                       {3.25ex \@plus1ex \@minus .2ex}%
Chengsong
parents:
diff changeset
   339
                                       {-1em}%
Chengsong
parents:
diff changeset
   340
                                      {\sffamily\normalsize\bfseries}}
Chengsong
parents:
diff changeset
   341
\setlength\leftmargini  \parindent
Chengsong
parents:
diff changeset
   342
\setlength\leftmarginii {1.2em}
Chengsong
parents:
diff changeset
   343
\setlength\leftmarginiii{1.2em}
Chengsong
parents:
diff changeset
   344
\setlength\leftmarginiv {1.2em}
Chengsong
parents:
diff changeset
   345
\setlength\leftmarginv  {1.2em}
Chengsong
parents:
diff changeset
   346
\setlength\leftmarginvi {1.2em}
Chengsong
parents:
diff changeset
   347
\renewcommand\labelenumi{%
Chengsong
parents:
diff changeset
   348
  \textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumi.}}
Chengsong
parents:
diff changeset
   349
\renewcommand\labelenumii{%
Chengsong
parents:
diff changeset
   350
  \textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumii.}}
Chengsong
parents:
diff changeset
   351
\renewcommand\labelenumiii{%
Chengsong
parents:
diff changeset
   352
  \textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumiii.}}
Chengsong
parents:
diff changeset
   353
\renewcommand\labelenumiv{%
Chengsong
parents:
diff changeset
   354
  \textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumiv.}}
Chengsong
parents:
diff changeset
   355
\renewcommand\labelitemi{%
Chengsong
parents:
diff changeset
   356
  \textcolor[rgb]{0.6,0.6,0.61}{\ifnum\@listdepth=\@ne
Chengsong
parents:
diff changeset
   357
                                  \rule{0.67em}{0.33em}%
Chengsong
parents:
diff changeset
   358
                                \else
Chengsong
parents:
diff changeset
   359
                                  \rule{0.45em}{0.225em}%
Chengsong
parents:
diff changeset
   360
                                \fi}}
Chengsong
parents:
diff changeset
   361
\renewcommand\labelitemii{%
Chengsong
parents:
diff changeset
   362
  \textcolor[rgb]{0.6,0.6,0.61}{\rule{0.45em}{0.225em}}}
Chengsong
parents:
diff changeset
   363
\renewcommand\labelitemiii{%
Chengsong
parents:
diff changeset
   364
  \textcolor[rgb]{0.6,0.6,0.61}{\sffamily\bfseries\textasteriskcentered}}
Chengsong
parents:
diff changeset
   365
\renewcommand\labelitemiv{%
Chengsong
parents:
diff changeset
   366
  \textcolor[rgb]{0.6,0.6,0.61}{\sffamily\bfseries\textperiodcentered}}
Chengsong
parents:
diff changeset
   367
\renewenvironment{description}
Chengsong
parents:
diff changeset
   368
               {\list{}{\advance\partopsep\topsep\topsep\z@\@plus\p@
Chengsong
parents:
diff changeset
   369
                        \labelwidth\z@ \itemindent-\leftmargin
Chengsong
parents:
diff changeset
   370
                        \let\makelabel\descriptionlabel}}
Chengsong
parents:
diff changeset
   371
               {\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
Chengsong
parents:
diff changeset
   372
\renewcommand*\descriptionlabel[1]{%
Chengsong
parents:
diff changeset
   373
  \hspace\labelsep\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}#1}}
Chengsong
parents:
diff changeset
   374
\renewenvironment{abstract}{%
Chengsong
parents:
diff changeset
   375
  \vskip\bigskipamount
Chengsong
parents:
diff changeset
   376
  \noindent
Chengsong
parents:
diff changeset
   377
  \rlap{\color[rgb]{0.51,0.50,0.52}\vrule\@width\textwidth\@height1\p@}%
Chengsong
parents:
diff changeset
   378
  \hspace*{7mm}\fboxsep1.5mm\colorbox[rgb]{1,1,1}{\raisebox{-0.4ex}{%
Chengsong
parents:
diff changeset
   379
    \large\selectfont\sffamily\bfseries\abstractname}}%
Chengsong
parents:
diff changeset
   380
  \vskip3\p@
Chengsong
parents:
diff changeset
   381
  \fontsize{9.5}{12.5}\selectfont
Chengsong
parents:
diff changeset
   382
  \noindent\ignorespaces}
Chengsong
parents:
diff changeset
   383
  {\ifx\@subjclass\@empty\else
Chengsong
parents:
diff changeset
   384
     \vskip\baselineskip\noindent
Chengsong
parents:
diff changeset
   385
     \subjclassHeading\@subjclass
Chengsong
parents:
diff changeset
   386
   \fi
Chengsong
parents:
diff changeset
   387
   \ifx\@keywords\@empty\else
Chengsong
parents:
diff changeset
   388
     \vskip\baselineskip\noindent
Chengsong
parents:
diff changeset
   389
     \keywordsHeading\@keywords
Chengsong
parents:
diff changeset
   390
   \fi
Chengsong
parents:
diff changeset
   391
   \ifx\@DOI\@empty\else
Chengsong
parents:
diff changeset
   392
     \vskip\baselineskip\noindent
Chengsong
parents:
diff changeset
   393
     \doiHeading\doi{\@DOI}%
Chengsong
parents:
diff changeset
   394
   \fi}
Chengsong
parents:
diff changeset
   395
\renewenvironment{thebibliography}[1]
Chengsong
parents:
diff changeset
   396
  {\if@noskipsec \leavevmode \fi
Chengsong
parents:
diff changeset
   397
   \par
Chengsong
parents:
diff changeset
   398
   \@tempskipa-3.5ex \@plus -1ex \@minus -.2ex\relax
Chengsong
parents:
diff changeset
   399
   \@afterindenttrue
Chengsong
parents:
diff changeset
   400
   \@tempskipa -\@tempskipa \@afterindentfalse
Chengsong
parents:
diff changeset
   401
   \if@nobreak
Chengsong
parents:
diff changeset
   402
     \everypar{}%
Chengsong
parents:
diff changeset
   403
   \else
Chengsong
parents:
diff changeset
   404
     \addpenalty\@secpenalty\addvspace\@tempskipa
Chengsong
parents:
diff changeset
   405
   \fi
Chengsong
parents:
diff changeset
   406
   \noindent
Chengsong
parents:
diff changeset
   407
   \rlap{\color[rgb]{0.51,0.50,0.52}\vrule\@width\textwidth\@height1\p@}%
Chengsong
parents:
diff changeset
   408
   \hspace*{7mm}\fboxsep1.5mm\colorbox[rgb]{1,1,1}{\raisebox{-0.4ex}{%
Chengsong
parents:
diff changeset
   409
     \normalsize\sffamily\bfseries\refname}}%
Chengsong
parents:
diff changeset
   410
   \@xsect{1ex \@plus.2ex}%
Chengsong
parents:
diff changeset
   411
   \list{\@biblabel{\@arabic\c@enumiv}}%
Chengsong
parents:
diff changeset
   412
        {\leftmargin8.5mm
Chengsong
parents:
diff changeset
   413
         \labelsep\leftmargin
Chengsong
parents:
diff changeset
   414
         \settowidth\labelwidth{\@biblabel{#1}}%
Chengsong
parents:
diff changeset
   415
         \advance\labelsep-\labelwidth
Chengsong
parents:
diff changeset
   416
         \usecounter{enumiv}%
Chengsong
parents:
diff changeset
   417
         \let\p@enumiv\@empty
Chengsong
parents:
diff changeset
   418
         \renewcommand\theenumiv{\@arabic\c@enumiv}}%
Chengsong
parents:
diff changeset
   419
   \fontsize{9.5}{12.5}\selectfont
Chengsong
parents:
diff changeset
   420
   \sloppy
Chengsong
parents:
diff changeset
   421
   \clubpenalty4000
Chengsong
parents:
diff changeset
   422
   \@clubpenalty \clubpenalty
Chengsong
parents:
diff changeset
   423
   \widowpenalty4000%
Chengsong
parents:
diff changeset
   424
   \sfcode`\.\@m}
Chengsong
parents:
diff changeset
   425
  {\def\@noitemerr
Chengsong
parents:
diff changeset
   426
     {\@latex@warning{Empty `thebibliography' environment}}%
Chengsong
parents:
diff changeset
   427
   \endlist}
Chengsong
parents:
diff changeset
   428
\renewcommand\footnoterule{%
Chengsong
parents:
diff changeset
   429
  \kern-8\p@
Chengsong
parents:
diff changeset
   430
  {\color[rgb]{0.60,0.60,0.61}\hrule\@width40mm\@height1\p@}%
Chengsong
parents:
diff changeset
   431
  \kern6.6\p@}
Chengsong
parents:
diff changeset
   432
\renewcommand\@makefntext[1]{%
Chengsong
parents:
diff changeset
   433
    \parindent\z@\hangindent1em
Chengsong
parents:
diff changeset
   434
    \leavevmode
Chengsong
parents:
diff changeset
   435
    \hb@xt@1em{\@makefnmark\hss}#1}
Chengsong
parents:
diff changeset
   436
\usepackage[utf8]{inputenc}
Chengsong
parents:
diff changeset
   437
\IfFileExists{lmodern.sty}{\RequirePackage{lmodern}}{}
Chengsong
parents:
diff changeset
   438
\RequirePackage[T1]{fontenc}
Chengsong
parents:
diff changeset
   439
\RequirePackage{textcomp}
Chengsong
parents:
diff changeset
   440
\RequirePackage[mathscr]{eucal}
Chengsong
parents:
diff changeset
   441
\RequirePackage{amssymb}
Chengsong
parents:
diff changeset
   442
\RequirePackage{soul}
Chengsong
parents:
diff changeset
   443
\sodef\textsolittle{}{.12em}{.5em\@plus.08em\@minus.06em}%
Chengsong
parents:
diff changeset
   444
        {.4em\@plus.275em\@minus.183em}
Chengsong
parents:
diff changeset
   445
\RequirePackage{color}
Chengsong
parents:
diff changeset
   446
\definecolor{darkgray}{rgb}{0.31,0.31,0.33}
Chengsong
parents:
diff changeset
   447
\RequirePackage{babel}
Chengsong
parents:
diff changeset
   448
\RequirePackage[tbtags,fleqn]{amsmath}
Chengsong
parents:
diff changeset
   449
\RequirePackage{amsthm}
Chengsong
parents:
diff changeset
   450
\thm@headfont{%
Chengsong
parents:
diff changeset
   451
  \textcolor{darkgray}{$\blacktriangleright$}\nobreakspace\sffamily\bfseries}
Chengsong
parents:
diff changeset
   452
\def\th@remark{%
Chengsong
parents:
diff changeset
   453
  \thm@headfont{%
Chengsong
parents:
diff changeset
   454
    \textcolor{darkgray}{$\blacktriangleright$}\nobreakspace\sffamily}%
Chengsong
parents:
diff changeset
   455
  \normalfont % body font
Chengsong
parents:
diff changeset
   456
  \thm@preskip\topsep \divide\thm@preskip\tw@
Chengsong
parents:
diff changeset
   457
  \thm@postskip\thm@preskip
Chengsong
parents:
diff changeset
   458
}
Chengsong
parents:
diff changeset
   459
\def\@endtheorem{\endtrivlist}%\@endpefalse
Chengsong
parents:
diff changeset
   460
\renewcommand\qedsymbol{\textcolor{darkgray}{\ensuremath{\blacktriangleleft}}}
Chengsong
parents:
diff changeset
   461
\renewenvironment{proof}[1][\proofname]{\par
Chengsong
parents:
diff changeset
   462
  \pushQED{\qed}%
Chengsong
parents:
diff changeset
   463
  \normalfont \topsep6\p@\@plus6\p@\relax
Chengsong
parents:
diff changeset
   464
  \trivlist
Chengsong
parents:
diff changeset
   465
  \item[\hskip\labelsep
Chengsong
parents:
diff changeset
   466
        \color{darkgray}\sffamily\bfseries
Chengsong
parents:
diff changeset
   467
    #1\@addpunct{.}]\ignorespaces
Chengsong
parents:
diff changeset
   468
}{%
Chengsong
parents:
diff changeset
   469
  \popQED\endtrivlist%\@endpefalse
Chengsong
parents:
diff changeset
   470
}
Chengsong
parents:
diff changeset
   471
\theoremstyle{plain}
Chengsong
parents:
diff changeset
   472
\newtheorem{theorem}{Theorem}
Chengsong
parents:
diff changeset
   473
\newtheorem{lemma}[theorem]{Lemma}
Chengsong
parents:
diff changeset
   474
\newtheorem{corollary}[theorem]{Corollary}
Chengsong
parents:
diff changeset
   475
\theoremstyle{definition}
Chengsong
parents:
diff changeset
   476
\newtheorem{definition}[theorem]{Definition}
Chengsong
parents:
diff changeset
   477
\newtheorem{example}[theorem]{Example}
Chengsong
parents:
diff changeset
   478
\theoremstyle{remark}
Chengsong
parents:
diff changeset
   479
\newtheorem*{remark}{Remark}
Chengsong
parents:
diff changeset
   480
\ifx\numberwithinsect\relax
Chengsong
parents:
diff changeset
   481
  \@addtoreset{theorem}{section}
Chengsong
parents:
diff changeset
   482
  \edef\thetheorem{\expandafter\noexpand\thesection\@thmcountersep\@thmcounter{theorem}}
Chengsong
parents:
diff changeset
   483
\fi
Chengsong
parents:
diff changeset
   484
\RequirePackage{graphicx}
Chengsong
parents:
diff changeset
   485
\RequirePackage{array}
Chengsong
parents:
diff changeset
   486
\let\@classzold\@classz
Chengsong
parents:
diff changeset
   487
\def\@classz{%
Chengsong
parents:
diff changeset
   488
   \expandafter\ifx\d@llarbegin\begingroup
Chengsong
parents:
diff changeset
   489
     \toks \count@ =
Chengsong
parents:
diff changeset
   490
     \expandafter{\expandafter\small\the\toks\count@}%
Chengsong
parents:
diff changeset
   491
   \fi
Chengsong
parents:
diff changeset
   492
   \@classzold}
Chengsong
parents:
diff changeset
   493
\RequirePackage{multirow}
Chengsong
parents:
diff changeset
   494
\RequirePackage{tabularx}
Chengsong
parents:
diff changeset
   495
\RequirePackage[online]{threeparttable}
Chengsong
parents:
diff changeset
   496
\def\TPTtagStyle#1{#1)}
Chengsong
parents:
diff changeset
   497
\def\tablenotes{\small\TPT@defaults
Chengsong
parents:
diff changeset
   498
  \@ifnextchar[\TPT@setuptnotes\TPTdoTablenotes} % ]
Chengsong
parents:
diff changeset
   499
\RequirePackage{listings}
Chengsong
parents:
diff changeset
   500
\lstset{basicstyle=\small\ttfamily,%
Chengsong
parents:
diff changeset
   501
        backgroundcolor=\color[rgb]{0.85,0.85,0.86},%
Chengsong
parents:
diff changeset
   502
        frame=single,framerule=0pt,xleftmargin=\fboxsep,xrightmargin=\fboxsep}
Chengsong
parents:
diff changeset
   503
\RequirePackage{lastpage}
Chengsong
parents:
diff changeset
   504
\IfFileExists{doi.sty}
Chengsong
parents:
diff changeset
   505
  {\RequirePackage{doi}%
Chengsong
parents:
diff changeset
   506
   \renewcommand*{\doitext}{}}
Chengsong
parents:
diff changeset
   507
  {\RequirePackage{hyperref}%
Chengsong
parents:
diff changeset
   508
   \def\doi##1{##1}}
Chengsong
parents:
diff changeset
   509
\hypersetup{pdfborder={0 0 0}}
Chengsong
parents:
diff changeset
   510
\RequirePackage[labelsep=space,singlelinecheck=false,%
Chengsong
parents:
diff changeset
   511
  font={up,small},labelfont={sf,bf},%
Chengsong
parents:
diff changeset
   512
  listof=false]{caption}%"listof" instead of "list" for backward compatibility
Chengsong
parents:
diff changeset
   513
\@ifpackagelater{hyperref}{2009/12/09}
Chengsong
parents:
diff changeset
   514
  {\captionsetup{compatibility=false}}%cf. http://groups.google.de/group/comp.text.tex/browse_thread/thread/db9310eb540fbbd8/42e30f3b7b3aa17a?lnk=raot
Chengsong
parents:
diff changeset
   515
  {}
Chengsong
parents:
diff changeset
   516
\DeclareCaptionLabelFormat{boxed}{%
Chengsong
parents:
diff changeset
   517
  \kern0.05em{\color[rgb]{0.99,0.78,0.07}\rule{0.73em}{0.73em}}%
Chengsong
parents:
diff changeset
   518
  \hspace*{0.67em}\bothIfFirst{#1}{~}#2}
Chengsong
parents:
diff changeset
   519
\captionsetup{labelformat=boxed}
Chengsong
parents:
diff changeset
   520
\captionsetup[table]{position=top}
Chengsong
parents:
diff changeset
   521
\RequirePackage[figuresright]{rotating}
Chengsong
parents:
diff changeset
   522
\RequirePackage{subfig}
Chengsong
parents:
diff changeset
   523
\def\titlerunning#1{\gdef\@titlerunning{{\let\footnote\@gobble\markboth{#1}{#1}}}}
Chengsong
parents:
diff changeset
   524
\def\authorrunning#1{%
Chengsong
parents:
diff changeset
   525
  \gdef\@authorrunning{\expandafter\def\expandafter\@tempa\expandafter{#1}%
Chengsong
parents:
diff changeset
   526
                       \ifx\@tempa\@empty\else\markright{#1}\fi}}
Chengsong
parents:
diff changeset
   527
\titlerunning{\@title}
Chengsong
parents:
diff changeset
   528
\authorrunning{\AB@authrunning}
Chengsong
parents:
diff changeset
   529
\newcommand*\volumeinfo[6]{%
Chengsong
parents:
diff changeset
   530
  {\gdef\@Editors{#1}%
Chengsong
parents:
diff changeset
   531
   \gdef\@Eds{Editor}\ifnum #2>1 \gdef\@Eds{Editors}\fi
Chengsong
parents:
diff changeset
   532
   \gdef\@Event{#3}%
Chengsong
parents:
diff changeset
   533
   \setcounter{page}{#6}}}
Chengsong
parents:
diff changeset
   534
\volumeinfo{}{1}{}{}{}{1}
Chengsong
parents:
diff changeset
   535
\RequirePackage{authblk}
Chengsong
parents:
diff changeset
   536
\renewcommand*\Authand{{ and }}
Chengsong
parents:
diff changeset
   537
\renewcommand*\Authfont{\Large\bfseries\mathversion{bold}}
Chengsong
parents:
diff changeset
   538
\renewcommand*\AB@authnote[1]{\textsuperscript{#1}}
Chengsong
parents:
diff changeset
   539
\renewcommand*\AB@affilnote[1]{\protect\item[#1]}
Chengsong
parents:
diff changeset
   540
\renewcommand*\Affilfont{\fontsize{9.5}{12}\selectfont}
Chengsong
parents:
diff changeset
   541
\setlength\affilsep{\baselineskip}
Chengsong
parents:
diff changeset
   542
\newcommand\AB@authrunning{}
Chengsong
parents:
diff changeset
   543
\newcommand\AB@authfortoc{}
Chengsong
parents:
diff changeset
   544
\renewcommand\author[2][]%
Chengsong
parents:
diff changeset
   545
      {\ifnewaffil\addtocounter{affil}{1}%
Chengsong
parents:
diff changeset
   546
       \edef\AB@thenote{\arabic{affil}}\fi
Chengsong
parents:
diff changeset
   547
      \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
Chengsong
parents:
diff changeset
   548
        \setcounter{Maxaffil}{0}\fi
Chengsong
parents:
diff changeset
   549
      \ifnum\value{authors}>1\relax
Chengsong
parents:
diff changeset
   550
      \@namedef{@sep\number\c@authors}{\Authsep}\fi
Chengsong
parents:
diff changeset
   551
      \addtocounter{authors}{1}%
Chengsong
parents:
diff changeset
   552
      \begingroup
Chengsong
parents:
diff changeset
   553
          \let\protect\@unexpandable@protect \let\and\AB@pand
Chengsong
parents:
diff changeset
   554
          \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
Chengsong
parents:
diff changeset
   555
         \@temptokena=\expandafter{\AB@authors}%
Chengsong
parents:
diff changeset
   556
         {\def\\{\protect\\[\@affilsep]\protect\Affilfont
Chengsong
parents:
diff changeset
   557
              \protect\AB@resetsep}%
Chengsong
parents:
diff changeset
   558
              \xdef\AB@author{\AB@blk@and#2}%
Chengsong
parents:
diff changeset
   559
       \ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}%
Chengsong
parents:
diff changeset
   560
           \xdef\AB@authors{\the\@temptokena\AB@blk@and}%
Chengsong
parents:
diff changeset
   561
       \else
Chengsong
parents:
diff changeset
   562
          \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
Chengsong
parents:
diff changeset
   563
          \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}%
Chengsong
parents:
diff changeset
   564
          \gdef\AB@as{\Authsep}%
Chengsong
parents:
diff changeset
   565
       \fi
Chengsong
parents:
diff changeset
   566
       \gdef\AB@au@str{#2}}%
Chengsong
parents:
diff changeset
   567
         \@temptokena=\expandafter{\AB@authlist}%
Chengsong
parents:
diff changeset
   568
         \let\\=\authorcr
Chengsong
parents:
diff changeset
   569
         \xdef\AB@authlist{\the\@temptokena
Chengsong
parents:
diff changeset
   570
           \protect\@nameuse{@sep\number\c@authors}%
Chengsong
parents:
diff changeset
   571
           \protect\Authfont#2\AB@authnote{\AB@note}}%
Chengsong
parents:
diff changeset
   572
         %new
Chengsong
parents:
diff changeset
   573
         \@temptokena=\expandafter{\AB@authrunning}%
Chengsong
parents:
diff changeset
   574
         \let\\=\authorcr
Chengsong
parents:
diff changeset
   575
         \xdef\AB@authrunning{\the\@temptokena
Chengsong
parents:
diff changeset
   576
           \protect\@nameuse{@sep\number\c@authors}#2}%
Chengsong
parents:
diff changeset
   577
         %
Chengsong
parents:
diff changeset
   578
         %new
Chengsong
parents:
diff changeset
   579
         \@temptokena=\expandafter{\AB@authfortoc}%
Chengsong
parents:
diff changeset
   580
         \let\\=\authorcr
Chengsong
parents:
diff changeset
   581
         \xdef\AB@authfortoc{\the\@temptokena
Chengsong
parents:
diff changeset
   582
           \expandafter\noexpand\csname @sep\number\c@authors\endcsname#2}%
Chengsong
parents:
diff changeset
   583
         %
Chengsong
parents:
diff changeset
   584
      \endgroup
Chengsong
parents:
diff changeset
   585
      \ifnum\value{authors}>2\relax
Chengsong
parents:
diff changeset
   586
      \@namedef{@sep\number\c@authors}{\Authands}\fi
Chengsong
parents:
diff changeset
   587
      \newaffilfalse
Chengsong
parents:
diff changeset
   588
}
Chengsong
parents:
diff changeset
   589
\renewcommand\affil[2][]%
Chengsong
parents:
diff changeset
   590
   {\newaffiltrue\let\AB@blk@and\AB@pand
Chengsong
parents:
diff changeset
   591
      \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
Chengsong
parents:
diff changeset
   592
        \setcounter{Maxaffil}{0}\fi
Chengsong
parents:
diff changeset
   593
      \begingroup
Chengsong
parents:
diff changeset
   594
        \let\protect\@unexpandable@protect
Chengsong
parents:
diff changeset
   595
        \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
Chengsong
parents:
diff changeset
   596
        \@temptokena=\expandafter{\AB@authors}%
Chengsong
parents:
diff changeset
   597
        {\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
Chengsong
parents:
diff changeset
   598
         \xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
Chengsong
parents:
diff changeset
   599
         \protect\\[\affilsep]\protect\Affilfont\AB@temp}%
Chengsong
parents:
diff changeset
   600
         \gdef\AB@las{}\gdef\AB@au@str{}%
Chengsong
parents:
diff changeset
   601
        {\xdef\AB@temp{#2}}%
Chengsong
parents:
diff changeset
   602
        \@temptokena=\expandafter{\AB@affillist}%
Chengsong
parents:
diff changeset
   603
        \xdef\AB@affillist{\the\@temptokena \AB@affilsep
Chengsong
parents:
diff changeset
   604
          \AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}%
Chengsong
parents:
diff changeset
   605
      \endgroup
Chengsong
parents:
diff changeset
   606
       \let\AB@affilsep\AB@affilsepx}
Chengsong
parents:
diff changeset
   607
\renewcommand\@author{\ifx\AB@affillist\AB@empty\AB@authrunning\else
Chengsong
parents:
diff changeset
   608
      \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}%
Chengsong
parents:
diff changeset
   609
    \AB@authlist\\[\affilsep]
Chengsong
parents:
diff changeset
   610
    \labelwidth1.5em\labelsep\z@\leftmargini\labelwidth
Chengsong
parents:
diff changeset
   611
    \edef\@enumctr{enumi}%
Chengsong
parents:
diff changeset
   612
    \list\theenumi{\usecounter\@enumctr\def\makelabel##1{\rlap{##1}\hss}}%
Chengsong
parents:
diff changeset
   613
      \AB@affillist
Chengsong
parents:
diff changeset
   614
    \endlist
Chengsong
parents:
diff changeset
   615
    \else  \AB@authors\fi\fi}
Chengsong
parents:
diff changeset
   616
\newcommand*\Copyright[1]{%
Chengsong
parents:
diff changeset
   617
  \def\@Copyright{%
Chengsong
parents:
diff changeset
   618
      \setbox\@tempboxa\hbox{\includegraphics[height=14\p@,clip]{cc-by}}%
Chengsong
parents:
diff changeset
   619
      \hspace*{\wd\@tempboxa}\enskip\ifx#1\@empty \else \textcopyright\ #1;\\\fi
Chengsong
parents:
diff changeset
   620
      \href{http://creativecommons.org/licenses/by/3.0/}%
Chengsong
parents:
diff changeset
   621
           {\smash{\unhbox\@tempboxa}}\enskip
Chengsong
parents:
diff changeset
   622
            licensed under Creative Commons License CC-BY\\
Chengsong
parents:
diff changeset
   623
    }}
Chengsong
parents:
diff changeset
   624
\Copyright{\@empty}
Chengsong
parents:
diff changeset
   625
\def\keywords#1{\def\@keywords{#1}}
Chengsong
parents:
diff changeset
   626
\let\@keywords\@empty
Chengsong
parents:
diff changeset
   627
\def\keywordsHeading{%
Chengsong
parents:
diff changeset
   628
  \textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
Chengsong
parents:
diff changeset
   629
                       Keywords and phrases\enskip}}
Chengsong
parents:
diff changeset
   630
\def\subjclass#1{\gdef\@subjclass{#1}}
Chengsong
parents:
diff changeset
   631
\let\@subjclass\@empty
Chengsong
parents:
diff changeset
   632
\def\subjclassHeading{%
Chengsong
parents:
diff changeset
   633
  \textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
Chengsong
parents:
diff changeset
   634
                       1998 ACM Subject Classification\enskip}}
Chengsong
parents:
diff changeset
   635
\def\doiHeading{%
Chengsong
parents:
diff changeset
   636
  \textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
Chengsong
parents:
diff changeset
   637
                       Digital Object Identifier\enskip}}
Chengsong
parents:
diff changeset
   638
\def\serieslogo#1{\gdef\@serieslogo{#1}}
Chengsong
parents:
diff changeset
   639
\serieslogo{}
Chengsong
parents:
diff changeset
   640
\def\EventShortName#1{\gdef\@EventShortName{#1}}
Chengsong
parents:
diff changeset
   641
\EventShortName{}
Chengsong
parents:
diff changeset
   642
\def\DOI#1{\gdef\@DOI{#1}}
Chengsong
parents:
diff changeset
   643
\DOI{}
Chengsong
parents:
diff changeset
   644
\endinput
Chengsong
parents:
diff changeset
   645
%%
Chengsong
parents:
diff changeset
   646
%% End of file `lipics.cls'.