-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.tex
88 lines (74 loc) · 1.77 KB
/
main.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
\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage[a4paper, xetex]{geometry}
\usepackage{listings}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{courier}
\usepackage{fancyhdr}
\usepackage{enumitem}
\usepackage{hyperref}
\usepackage{lastpage}
\setlist{nolistsep}
\lstset{columns=fullflexible}
\lstset{basicstyle=\scriptsize\ttfamily}
%\lstset{showspaces=false}
%\lstset{showstringspaces=false}
%
\geometry{portrait}
\setlength{\topmargin}{-0.5in}
\setlength{\oddsidemargin}{-0.5in}
%\setlength{\evensidemargin}{-in}
\setlength{\columnsep}{1in}
\setlength{\columnseprule}{0.2pt}
\textwidth 185mm
\textheight 250mm
\pagestyle{fancy}
\lhead{Vilnius University (Šimoliūnaitė, Strakšys, Strimaitis)}
\chead{}
\rhead{\thepage\ of \pageref{LastPage}}
\lfoot{}
\cfoot{}
\rfoot{}
\newcommand{\includecpp}[2]{
\subsection{#1}\
\lstinputlisting[language=c++, breaklines=true]{#2}
}
\newcommand{\includepy}[2]{
\subsection{#1}\
\lstinputlisting[language=python, breaklines=true]{#2}
}
\newcommand{\includescript}[2]{
\subsection{#1}\
\lstinputlisting[breaklines=true]{#2}
}
\newcommand{\includetex}[2]{
\subsection{#1}\
\input{#2}
}
\newcommand{\floor}[1]{\lfloor #1 \rfloor}
\begin{document}
\thispagestyle{fancy}
\pagenumbering{Roman}
\begin{center}
\Huge\textsc{ACM-ICPC Team Reference Document}
\huge Vilnius University (Šimoliūnaitė, Strakšys, Strimaitis)
\vspace{0.50cm}
\end{center}
\begin{multicols*}{2}
\tableofcontents
\pagenumbering{arabic}
\setcounter{page}{1}
\input{contents.tex}
\end{multicols*}
%\enlargethispage*{\baselineskip}
%\pagebreak
% == CONTENTS == %
%\pagenumbering{arabic}
%\setcounter{page}{1}
%
%\begin{multicols*}{2}
% \input{contents.tex}
%\end{multicols*}
\end{document}