diff options
author | syn <isaqtm@gmail.com> | 2020-01-28 03:33:09 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2020-01-28 03:33:09 +0300 |
commit | 867708801b4d27ea69c273075f23ebeb13730a5f (patch) | |
tree | 5ef9cc1e8c3652538d5e3cf329d792a5f7e7f379 | |
parent | fd0f78f4de5ced34aa68b73dd37910b0db8307bd (diff) | |
download | tex2-867708801b4d27ea69c273075f23ebeb13730a5f.tar.gz |
Remove shit & improve readability in intro
-rw-r--r-- | intro.tex | 35 |
1 files changed, 15 insertions, 20 deletions
@@ -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} |