From fd78d0fd00e6b98ae8b9894db8be028575e205ac Mon Sep 17 00:00:00 2001
From: syn <isaqtm@gmail.com>
Date: Sun, 16 Feb 2020 11:56:52 +0300
Subject: Init commit

---
 intro.tex | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
 create mode 100644 intro.tex

(limited to 'intro.tex')

diff --git a/intro.tex b/intro.tex
new file mode 100644
index 0000000..f4f9d67
--- /dev/null
+++ b/intro.tex
@@ -0,0 +1,97 @@
+\usepackage[sfdefault,condensed,scaled=0.9]{roboto}
+\usepackage{inconsolata}
+\setmonofont[Scale=0.9]{Inconsolata}
+
+\setlength\headheight{13.6pt}
+
+\usepackage{
+  amsmath, amssymb, mathtools, relsize,
+  graphicx, xcolor,
+  fancyhdr, hyperref, enumerate, framed
+}
+\usepackage[shortlabels]{enumitem}
+
+\flushbottom
+
+\renewcommand{\baselinestretch}{1.1}
+
+\usepackage{geometry}\geometry{letterpaper,          % Set page margins
+    left=0.7in, right=0.7in,
+    top=0.8in, bottom=0.9in,
+    headsep=.1in
+}
+
+\setlength\FrameSep{0.75em}
+\setlength\OuterFrameSep{\partopsep}
+
+\newenvironment{cframed}[1][gray]
+{
+    \def\FrameCommand{
+        \fboxsep=\FrameSep\fcolorbox{#1}{white}
+    }
+    \MakeFramed{
+        \advance\hsize-\width \FrameRestore
+    }
+}
+{\endMakeFramed}
+
+\makeatletter
+\newenvironment{sqcases}{%
+  \matrix@check\sqcases\env@sqcases
+}{%
+  \endarray\right.%
+}
+\def\env@sqcases{%
+  \let\@ifnextchar\new@ifnextchar
+  \left\lbrack
+  \def\arraystretch{1.2}%
+  \array{@{}l@{\quad}l@{}}%
+}
+\makeatother
+
+\DeclareRobustCommand{\divby}{%
+  \mathrel{\vbox{\baselineskip.65ex\lineskiplimit0pt\hbox{.}\hbox{.}\hbox{.}}}%
+}
+
+\newcommand{\question}[2]{
+    \bigskip\bigskip
+    \begin{cframed}
+        \noindent \textbf{#1}
+        #2
+    \end{cframed}
+}
+
+\newcommand{\dmquestion}[1]{
+    \begin{center} \textbf{#1} \end{center}
+}
+
+\newcommand{\br}[1]{\left( #1 \right)}
+\newcommand{\brac}[2]{ \br{ \frac{#1}{#2} } }
+\newcommand{\dbrac}[2]{ \br{ \dfrac{#1}{#2} } }
+\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]}
+
+\newcommand{\todo}{\texttt{todo!}}
+
+\newcommand{\osmall}[1]{\overline{o}\left( #1 \right)}
+\DeclareMathOperator{\dif}{d \!}
+\DeclareMathOperator{\Image}{Im}
+
+\hypersetup{colorlinks=true, linkcolor=magenta}
+
+% -- Left/right header text and footer (to appear on every page) --
+\pagestyle{fancy}
+\renewcommand{\footrulewidth}{0.4pt}
+\renewcommand{\headrulewidth}{0.4pt}
+
+\cfoot{}
+\rfoot{\thepage}
-- 
cgit v1.2.1-18-gbd029

