forked from sharmaeklavya2/notes-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.tex
57 lines (47 loc) · 1.18 KB
/
header.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
\documentclass[a4paper, 12pt, fleqn]{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{float}
\usepackage{hyperref}
\usepackage{url}
\usepackage[margin=1in]{geometry}
\hypersetup{
colorlinks,
linkcolor={red!50!black},
citecolor={red!50!black},
urlcolor={blue!50!black}
}
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\newcommand*{\floor}[1]{\left\lfloor #1 \right\rfloor}
\newcommand*{\ceil}[1]{\left\lceil #1 \right\rceil}
\newcommand*{\abs}[1]{\left\lvert #1 \right\rvert}
\newcommand*{\norm}[1]{\left\lVert #1 \right\rVert}
\DeclareMathOperator*{\E}{E}
\DeclareMathOperator*{\Var}{Var}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
\newcommand{\initMinimal}{
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.5em}
}
\newcommand{\initFromContents}{
\tableofcontents
\newpage
\initMinimal{}
}
\newcommand{\initAfterBeginDocument}{
\maketitle
\initFromContents{}
}
\newcommand{\addMyBib}{
\bibliographystyle{plainurl}
\bibliography{bibdb}
}
\author{Eklavya Sharma}
\date{}