-
Notifications
You must be signed in to change notification settings - Fork 9
/
preamble.tex
60 lines (50 loc) · 1.37 KB
/
preamble.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
\title{Formalisms Every Computer Scientist Should Know}
\author{Students in the class}
\newcommand{\booklicense}{
This work is marked with CC0 1.0.
To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0
}
% Author subtitle
% For example, university or geographical location
\newcommand{\authorsubtitle}{ISTA}
\synctex=1
% PACKAGES
% this package allows large \fontsize
\usepackage{fix-cm}
% this is for graphics. e.g. rectangle on title page
\usepackage{tikz}
% Used by equations
\usepackage{amsmath}
\usepackage{amssymb,amsfonts,amsthm,mathptmx,mathtools}
\usepackage{enumitem}
% Paper dimensions
\usepackage[a4paper, total={6in, 8in}]{geometry}
% Inserting images
\usepackage{graphicx}
% Index creation
\usepackage{makeidx}
% Initialize an index so we can add entries with \index
\makeindex
% Others
\usepackage{pbox}
\usepackage{stmaryrd}
% Links
\usepackage{hyperref}
% Convenient references
\usepackage{cleveref}
% Derivations written using horizontal lines
\usepackage{mathpartir}
% TikZ figures
\usepackage{tikz}
% algorithms
\usepackage{algorithm}
\usepackage{algpseudocode}
% MACROS
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{remark}{Remark}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{homework}{Homework}
\newtheorem{metatheorem}{Metatheorem}
\newtheorem{axiom}{Axiom}[section]