forked from TorrentofShame/cs2-reference-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreference.tex
65 lines (59 loc) · 1.76 KB
/
reference.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
% The format is taken (and subsequently updated to work with new package updates) from: https://github.com/kenfehling/latex-cheatsheet
\documentclass[10pt,landscape,letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage[USenglish]{babel}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage[explicit]{titlesec}
%\usepackage[LY1,T1]{fontenc}
%\usepackage{frutigernext}
%\usepackage[lf,minionint]{MinionPro}
\usepackage{tikz}
\usetikzlibrary{shapes,positioning,arrows,fit,calc,graphs,graphs.standard}
\usepackage[nosf]{kpfonts}
\usepackage[t1]{sourcesanspro}
\usepackage{multicol}
\usepackage{wrapfig}
\usepackage[top=0mm,bottom=1mm,left=0mm,right=1mm]{geometry}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{microtype}
\usepackage{pdfpages}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{mathtools}
\usepackage{enumitem}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage[super]{nth}
\renewcommand\tabularxcolumn[1]{m{#1}}
\renewcommand\arraystretch{1.25}
\let\bar\overline
\input{contents/def}
\setlist{leftmargin=*,labelindent=\parindent}
\newcommand\arraytable[8]{
\begin{tabularx}{\linewidth}{|X|X|X|X|X|X|X|X|}
\hline
#1 & #2 & #3 & #4 & #5 & #6 & #7 & #8 \\
\hline
\end{tabularx}
\begin{tabularx}{\linewidth}{XXXXXXXX}
1 & 2 & 3 & 4 & 5 & 6 & 7 & 8\\
\end{tabularx}
}
\begin{document}
\footnotesize
%\small
\begin{multicols*}{5}
\input{contents/java}
\input{contents/backtracking}
\input{contents/datastructures}
\input{contents/algorithm}
\input{contents/sorting}
\input{contents/greedyalgos}
\input{contents/unweightedgraphs}
\input{contents/weightedgraphs}
\input{contents/divide}
\input{contents/dynprog}
\input{contents/probalgos}
\end{multicols*}
\end{document}