-
Notifications
You must be signed in to change notification settings - Fork 2
/
SPL-Rules.tex
149 lines (112 loc) · 3.71 KB
/
SPL-Rules.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
% !TeX spellcheck = en_US
\documentclass[12pt]{article}
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\usepackage{times,fullpage,xspace,fancyhdr,url,color}
\usepackage[pdftex]{graphicx}
\usepackage[pdftex,
colorlinks=true,
urlcolor=black,
linkcolor=black,
citecolor=black,
bookmarksopen=false,
bookmarksnumbered=true,
pdfstartview=FitH]{hyperref}
\pdfcompresslevel=9
\newcommand{\leaguename}{RoboCup Standard Platform League (NAO) }
\hypersetup{
pdftitle={\leaguename Rule Book},
pdfauthor={Technical Committee SPL},
}
\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{xargs}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\usepackage{siunitx}
\usepackage[capitalize,noabbrev]{cleveref}
\usepackage[official]{eurosym}
\usepackage[useregional]{datetime2}
\usepackage{subcaption}
\usepackage{enumitem}
\usepackage{xcolor}
\DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}}
\newcommandx{\unsure}[2][1=]{\todo[linecolor=red,backgroundcolor=red!25,bordercolor=red,#1]{#2}}
\newcommandx{\change}[2][1=]{\todo[linecolor=blue,backgroundcolor=blue!25,bordercolor=blue,#1]{#2}}
\newcommandx{\info}[2][1=]{\todo[linecolor=green,backgroundcolor=green!25,bordercolor=green,#1]{#2}}
\newcommandx{\improvement}[2][1=]{\todo[linecolor=Plum,backgroundcolor=Plum!25,bordercolor=Plum,#1]{#2}}
% comment 'disable' in to disable all the todo notes :)
\usepackage
[
%disable
]{todonotes}
\usepackage[theorems]{tcolorbox}
\newtcbtheorem[number within=section]{hintbox}{}%
{colback=red!10,colframe=red!45!black,fonttitle=\bfseries}{th}
\include{common/spl_variables}
\include{common/spl_dates}
\sloppy
\newcommand{\ie}{\mbox{i.\,e.}\xspace}
\newcommand{\eg}{\mbox{e.\,g.}\xspace}
%\newcommand{\cf}{\mbox{cf.}\xspace}
\newcommand{\cf}{see\xspace}
% \newcommand{\comment}[1]{\marginpar{\pdfannot width 4in height .5in depth 8pt {/Subtype /Text /Contents (#1)}}}
\newcommand{\inparagraph}[1]{\paragraph{#1\hspace{-1em} }}
% some colors
\definecolor{orange}{rgb}{1,0.5,0}
\definecolor{red}{rgb}{1,0,0}
\definecolor{green}{rgb}{0,1,0}
\title{\leaguename Rule Book}
\author{RoboCup Technical Committee}
\date{(DRAFT \RCYear rules, as of \today)}
\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt plus 6pt minus 3 pt}
\setcounter{tocdepth}{1}
\widowpenalty=10000
\clubpenalty=10000
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
% needed to align an image and text correctly side by side
\newcommand{\imagebox}[1]{\raisebox{2ex}{\raisebox{-\height}{#1}}}
\begin{document}
\maketitle
\begin{center}
Questions or comments on these rules should be submitted via \url{https://github.com/RoboCup-SPL/Rules/issues}, to the \texttt{\#rule-book} channel on the SPL Discord server, or by mail to \url{rc-spl-tc@lists.robocup.org}.
\end{center}
\newpage
\tableofcontents
\setcounter{tocdepth}{3}
\thispagestyle{fancy}
\clearpage
\cfoot{\thepage}
\setcounter{page}{1}
\newpage
\include{rules/setup_environment}
\newpage
\include{rules/robot_players}
\newpage
\include{rules/game_process}
\newpage
\include{rules/forbidden_actions}
\newpage
\include{rules/judgment}
\newpage
\appendix
\include{rules/app_competition_rules}
\newpage
\include{rules/app_changes}
\newpage
\section{Field Technical Drawings}
\label{apx:technical-drawing}
\centerline{\includegraphics[angle=90,origin=c,width=\columnwidth]{figs/field_technical.pdf}}
\clearpage
\centerline{\includegraphics[angle=90,origin=c,width=0.5\columnwidth]{figs/field_technical_cc.pdf}}
\centerline{\includegraphics[origin=c,width=0.5\columnwidth]{figs/field_technical_pm.pdf}}
\end{document}