-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.tex
85 lines (71 loc) · 2.82 KB
/
common.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{example}[definition]{Example}
\newtheorem{note}[definition]{Note}
\theoremstyle{plain}
\newtheorem{theorem}[definition]{Theorem}
\newtheorem{lemma}[definition]{Lemma}
\newtheorem{proposition}[definition]{Proposition}
\newtheorem{corollary}[definition]{Corollary}
\definecolor{mplC0}{HTML}{1f77b4}
\definecolor{mplC1}{HTML}{ff7f0e}
\definecolor{mplC2}{HTML}{2ca02c}
\definecolor{mplC3}{HTML}{d62728}
\definecolor{mplC4}{HTML}{9467bd}
\definecolor{mplC5}{HTML}{8c564b}
\definecolor{mplC6}{HTML}{e377c2}
\definecolor{mplC7}{HTML}{7f7f7f}
\definecolor{mplC8}{HTML}{bcbd22}
\definecolor{mplC9}{HTML}{17becf}
\newcommand{\RR}{\ensuremath{\mathbb{R}}}
\newcommand{\ZZ}{\ensuremath{\mathbb{Z}}}
\newcommand{\RP}{\ensuremath{\mathbb{RP}}}
\newcommand{\lapu}{\ensuremath{\mathcal{L}^{\text{up}}}}
\newcommand{\lapd}{\ensuremath{\mathcal{L}^{\text{down}}}}
\newcommand{\lap}{\ensuremath{\mathcal{L}}}
\newcommand{\iso}{\ensuremath{\cong}}
\newcommand{\rank}{\ensuremath{\text{rank}}}
\newcommand{\inv}{\ensuremath{^{-1}}}
\newcommand{\transpose}{\ensuremath{^{\intercal}}}
\tikzset{twosimp/.style={fill opacity=0.4,fill=blue,draw opacity=1.0}}
\newcommand{\ie}{}
\def\ie/{i.e.}
\newcommand{\eg}{}
\def\eg/{e.g.}
\newcommand{\etc}{}
\def\etc/{etc.}
\newcommand{\gardfix}[2]{{\color{red}#1}\fxfatal{#2}}
\newcommand{\fix}[2]{{\color{red}#1}\fxfatal{#2}}
\newcommand{\thmcite}[1]{\citeauthor{#1}, \citeyear{#1}~\cite{#1}}
\newcommand{\suchthat}{\ensuremath{\, \mid \,}}
\newcommand{\Reffig}[1]{Figure~\ref{fig:#1}}
\newcommand{\reffig}[1]{figure~\ref{fig:#1}}
\newcommand{\refeq}[1]{equation~\eqref{eq:#1}}
\newcommand{\refsec}[1]{section~\ref{sec:#1}}
\newcommand{\ip}[2]{\ensuremath{\left\langle #1 , #2 \right\rangle}}
\newcommand{\norm}[1]{\ensuremath{\lVert #1 \rVert}}
\newcommand{\placeholderfigure}{\begin{tikzpicture}
\draw[help lines] (0, 0) grid (8, 4);
\node () at (4,2) {PLACEHOLDER};
\end{tikzpicture}
}
\DeclareMathOperator{\cut}{cut}
\DeclareMathOperator{\im}{im}
\DeclareMathOperator{\proj}{proj}
\DeclareMathOperator{\VR}{VR}
\DeclareMathOperator{\diag}{diag}
%---------For commenting--------
\usepackage{color}
\definecolor{darkorchid}{rgb}{0.6,0.196,0.8}
\newcommand{\todo}[1]{{\color{red}[[\textbf{TODO: }#1]]}}
\newcommand{\stefania}[1]{{\color{mplC0}[[\textbf{Stefania says: }#1]]}}
\newcommand{\gard}[1]{{\color{mplC2}[[\textbf{Gard says: }#1]]}}
\newcommand{\mdeff}[1]{{\color{mplC1}[[\textbf{Michaël says: }#1]]}}
%--------For Referencing--------
\newcommand{\appendref}[1]{Section~\ref{append:#1}}
\newcommand{\figref}[1]{Figure~\ref{fig:#1}}
\newcommand{\exref}[1]{Example~\ref{ex:#1}}
\newcommand{\secref}[1]{Section~\ref{sec:#1}}
\newcommand{\Thmref}[1]{Theorem~\ref{thm:#1}}
\newcommand{\thmref}[1]{Theorem~\ref{thm:#1}}
\newcommand{\defref}[1]{Definition~\ref{def:#1}}