From 867708801b4d27ea69c273075f23ebeb13730a5f Mon Sep 17 00:00:00 2001
From: syn <isaqtm@gmail.com>
Date: Tue, 28 Jan 2020 03:33:09 +0300
Subject: Remove shit & improve readability in intro

---
 intro.tex | 35 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 20 deletions(-)

(limited to 'intro.tex')

diff --git a/intro.tex b/intro.tex
index 02dc951..cf1846d 100644
--- a/intro.tex
+++ b/intro.tex
@@ -12,8 +12,9 @@
 \usepackage[shortlabels]{enumitem}
 
 \flushbottom
-\usepackage[bottom]{footmisc}
-\renewcommand{\baselinestretch}{1.06}                % Adjust line spacing
+
+\renewcommand{\baselinestretch}{1.1}
+
 \usepackage{geometry}\geometry{letterpaper,          % Set page margins
     left=0.7in, right=0.7in,
     top=0.8in, bottom=0.9in,
@@ -24,9 +25,15 @@
 \setlength\OuterFrameSep{\partopsep}
 
 \newenvironment{cframed}[1][gray]
-  {\def\FrameCommand{\fboxsep=\FrameSep\fcolorbox{#1}{white}}
-    \MakeFramed {\advance\hsize-\width \FrameRestore}}
-  {\endMakeFramed}
+{
+    \def\FrameCommand{
+        \fboxsep=\FrameSep\fcolorbox{#1}{white}
+    }
+    \MakeFramed{
+        \advance\hsize-\width \FrameRestore
+    }
+}
+{\endMakeFramed}
 
 \newcommand{\question}[2]{
     \bigskip\bigskip
@@ -36,25 +43,13 @@
     \end{cframed}
 }
 
-\newcommand{\braced}[1]{\left( #1 \right)}
+\newcommand{\br}[1]{\left( #1 \right)}
 
-\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
-\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
+\newcommand{\probability}[1]{\mathrm{Pr} \left[ #1 \right]}
+\newcommand{\expected}[1]{\mathrm{E} \left[ #1 \right]}
 
-\DeclareMathOperator{\tg}{tg}
-\DeclareMathOperator{\ctg}{ctg}
-\DeclareMathOperator{\probop}{Pr}
-\DeclareMathOperator{\expectop}{E}
-
-\newcommand{\probability}[1]{\probop \boldsymbol{[}#1\boldsymbol{]}}
-\newcommand{\expected}[1]{\expectop  \boldsymbol{[}#1\boldsymbol{]}}
-
-\newcommand{\sinx}{\sin x}
-\newcommand{\cosx}{\cos x}
-\newcommand{\tgx}{\tg x}
 \newcommand{\todo}{\texttt{todo!}}
 
-
 \newcommand{\osmall}[1]{\overline{o}\left( #1 \right)}
 
 \hypersetup{colorlinks=true, linkcolor=magenta}
-- 
cgit v1.2.1-18-gbd029

