-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathRulebook.tex
207 lines (165 loc) · 6.41 KB
/
Rulebook.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
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
\documentclass[11pt, twoside, openright, a4paper, chapterprefix]{scrbook}
\usepackage[inner=2.5cm, outer=2.5cm, top=4cm, bottom=4cm]{geometry}
%%% PACKAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{./setup/packages.tex}
\usepackage[titletoc]{appendix}
\usepackage{enumitem}
\usepackage{mathtools}
\usepackage{gensymb}
\usepackage[normalem]{ulem}
\setlist{noitemsep}
\usepackage{hhline}
\usepackage{rotating}
\usepackage{tikz}
\usepackage{siunitx} %to have a nicer unit representation
\usepackage{multicol}
\usepackage{comment}
% Comment these both out for serif font
\usepackage{lmodern}
\renewcommand\familydefault{\sfdefault}
% Glossary
\usepackage[numberedsection, nogroupskip, nonumberlist, nopostdot]{glossaries}
\makeglossaries
\input{./glossary.tex}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usetikzlibrary{fit}
\usetikzlibrary{decorations.pathreplacing}
%%% SubfigureSetup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewcommand{\subfigtopskip}{5pt} % default is 10pt
%\renewcommand{\subfigbottomskip}{5pt} % default is 10pt
%\renewcommand{\subfigcapskip}{3pt} % default is 10pt
%\renewcommand{\subfigcapmargin}{7pt} % default is 10pt
%%% TweakList-Setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\itemhook}{% % modify itemize-spacing
\setlength{\topsep}{2pt}%
\setlength{\partopsep}{1pt}%
\setlength{\itemsep}{-1pt}%
}
\renewcommand{\enumhook}{% % modify enumerate-spacing
\setlength{\topsep}{2pt}%
\setlength{\partopsep}{1pt}%
\setlength{\itemsep}{-1pt}%
}
\renewcommand{\descripthook}{% % modify description-spacing
\setlength{\topsep}{2pt}%
\setlength{\partopsep}{1pt}%
\setlength{\itemsep}{-1pt}%
}
\setkomafont{title}{\normalfont}
\setkomafont{sectioning}{\normalfont\bfseries}
\addtokomafont{caption}{\small}
\setkomafont{captionlabel}{\small\bfseries}
\setkomafont{descriptionlabel}{\normalfont\bfseries}
\renewcommand*{\chapterformat}{\LARGE{Chapter \thechapter}}
\setcounter{secnumdepth}{3}
\setlength{\parskip}{10pt plus 1pt minus 1pt}
\setlength{\parindent}{0pt}
%%% MACROS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{./setup/active_version.tex}
\input{./setup/macros.tex}
\input{./setup/abbrevix.tex}
\makeindex % generate index
\makeabbex % generate abbreviations
%%% DOCUMENTINFO %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
pdftitle = {\RCAW Rulebook},
pdfsubject = {\RCAW Rulebook},
pdfauthor = {\RCAW Technical Committee},
pdfkeywords = {\RC, @Work, Rules, Competition},
colorlinks = true,
anchorcolor = blue,
linkcolor = blue,
urlcolor = blue,
}
%%% HEADINGS & PAGE STYLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\footline}{\RCAW Rulebook / \rulebookVersion}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter. \ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}\renewcommand{\currentTest}{#1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\sffamily\rightmark}
\fancyhead[LO]{\sffamily\leftmark}
\fancyfoot[C]{\scriptsize \sffamily \footline{}}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\sffamily\rightmark}
\fancyhead[LO]{\sffamily\leftmark}
\fancyfoot[C]{\scriptsize \sffamily \footline{}}
\renewcommand{\headrulewidth}{0.5 pt}
}
\fancypagestyle{empty}{
\fancyhf{}
\fancyhead{}
\fancyfoot[C]{\scriptsize \sffamily \footline{}}
\renewcommand{\headrulewidth}{0 pt}
}
\newcommand{\quotes}[1]{``#1''}
\newcommand{\textbi}[1]{\textbf{\textit{#1}}}
%\newcommand{\sectionbreak}{\clearpage}
%\newcommand{\subsectionbreak}{\clearpage}
%%%%%%%%%%%%%%%%%% Please add your personal makro here %%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\szug}[1]{\todo[color=green!40, inline, caption={}]{[Sebastian] #1}}
\newcommand{\marco}[1]{\todo[color=green!40, inline, caption={}]{[Marco ] #1}}
\newcommand{\deebul}[1]{\todo[color=yellow!40, inline, caption={}]{[Deebul ] #1}}
\newcommand{\christoph}[1]{\todo[color=teal!40, inline, caption={}]{[Christoph ] #1}}
\newcommand{\martin}[1]{\todo[color=green!50, inline, caption={}]{[Martin ] #1}}
\newcommand{\leander}[1]{\todo[color=orange!50, inline, caption={}]{[Leander ] #1}}
\newcommand{\all}[1]{\todo[color=red!40, inline, caption={}]{[all ] #1}}
\newcommand{\lucas}[1]{\todo[color=yellow!40, inline, caption={}]{[Lucas ] #1}}
%%%%%%%%%%%%%%%%%%%\renewcommand{%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\errorcontextlines 10000
%\listoftodos
\include{./pages/titlepage}
\pagestyle{empty}
%\listoftodos[Todos, Discussions, Remarks]
\tableofcontents
\clearpage
\pagestyle{plain}
\input{./general_rules/Change_log}
\chapter{Introduction}
\input{./general_rules/At_Work_in_a_Nutshell}
\input{./general_rules/Organization_of_the_League}
\input{./general_rules/Participation_int_the_Competition}
%\input{./general_rules/Organization_of_the_Competition}
\chapter{General Rules}
\input{./general_rules/General_Design}
\chapter{Competition}
\input{./competition/Competition.tex}
\chapter{Tests}
\input{./tests/Tests}
\chapter{Scoring and Ranking}
\input{./general_rules/Scoring_and_Ranking.tex}
% \chapter{Technical Challenges} \label{cha:TechnicalChallenges}
% \label{cha: TCHA}
% \input{./technical_challenges/Technical_Challenges.tex}
\chapter{Challenges and Awards} \label{cha:ChallengesAndAwards}
\label{cha: CAA}
\input{./technical_challenges/ChallengesAndAwards.tex}
\chapter{Virtual RoboCup}
\label{cha: VRC}
\input{./general_rules/Virtual_RoboCup.tex}
%\chapter{Future Changes}
%\label{cha: Future}
%\input{./general_rules/Future_Changes.tex}
%\chapter{Open Source Award}
%\input{./general_rules/Opensource_Award.tex}
%\input{./tests/BWT.tex}
%\input{./tests/AWT.tex}
%\input{./tests/BAT.tex}
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
%\setlength{\glslistdottedwidth}{.3\linewidth}
\glsaddall
%\printglossary[style=long, title=Special Terms]
%\printglossary[style=listdotted, title=Special Terms]
\printglossary[style=altlist, title=Special Terms]
\chapter{Appendix}
\input{./appendix.tex}
\printabx
\printidx
\end{document}