-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
62 lines (53 loc) · 1.63 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
59
60
61
62
\input{math_commands.tex}
% packages
\usepackage[colorlinks]{hyperref} % for links
%\usepackage[backend=biber]{biblatex} % for references
%\addbibresource{bib.bib} % for references
\usepackage{graphicx} % for embedding graphics
\usepackage{booktabs} % for pretty tables
\usepackage{lipsum} % for gibberish text
\usepackage{mathtools}
\usepackage{wrapfig}
\usepackage{natbib}
\usepackage{floatrow}
\bibliographystyle{abbrvnat}
\setcitestyle{authoryear, citesep={;}, aysep={,},yysep={;}}
\setcitestyle{square}
\doublespacing
\usepackage{xcolor}
\definecolor{amaranth}{HTML}{E83151}
\definecolor{russianviolet}{HTML}{330036}
\definecolor{darkblue}{HTML}{645E9D}
\hypersetup{
colorlinks=true,
linkcolor=russianviolet,
citecolor=darkblue,
urlcolor=amaranth}
\newcommand{\xhdr}[1]{\noindent{{\bf #1.}}}
\usepackage{listings}
\usepackage{pythonhighlight}
\usepackage{makecell}
\usepackage{tabularx}
\usepackage{cleveref}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[ruled,vlined]{algorithm2e}
\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}}
\SetCommentSty{mycommfont}
\newcommand{\boldQ}{\mathbf{Q}}
\newcommand{\boldP}{\mathbf{P}}
\newcommand{\Qc}{\mathcal{Q}}
\newcommand{\Pc}{\mathcal{P}}
\newcommand{\Rc}{\mathcal{R}}
\newcommand{\Pun}{\boldP^\star}
\newcommand{\method}{Detectron}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{assumption}{Assumption}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{manualtheoreminner}{Theorem}
\newenvironment{manualtheorem}[1]{%
\renewcommand\themanualtheoreminner{#1}%
\manualtheoreminner}
{\endmanualtheoreminner}