-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacros.sty
More file actions
55 lines (48 loc) · 1.5 KB
/
Copy pathmacros.sty
File metadata and controls
55 lines (48 loc) · 1.5 KB
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
\newcommand{\yell}[1]{\textcolor{red}{#1}}
% \newcommand{\assume}[1]{\textcolor{blue}{\textbf{#1}}}
\newcommand{\assume}[1]{#1}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{observation}{Observation}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
%% OPERATORS:
\newcommand{\norm}[1]{\left|\left|#1\right|\right|}
\newcommand{\argmin}[2]{\textrm{argmin}_{#1}~#2}
\newcommand{\argmax}[2]{\textrm{argmax}_{#1}~#2}
% Inner product
\newcommand{\ip}[2]{\left\langle#1, #2\right\rangle}
% Trace
\newcommand{\tr}{\textrm{tr}}
% Expected value
\newcommand{\E}[2]{\mathbb{E}_{#1}\left[#2\right]}
% Sample mean
\newcommand{\Ehat}[1]{\hat{\mathbb{E}}\left[#1\right]}
% Variance
\newcommand{\Var}[2]{\textrm{Var}_{#1}\left[#2\right]}
% Covariance
\newcommand{\Cov}[2]{\textrm{\textbf{Cov}}_{#1}\left[#2\right]}
% Indicator
\newcommand{\ind}[1]{\mathbbm{1}\left\{#1\right\}}
\newcommand{\indpm}[1]{\mathbbm{1}^{\pm}\left\{#1\right\}}
% sech
\newcommand{\sech}[0]{\textrm{sech}}
% diag
\newcommand{\diagm}[1]{\textrm{diagm}\left(#1\right)}
% supp
\newcommand{\supp}{\text{supp}}
%% VARIABLES:
% See Glossary of Symbols (Appendix A.1)
\newcommand{\x}[0]{X}
\newcommand{\p}[0]{\mathcal{P}}
\newcommand{\y}[0]{Y}
\newcommand{\lf}[0]{\lambda}
\newcommand{\lfc}[0]{\Lambda}
\newcommand{\acc}[0]{\alpha}
% LF outputs
\newcommand{\lx}[0]{\lambda}
% Observed LF outputs
\newcommand{\lfo}[0]{\bar{\lf}}
\newcommand{\lxo}[0]{\bar{\lx}}
\newcommand{\systemx}[0]{\texttt{MeTaL}\xspace}