-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsigplanconf-fourauthors.tex
58 lines (57 loc) · 2.19 KB
/
sigplanconf-fourauthors.tex
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
% See http://tex.stackexchange.com/questions/104304.
\makeatletter
\def \@ivtitleauthors#1#2#3#4{%
\if \@andp{\@emptyargp{#2}}{\@emptyargp{#3}}%
\noindent \@setauthor{40pc}{#1}{\@false}\par
\else\if \@emptyargp{#3}%
\noindent \@setauthor{17pc}{#1}{\@false}\hspace{3pc}%
\@setauthor{17pc}{#2}{\@false}\par
\else\if \@emptyargp{#4}%
\noindent \@setauthor{17pc}{#1}{\@false}\hspace{3pc}%
\@setauthor{17pc}{#3}{\@false}\par
\else
\noindent \@setauthor{9.3333pc}{#1}{\@false}\hspace{1.5pc}%
\@setauthor{9.3333pc}{#2}{\@false}\hspace{1.5pc}%
\@setauthor{9.3333pc}{#3}{\@false}\hspace{1.5pc}%
\@setauthor{9.3333pc}{#4}{\@true}\par
\relax
\fi\fi\fi
\vspace{20pt}}
\def \@maketitle {%
\begin{center}
\@settitlebanner
\let \thanks = \titlenote
{\leftskip = 0pt plus 0.25\linewidth
\rightskip = 0pt plus 0.25 \linewidth
\parfillskip = 0pt
\spaceskip = .7em
\noindent \LARGE \bfseries \@titletext \par}
\vskip 6pt
\noindent \Large \@subtitletext \par
\vskip 12pt
\ifcase \@authorcount
\@latex@error{No authors were specified for this paper}{}\or
\@titleauthors{i}{}{}\or
\@titleauthors{i}{ii}{}\or
\@titleauthors{i}{ii}{iii}\or
\@ivtitleauthors{i}{ii}{iii}{iv}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{}{}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{viii}{}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{viii}{ix}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{viii}{ix}\@titleauthors{x}{}{}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{viii}{ix}\@titleauthors{x}{xi}{}\or
\@titleauthors{i}{ii}{iii}\@titleauthors{iv}{v}{vi}%
\@titleauthors{vii}{viii}{ix}\@titleauthors{x}{xi}{xii}%
\else
\@latex@error{Cannot handle more than 12 authors}{}%
\fi
\vspace{1.75pc}
\end{center}}
\makeatother