% My name
\author{\textsc{Philip Thomas K.}}

% Pagestyle
\pagestyle{headings}

% Change \chapter to show Lecture No. # instead
\renewcommand{\chaptername}{Lecture No.}

% \ud stands for upright d which can be used for the integral dx.
\newcommand{\ud}{\, \mathrm{d}}
\newcommand{\upd}{\mathrm{d}}

\newcommand{\adj}{\mathrm{adj}}
\newcommand{\mdim}{\mathrm{dim}}
\newcommand{\mspan}{\mathrm{span}}
\newcommand{\ds}{\displaystyle}
\newcommand{\nvdots}{\ \,\vdots}
\newcommand{\defas}{\vcentcolon =}
\newcommand{\suchthat}{\backepsilon}

\usepackage[paperwidth=395pt, paperheight=715pt, lmargin=25pt, rmargin=25pt, top=62pt, bottom=55pt]{geometry}
\usepackage{enumitem}
\usepackage{layout}
\usepackage{graphicx}
\usepackage{mlmodern}
\usepackage{fetamont}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{import}
\usepackage{pdfpages}
\usepackage{transparent}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usepgfplotslibrary{fillbetween}

\newcommand{\incfig}[1]{%
	\def\svgwidth{\columnwidth}
	\import{./figures/}{#1.pdf_tex}
}

\usepackage{IEEEtrantools}
\usepackage{amsmath, amsfonts, amstext, mathtools, amsthm, amssymb}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}

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

\usepackage{mdframed}
\mdfsetup{skipabove=1em,skipbelow=1em}
\theoremstyle{definition}
\newmdtheoremenv[nobreak=true]{definition}{Definition}
\newmdtheoremenv[nobreak=true]{thrm}{Theorem}
\newmdtheoremenv[nobreak=true]{prf}{Proof}
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{exmp}{Example}[section]
\newtheorem{exc}{Exercise}[section]
\newtheorem*{sol}{Solution}
\newtheorem*{note}{Note}

% The following fixes the spacing issues of the mdframed boxes
\makeatletter
\def\thm@space@setup{%
	\thm@preskip=\parskip \thm@postskip=0pt
}
\makeatother

\usepackage{hyperref}
\hypersetup{pdftex}
\usepackage{hypcap}
\usepackage[noabbrev]{cleveref}
