-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtda2.sty
84 lines (76 loc) · 3.2 KB
/
tda2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{tda2}[2018/02/26 TDA Package]
\usepackage{amsfonts} % cool things like mathbb
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
\usepackage{subcaption}
\usepackage{lineno}
\usepackage{graphicx} % add images
\usepackage{subcaption}
\usepackage{listings} % put code in the document
\usepackage{url} % for addresses
\usepackage{siunitx} % using \deg{} command
\usepackage{float}
\usepackage{wrapfig}
\usepackage{amsthm}
\usepackage{graphicx,amssymb,amsmath}
\usepackage[shortlabels]{enumitem} % better enumerate
\usepackage[margin=1in]{geometry}
\graphicspath{{./}{figs/}
{../../codebase/experiments/stratification-exp/figs/distribution_exp/}
{../../codebase/experiments/stratification-exp/figs/error_exp/}
{../../codebase/experiments/stratification-exp/figs/smallest_angle_exp/}
{../../codebase/experiments/stratification-exp/figs/uniform_sample_exp/}
{../../codebase/experiments/stratification-exp/figs/delta_exp_figs/}}
\newcommand{\content}[1]{\input{./body/content/#1}}
\usepackage{color}
\definecolor{orange}{rgb}{1,0.5,0}
\definecolor{darkorchid}{rgb}{0.6,0.196,0.8}
\definecolor{olivedrab}{rgb}{0.42,0.56,0.14}
\newcommand{\todo}[1]{{\color{red}[[\textbf{XXX TODO: }#1]]}}
\newcommand{\brad}[1]{{\color{blue}[[\textbf{Brittany Says: }#1]]}}
\newcommand{\eli}[1]{{\color{green}[[\textbf{Sam Says: }#1]]}}
\newcommand{\anna}[1]{{\color{orange}[[\textbf{Anna Says: }#1]]}}
\newtheorem{lemma}{Lemma}
\newtheorem{remark}{Remark}
\newtheorem{assumption}{Assumption}
\newtheorem{corollary}{Corollary}
\newtheorem{observation}{Observation}
\newtheorem{construction}{Construction}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{conjecture}{Conjecture}
\newcommand{\curve}{\mathcal{C}_n(p)}
\newcommand{\N}{\mathbb{N}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Rbar}{\overline{\R}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\sph}{\mathbb{S}}
\newcommand{\ball}[2]{\mathbb{B}(#1,#2)}
\renewcommand{\S}{\sph}
\newcommand{\dir}{s}
\newcommand{\dirs}{\{s_1, s_2, \ldots, s_k\}}
\newcommand{\dprod}[2]{#1 \cdot #2}
\newcommand{\eqnref}[1]{Equation~\ref{eqn:#1}}
\newcommand{\corref}[1]{Corollary~\ref{cor:#1}}
\newcommand{\consref}[1]{Construction~\ref{cons:#1}}
\newcommand{\remref}[1]{Remark~\ref{rem:#1}}
\newcommand{\defref}[1]{Definition~\ref{def:#1}}
\newcommand{\exref}[1]{Example~\ref{ex:#1}}
\newcommand{\lemref}[1]{Lemma~\ref{lem:#1}}
\newcommand{\conjref}[1]{Conjecture~\ref{conj:#1}}
\newcommand{\probref}[1]{Problem~\ref{prob:#1}}
\newcommand{\propref}[1]{Proposition~\ref{prop:#1}}
\newcommand{\thmref}[1]{Theorem~\ref{thm:#1}}
\newcommand{\thmpartref}[2]{\thmref{#1} Part~\ref{thmPart:#2}}
\newcommand{\ssref}[1]{Section~\ref{ss:#1}}
\newcommand{\figref}[1]{Figure~\ref{fig:#1}}
\newcommand{\subfigref}[2]{Figure~\ref{fig:#1}(\subref{subfig:#2})}
\newcommand{\partref}[1]{Part~\ref{part:#1}}
\newcommand{\secref}[1]{Section~\ref{sec:#1}}
\newcommand{\ssecref}[1]{Section~\ref{ss:#1}}
\newcommand{\appendref}[1]{Appendix~\ref{append:#1}}
\newcommand{\assumptref}[1]{Assumption~\ref{ass:#1}}
\newcommand{\assref}[1]{\assumptref{#1}}
\newcommand{\obsref}[1]{Observation~\ref{obs:#1}}
\renewcommand{\eqref}[1]{(\ref{eq:#1})}