\usepackage[sfdefault,condensed,scaled=0.85]{roboto}
\usepackage{inconsolata}
\setmonofont[Scale=0.85]{Inconsolata}

\setlength\headheight{13.6pt}

\usepackage{
  amsmath, amsthm, amssymb, mathtools,
  graphicx, subfig, float,
  listings, xcolor,
  fancyhdr, sectsty, hyperref, enumerate, framed,
  comment
}
\usepackage[shortlabels]{enumitem}

\flushbottom                                         % Uncomment to make text fill the entire page
\usepackage[bottom]{footmisc}                        % Anchor footnotes to bottom of page
\renewcommand{\baselinestretch}{1.06}                % Adjust line spacing
%\setlength\parindent{0pt} % Remove paragraph indentation
\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]{
  \doubleskip\begin{cframed}
    \noindent \textbf{#1}
    #2
  \end{cframed}
}


% Increase line spacing in matrix
\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
  \hskip -\arraycolsep
  \let\@ifnextchar\new@ifnextchar
  \array{#1}}
\makeatother


\newcommand{\braced}[1]{\left( #1 \right)}

\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}

\DeclareMathOperator{\tg}{tg}
\DeclareMathOperator{\ctg}{ctg}
\DeclareMathOperator{\chr}{char}


\newcommand{\sinx}{\sin x}
\newcommand{\cosx}{\cos x}
\newcommand{\tgx}{\tg x}

\newcommand{\doubleskip}{\bigskip \bigskip}
\newcommand{\osmall}[1]{\overline{o}\left( #1 \right)}

\DeclareRobustCommand{\rchi}{{\mathpalette\irchi\relax}}
\newcommand{\irchi}[2]{\raisebox{\depth}{$#1\chi$}} % inner command, used by \rchi

\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}