/
07-2RR.tex
112 lines (100 loc) · 5.36 KB
/
07-2RR.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
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %%%%%
%%%%% Template for a seven-team double round robin quizbowl schedule. %%%%%
%%%%% Copyright 2014, Jonah Greenthal <jonah@jonahgreenthal.com> %%%%%
%%%%% You can use, modify, and distribute this in any way you want, %%%%%
%%%%% as long as you give credit. %%%%%
%%%%% %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{qbschedule}
\usepackage[top=0.5in, bottom=0.5in, left=0.5in, right=0.5in]{geometry}
\def\TournamentName{Seven-Team Double Round Robin}
\def\TournamentSubtitle{\LaTeX\ Schedule Template}
\def\Phase{Preliminary Rounds (1--14)}
\def\ControlRoom{Room Z}
\newarray\Round
\Round(01)={Round 1}
\Round(02)={Round 2}
\Round(03)={Round 3}
\Round(04)={Round 4}
\Round(05)={Round 5}
\Round(06)={Round 6}
\Round(07)={Round 7}
\Round(08)={Round 8}
\Round(09)={Round 9}
\Round(10)={Round 10}
\Round(11)={Round 11}
\Round(12)={Round 12}
\Round(13)={Round 13}
\Round(14)={Round 14}
\newarray\Seed
\Seed(1)={Team Seeded 1\textsuperscript{st}}
\Seed(2)={Team Seeded 2\textsuperscript{nd}}
\Seed(3)={Team Seeded 3\textsuperscript{rd}}
\Seed(4)={Team Seeded 4\textsuperscript{th}}
\Seed(5)={Team Seeded 5\textsuperscript{th}}
\Seed(6)={Team Seeded 6\textsuperscript{th}}
\Seed(7)={Team Seeded 7\textsuperscript{th}}
\newarray\Room
\Room(1)={Room A} % Average difference between seeds: 2.3
\Room(2)={Room B} % Average difference between seeds: 3.0
\Room(3)={Room C} % Average difference between seeds: 2.7
\setbool{ShowReaders}{true}
\newarray\Reader
\Reader(1)={Al Anderson}
\Reader(2)={Betsy Baxter}
\Reader(3)={Charlie Castro}
\setbool{ShowScorekeepers}{true}
\newarray\Scorekeeper
\Scorekeeper(1)={Ann Allen}
\Scorekeeper(2)={Bill Berger}
\Scorekeeper(3)={Carly Carter}
\setbool{ShowBuzzerAssignments}{true}
\newarray\Buzzer
\Buzzer(1)={\Seed(3)}
\Buzzer(2)={\Seed(1)}
\Buzzer(3)={\Seed(5)}
% It is generally not necessary to edit anything below this line, but hey, do whatever you want.
\setlength{\TeamNameSize}{11pt}
\setlength\StaffSize{13pt}
\setlength\BuzzerSize{13pt}
\setlength{\RoomColumnWidth}{1.43in}
\setlength{\ByeColumnWidth} {1.43in}
\begin{document}
\begin{center}
\rowcolors*{1}{white}{gray}
\begin{tabular}{|y{\LeftColumnWidth}x{\RoomColumnWidth}x{\RoomColumnWidth}x{\RoomColumnWidth}x{\ByeColumnWidth}|}
\hline
\rowcolor{black}
\room{Room} & \room{\Room(1)} & \room{\Room(2)} & \room{\Room(3)} & \room{Bye} \tabularnewline
\ifbool{ShowReaders}{
\staff{Reader} & \staff{\Reader(1)} & \staff{\Reader(2)} & \staff{\Reader(3)} & \emptyinvertedcell \tabularnewline
}{}
\ifbool{ShowScorekeepers}{
\staff{Scorekeeper} & \staff{\Scorekeeper(1)} & \staff{\Scorekeeper(2)} & \staff{\Scorekeeper(3)} & \emptyinvertedcell \tabularnewline
}{}
\ifbool{ShowBuzzerAssignments}{
\buzzer{Buzzer System} & \buzzer{\Buzzer(1)} & \buzzer{\Buzzer(2)} & \buzzer{\Buzzer(3)} & \emptyinvertedcell \tabularnewline
}{}
\hline
\round{\Round(1)} & \matchup{\Seed(1)}{\Seed(5)} & \matchup{\Seed(7)}{\Seed(3)} & \matchup{\Seed(6)}{\Seed(4)} & \bye{\Seed(2)} \tabularnewline
\round{\Round(2)} & \matchup{\Seed(3)}{\Seed(6)} & \matchup{\Seed(4)}{\Seed(5)} & \matchup{\Seed(2)}{\Seed(7)} & \bye{\Seed(1)} \tabularnewline
\round{\Round(3)} & \matchup{\Seed(4)}{\Seed(1)} & \matchup{\Seed(5)}{\Seed(3)} & \matchup{\Seed(6)}{\Seed(2)} & \bye{\Seed(7)} \tabularnewline
\round{\Round(4)} & \matchup{\Seed(3)}{\Seed(4)} & \matchup{\Seed(5)}{\Seed(2)} & \matchup{\Seed(7)}{\Seed(1)} & \bye{\Seed(6)} \tabularnewline
\round{\Round(5)} & \matchup{\Seed(6)}{\Seed(7)} & \matchup{\Seed(2)}{\Seed(4)} & \matchup{\Seed(3)}{\Seed(1)} & \bye{\Seed(5)} \tabularnewline
\round{\Round(6)} & \matchup{\Seed(2)}{\Seed(3)} & \matchup{\Seed(1)}{\Seed(6)} & \matchup{\Seed(7)}{\Seed(5)} & \bye{\Seed(4)} \tabularnewline
\round{\Round(7)} & \matchup{\Seed(5)}{\Seed(6)} & \matchup{\Seed(1)}{\Seed(2)} & \matchup{\Seed(4)}{\Seed(7)} & \bye{\Seed(3)} \tabularnewline
\hline
\round{\Round(8)} & \matchup{\Seed(7)}{\Seed(3)} & \matchup{\Seed(6)}{\Seed(4)} & \matchup{\Seed(1)}{\Seed(5)} & \bye{\Seed(2)} \tabularnewline
\round{\Round(9)} & \matchup{\Seed(4)}{\Seed(5)} & \matchup{\Seed(2)}{\Seed(7)} & \matchup{\Seed(3)}{\Seed(6)} & \bye{\Seed(1)} \tabularnewline
\round{\Round(10)} & \matchup{\Seed(5)}{\Seed(3)} & \matchup{\Seed(6)}{\Seed(2)} & \matchup{\Seed(4)}{\Seed(1)} & \bye{\Seed(7)} \tabularnewline
\round{\Round(11)} & \matchup{\Seed(5)}{\Seed(2)} & \matchup{\Seed(7)}{\Seed(1)} & \matchup{\Seed(3)}{\Seed(4)} & \bye{\Seed(6)} \tabularnewline
\round{\Round(12)} & \matchup{\Seed(2)}{\Seed(4)} & \matchup{\Seed(3)}{\Seed(1)} & \matchup{\Seed(6)}{\Seed(7)} & \bye{\Seed(5)} \tabularnewline
\round{\Round(13)} & \matchup{\Seed(1)}{\Seed(6)} & \matchup{\Seed(7)}{\Seed(5)} & \matchup{\Seed(2)}{\Seed(3)} & \bye{\Seed(4)} \tabularnewline
\round{\Round(14)} & \matchup{\Seed(1)}{\Seed(2)} & \matchup{\Seed(4)}{\Seed(7)} & \matchup{\Seed(5)}{\Seed(6)} & \bye{\Seed(3)} \tabularnewline
\hline
\end{tabular}
\end{center}
\end{document}