summaryrefslogtreecommitdiffstats
path: root/intro.tex
diff options
context:
space:
mode:
Diffstat (limited to 'intro.tex')
-rw-r--r--intro.tex15
1 files changed, 14 insertions, 1 deletions
diff --git a/intro.tex b/intro.tex
index cf1846d..a196602 100644
--- a/intro.tex
+++ b/intro.tex
@@ -5,7 +5,7 @@
\setlength\headheight{13.6pt}
\usepackage{
- amsmath, amsthm, amssymb, mathtools, commath,
+ amsmath, amssymb, mathtools,
graphicx, xcolor,
fancyhdr, hyperref, enumerate, framed
}
@@ -43,7 +43,19 @@
\end{cframed}
}
+\newcommand{\dmquestion}[1]{
+ \begin{center} \textbf{#1} \end{center}
+}
+
\newcommand{\br}[1]{\left( #1 \right)}
+\newcommand*{\qed}{\hfill\ensuremath{\blacksquare}}
+\newcommand*{\qedempty}{\hfill\ensuremath{\square}}
+
+\newcommand{\explain}[1]{
+ \begin{bmatrix}
+ #1
+ \end{bmatrix}
+}
\newcommand{\probability}[1]{\mathrm{Pr} \left[ #1 \right]}
\newcommand{\expected}[1]{\mathrm{E} \left[ #1 \right]}
@@ -51,6 +63,7 @@
\newcommand{\todo}{\texttt{todo!}}
\newcommand{\osmall}[1]{\overline{o}\left( #1 \right)}
+\DeclareMathOperator{\dif}{d \!}
\hypersetup{colorlinks=true, linkcolor=magenta}