1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
\usepackage[sfdefault,condensed,scaled=0.9]{roboto}
\usepackage{inconsolata}
\setmonofont[Scale=0.9]{Inconsolata}
\setlength\headheight{13.6pt}
\usepackage{
amsmath, amsthm, amssymb, mathtools, commath,
graphicx, xcolor,
fancyhdr, hyperref, enumerate, framed
}
\usepackage[shortlabels]{enumitem}
\flushbottom
\usepackage[bottom]{footmisc}
\renewcommand{\baselinestretch}{1.06} % Adjust line spacing
\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}
\newcommand{\question}[2]{
\bigskip\bigskip
\begin{cframed}
\noindent \textbf{#1}
#2
\end{cframed}
}
\newcommand{\braced}[1]{\left( #1 \right)}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\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}
% -- Left/right header text and footer (to appear on every page) --
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0.4pt}
\cfoot{}
\rfoot{\thepage}
|