-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwocolpceurws.sty
230 lines (194 loc) · 9.21 KB
/
twocolpceurws.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
% VLDB VARIANT OF PROC STANDARD DOCUMENT STYLE -- Released 26 February 1992
% for LaTeX version 2.09 will work for LaTeX 2e as well
% Copyright (C) 1991,1992 by Leslie Lamport
% Modifications for 1993 VLDB specs by Tony Hosking
% Modifications for 1996 VLDB specs by [email protected]
% Modifications for 1997 VLDB specs by [email protected]
% Modifications for 1997 KRDB specs by [email protected]
% Modifications for 2011 CEURWS specs by [email protected]
%
% This is a style option for use with the article style to produce
% camera-ready CEUR-WS proceedings.
% TWO COLUMNS / WITH PAGE NUMBERS
\typeout{Document Style Option 'twocolpceurws'.}
% PREPARING A FOREIGN LANGUAGE VERSION:
%
% This document style is for documents prepared in the English language.
% To prepare a version for another language, various English words must
% be replaced. All the English words that required replacement are
% indicated below, where we give the name of the command in which the
% words appear, and the entire line containing the word(s), with the
% actual words underlined.
%
% abstract environment
\@ifundefined{abstractname}%
{\def\abstractname{Abstract}}{}
% ~~~~~~~~
%
% \page:
% ~~~~
%
%
% ****************************************
% * PAGE LAYOUT *
% ****************************************
%
% All margin dimensions measured from a point one inch from top and side
% of page. Dimensions shrink by about 2 percent
% DRIVER MARGINS: change these to shift the complete page image as a whole
% on the page without modifying the layout
\voffset 0pt % does not have to be -0.65in since topmargin is -ve
\hoffset 0pt
% SIDE MARGINS:
\oddsidemargin -0.1in % Note that \oddsidemargin = \evensidemargin
\evensidemargin -0.1in
% VERTICAL SPACING:
% Top of page:
\topmargin -55pt % Nominal distance from top of page to top
% of box containing running head.
\headheight 12pt % Height of box containing running head.
\headsep 25pt % Space between running head and text.
% \topskip = 10pt % '\baselineskip' for first line of page.
% Bottom of page:
\footskip 60pt % Distance from baseline of box containing
% foot to baseline of last line of text.
% DIMENSION OF TEXT:
\textheight 9.125in % Height of text (including footnotes and
% figures, excluding running head and foot).
\textwidth 6.75in % Width of text line.
% For two-column mode:
\columnsep 0.25in % Space between columns
\columnseprule 0pt % Width of rule between columns.
% FLOATS: (a float is something like a figure or table)
%
% FOR FLOATS ON A TEXT PAGE:
%
% ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
\floatsep 11pt plus 2pt minus 2pt % Space between adjacent floats
% moved to top or bottom of
% text page.
\textfloatsep 6pt plus 2pt minus 2pt % Space between main text and
% floats at top or bottom of
% page.
\intextsep 6pt plus 2pt minus 2pt % Space between in-text figures
% and text.
\@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
\@maxsep 20pt % The maximum of \floatsep,
% \textfloatsep and \intextsep
% (minus the stretch and
% shrink).
% TWO-COLUMN FLOATS IN TWO-COLUMN MODE:
\dblfloatsep 11pt plus 2pt minus 2pt % Same as \floatsep for
% double-column figures in
% two-column mode.
\dbltextfloatsep 0pt plus 2pt % \textfloatsep for
% double-column floats.
\@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
%\@dblmaxsep 20pt % The maximum of \dblfloatsep
% and \dbltexfloatsep.
% ****************************************
% * PAGE STYLES *
% ****************************************
%
% Use \markright (or \markboth) to put an identification in the
% lower left. The page number is printed in the lower right.
% plain page style will set page numbers
\pagestyle{plain}
% ****************************************
% * TITLE *
% ****************************************
%
% This definition of \maketitle taken from article.sty, except
% it does not do a \thispagestyle{plain}.
% To avoid copyrightspace, do \def\copyrightspace{}
\def\institution#1{\gdef\@institution{#1}}
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}%
\def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
\twocolumn[\@maketitle]%
\@thanks\copyrightspace
\endgroup
\setcounter{footnote}{0}%
\let\maketitle\relax
\let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@institution{}%
\let\thanks\relax}
%\def\@maketitle{\vbox to 2.25in{\hsize\textwidth
\def\@maketitle{\vbox{\hsize\textwidth
\linewidth\hsize \vfil \centering
\vspace*{0.25in}
{\LARGE\bf \@title \par}% % Title set in \LARGE size.
\vskip 32pt % Vertical space after title.
{\large \begin{tabular}[t]{c}\@author \end{tabular}\par}%
\vskip 1em % Vertical space after authors.
{\begin{tabular}[t]{c}\@institution\end{tabular} \par}
\vskip 32pt}}
% The \copyrightspace command is used to produce the CEURWS copyright in the
% first column where a copyright notice belongs. Note that it
% should appear after any \footnote commands that produce footnotes
% for the first column.
% Edit the label XYZ of the workshop/conference, the names of the proceedings editors,
% location, Country and date of the workshop/conference, and the URL of the
% proceedings. If you know the volume number XXX, then replace use
% http://ceur-ws.org/Vol-XXX by replacing XXX with your volume number.
% Otherwise, just use http://ceur-ws.org
\def\copyrightspace{
\long\def\@makefntext##1{\noindent ##1}
\footnotesep 1em
\footnotetext[0]{\em Copyright \copyright\ 2015 by the paper's authors.
Copying permitted for private and academic purposes. This volume is published and copyrighted by its editors.}
\footnotetext[0]{In: A.H.\ Bagge, T.\ Mens (eds.): Postproceedings of
SATToSE 2015 Seminar on Advanced Techniques and Tools for Software Evolution,
University of Mons, Belgium, 6-8 July 2015,\\ published at \url{http://ceur-ws.org}}
}
% The abstract Environment
\def\abstract{\vspace*{11pt}{\centering{\large\bf\abstractname}\par}
\begin{list}{}{%
\setlength{\rightmargin}{0.25in}
\setlength{\leftmargin}{\rightmargin}}
\item[]}
\def\endabstract{\end{list}\normalsize}
% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
% optional * [ALTHEADING]{HEADING}
% Generic command to start a section.
% NAME : e.g., 'subsection'
% LEVEL : a number, denoting depth of section -- i.e.,
% section=1, subsection = 2, etc. A section number will
% be printed if and only if LEVEL < or = the value of
% the secnumdepth counter.
% INDENT : Indentation of heading from left margin
% BEFORESKIP : Absolute value = skip to leave above the heading.
% If negative, then paragraph indent of text following
% heading is suppressed.
% AFTERSKIP : if positive, then skip to leave below heading,
% else - skip to leave to right of run-in heading.
% STYLE : commands to set style
% If '*' missing, then increments the counter. If it is present, then
% there should be no [ALTHEADING] argument. A sectioning command
% is normally defined to \@startsection + its first six arguments.
\def\section{\@startsection {section}{1}{\z@}{-11pt plus-1ex minus-.2ex}
{5.5pt plus.2ex}{\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-11pt plus-1ex minus-.2ex}
{5.5pt plus.2ex}{\normalsize\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-11pt plus-1ex minus-.2ex}
{5.5pt plus.2ex}{\normalsize\bf}}
\def\paragraph{\@startsection{paragraph}{4}{\z@}{-11pt plus-1ex minus-.2ex}
{5.5pt plus.2ex}{\normalsize\rm}}
\def\subparagraph{\@startsection
{subparagraph}{4}{\parindent}{3.25ex plus1ex minus
.2ex}{-1em}{\normalsize\bf}}
% ****************************************
% * INITIALIZATION *
% ****************************************
%
% Default initializations
\twocolumn
\sloppy
\parindent 1pc
\leftmargini 2em
\leftmargin\leftmargini
\leftmarginv .5em
\leftmarginvi .5em
\flushbottom
\endinput