-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
69 lines (58 loc) · 1.46 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
\documentclass{beamer}
\usepackage{listings}
\usepackage{textcomp}
\usepackage{amsmath}
% Listings
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstloadlanguages{[ISO]C++, Python}
\lstset{frame=tb,
upquote=true,
language=[ISO]C++,
aboveskip=2mm,
belowskip=2mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none, % line numbers -- change to "left" if you want them
numberstyle=\tiny\color{gray},
keywordstyle=\bfseries\color{blue},
commentstyle=\itshape\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=2
}
% C++ environment
\lstnewenvironment{cpp} {
\lstset{
language=[ISO]C++,
tabsize=2
}
} {}
% Python environment
\lstnewenvironment{py} {
\lstset{
language=Python,
tabsize=4
}
} {}
\newcommand{\cppf}[1]{\lstinputlisting{#1.cpp}}
\newcommand{\pyf}[1]{\lstinputlisting[language=Python, upquote=true]{#1.py}}
\usetheme{Madrid}
\title{Editorial}
\subtitle{Texas A\&M 2020 Spring Contest}
\date{\today}
\begin{document}
\input{A.tex} % 0:00
\input{B.tex} % 0:07
\input{D.tex} % 0:17
\input{G.tex} % 0:17
\input{C.tex} % 0:27
\input{H.tex} % 0:42
\input{F.tex} % 0:58
\input{E.tex} % 1:11
\input{I.tex} % :(
\input{J.tex} % :(
\end{document}