You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
|
3 years ago
|
\usepackage{color}
|
||
|
|
\usepackage[makeroom]{cancel}
|
||
|
|
|
||
|
|
%-------------- Environment for Mathematics -------------------%
|
||
|
|
\usepackage{bm}
|
||
|
|
\newcommand*{\B}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
|
||
|
|
\usepackage{amssymb}
|
||
|
|
\usepackage{amsmath}
|
||
|
|
%-------------- Graphical Model Macros -------------------%
|
||
|
|
\newcommand{\gmcsize}{5mm}
|
||
|
|
\newcommand{\gmcoffset}{15mm}
|
||
|
|
%-------------- Operators -------------------%
|
||
|
|
\DeclareMathOperator*{\E}{\mathbb{E}}
|
||
|
|
\DeclareMathOperator*{\argmin}{arg\,min}
|
||
|
|
\DeclareMathOperator{\Tr}{Tr}
|
||
|
|
|
||
|
|
\newcommand{\taygun}[1]{\textcolor[rgb]{0,0.4,0.8}{\textbf{[TA] #1}}}
|
||
|
|
\newcommand{\tax}[1]{\textcolor[rgb]{0,0.5,0.5}{\textbf{[DTX] #1}}}
|
||
|
|
\newcommand{\mimno}[1]{\textcolor[rgb]{0.3,0.3,0.7}{\textbf{[MI] #1}}}
|
||
|
|
|
||
|
|
%----------------- Theorems, lemmas, proofs, ----------------------%
|
||
|
|
\newtheorem{theorem}{Theorem}
|
||
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
||
|
|
\newtheorem{proposition}[theorem]{Proposition}
|
||
|
|
\newtheorem{claim}[theorem]{Claim}
|
||
|
|
\newtheorem{corollary}{Corollary}
|
||
|
|
\newtheorem{definition}[theorem]{Definition}
|
||
|
|
\newtheorem{concept}[theorem]{Concept}
|
||
|
|
\newenvironment{proof}{{\bf Proof:}}{\hfill\rule{2mm}{2mm}}
|