summaryrefslogtreecommitdiff
path: root/tcr.tex
blob: 445f8b65f54cc9aa8e251f295a70ad84d4ffc45c (plain)
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

%maybe size 9pt if too many pages
\documentclass[a4paper,fontsize=7.8pt]{scrartcl}

% General information.
\newcommand{\teamname}{Let's party!}
\newcommand{\university}{Karlsruhe Institute of Technology}

% Options
\newif\ifoptional
%\optionaltrue

% Font encoding.
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[hidelinks,pdfencoding=auto]{hyperref}

% Include headers.
\usepackage{latexHeaders/layout}
\usepackage{latexHeaders/math}
\usepackage{latexHeaders/code}
\usepackage{latexHeaders/commands}

% Title and author information.
\title{Team Contest Reference}
\author{\teamname \\ \university}
\date{\today}
\begin{document}

% Titlepage with table of contents.
\setlength{\columnsep}{1cm}
\optional{
\maketitle
\begin{multicols*}{3}
	\tableofcontents
\end{multicols*}
}
\newpage

% Content.
\begin{multicols*}{3}
  \input{datastructures/datastructures}
  \input{graph/graph}
  \input{geometry/geometry}
  \input{math/math}
\end{multicols*}
  \clearpage
  \input{math/tables}
\begin{multicols*}{3}
  \input{string/string}
  \input{java/java}
  \input{other/other}
  \input{template/template}
  \clearpage
  \ifodd\value{page}
  \else
    \null
    \thispagestyle{empty}
    \clearpage
  \fi
  \input{tests/test}
\end{multicols*}
\end{document}