-
Notifications
You must be signed in to change notification settings - Fork 12
/
Codebook.tex
62 lines (51 loc) · 1.38 KB
/
Codebook.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
\documentclass[a4paper,10pt,oneside]{article}
\input{Codebook-setup}
\begin{document}
% Debug Info
% \the\paperwidth \par
% \the\paperheight \par
% \the\geometrylen{layoutwidth} \par
% \the\geometrylen{layoutheight} \par
% \the\textwidth \par
% \the\textheight \par
% \the\voffset \par
% \the\hoffset \par
\begin{multicols}{\NumberOfColumn}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead[L]{\UniversityName{} - \TeamName}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\contentsname}{Contents}
\scriptsize
\input{list.tex}
\clearpage
\end{multicols}
\newpage
\begin{multicols}{\NumberOfColumn}
\enlargethispage*{\baselineskip}
\begin{center}
\Huge\textsc{ACM ICPC Team Reference - \TeamName}
\vspace{0.35cm}
\end{center}
\tableofcontents
\end{multicols}
\fancypagestyle{plain}{%
\fancyfoot{}
\fancyhead[L]{\UniversityName{} \TeamName{}}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\contentsname}{Contents}
}
\pagestyle{plain}
\clearpage
% 以下是測機用範本,不需要可以刪掉
\begin{multicols}{\NumberOfColumn}
\begin{center}
\Huge\textsc{ACM ICPC Judge Test - \TeamName}
\vspace{0.35cm}
\end{center}
\scriptsize
\input{./judge-test/cpp-test.tex}
\end{multicols}
\end{document}