-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathall_combined.tex
59 lines (49 loc) · 1.63 KB
/
all_combined.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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not alter this block (unless you're familiar with LaTeX
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb,amsfonts, fancyhdr, color, comment, graphicx, environ}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage[shortlabels]{enumitem}
\usepackage{indentfirst}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\usepackage{multicol} % for induction proofs :P
\usepackage{minted} % code font
\usepackage{listings}
\lstset{basicstyle=\ttfamily,breaklines=true}
\pagestyle{fancy}
\newenvironment{problem}[2][Exercise]
{ \begin{mdframed}[backgroundcolor=gray!20] \textbf{#1 #2} \\}
{ \end{mdframed}}
% Custom Commands
\renewcommand{\qed}{\quad\qedsymbol}
% prevent line break in inline mode
\binoppenalty=\maxdimen
\relpenalty=\maxdimen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Heading
\lhead{Sherry Fan \& Rahul Shah}
\rhead{CS 170}
\chead{\textbf{Textbook Algorithm Solutions}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{mdframed}[backgroundcolor=blue!20]
Table of Contents | Email any errors to [email protected], [email protected]
\end{mdframed}
\tableofcontents
\include{chapters/chapter0} % Note that I use include over input to force new page!
\include{chapters/chapter1}
\include{chapters/chapter2}
\include{chapters/chapter3}
\include{chapters/chapter4}
\include{chapters/chapter5}
\include{chapters/chapter6}
\include{chapters/chapter7}
\end{document}