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