-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sty
57 lines (52 loc) · 1.71 KB
/
init.sty
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
\ProvidesPackage{init}
\usepackage{import}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\usepackage[english]{babel}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{hyperref}
\usepackage{cancel}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{relsize}
\usepackage{listings}
\graphicspath{ {./images/} }
\usepackage{array}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage[left=2cm, right=2.5cm, top=2.5cm, bottom=2.5cm]{geometry}
\usepackage{enumitem}
\usepackage{mathrsfs}
% Math Functions
\newcommand{\limx}[2]{\displaystyle\lim\limits_{#1 \to #2}}
\newcommand{\st}{\text{ s.t. }}
\newcommand{\abs}[1]{\left\lvert #1 \right\rvert}
\newcommand{\dotp}{\dot{\mathcal{P}}}
\newcommand{\dotq}{\dot{\mathcal{Q}}}
\newcommand{\Int}[1]{\text{int}\left(#1\right)}
\newcommand{\cl}[1]{\text{cl}\left(#1\right)}
\newcommand{\bd}[1]{\text{bd}\left(#1\right)}
\newcommand{\lr}[1]{\langle #1 \rangle)}
\newcommand{\lspan}[1]{\text{span}\left(#1\right)}
\newcommand{\ldim}[1]{\text{dim}\left(#1\right)}
\newcommand{\nullity}[1]{\text{nullity}\left(#1\right)}
\newcommand{\rank}[1]{\text{rank}\left(#1\right)}
\newcommand{\ldet}[1]{\text{det}\left(#1\right)}
\newcommand{\ltr}[1]{\text{tr}\left(#1\right)}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\DeclareMathOperator{\sign}{sgn}
\renewcommand{\qedsymbol}{$\blacksquare$}
% Special Sets
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
% Theorem Styles
\declaretheorem[numberwithin=section, style=definition]{theorem, definition, notation, lemma, corollary, remark, example}
% Formatting
\setlist[enumerate]{font=\bfseries}