% Adapted from the MIT/Berkeley scribe note template

\documentclass[11pt,letter]{article}

\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{verbatim}
\usepackage{bbm}
\usepackage{complexity}

\newcommand{\pindent}{\setlength{\parindent}{18pt} \indent} %\setlength{\parindent}{0pt}} % Custom commands by Jasper
\newcommand{\bdisp}{\begin{displaystyle}}
\newcommand{\edisp}{\end{displaystyle}}
%\setlength{\parindent}{0pt}

% Probability
\renewcommand{\Pr}{\operatorname*{\mathbb{P}}}
\newcommand{\Var}{\operatorname*{\mathrm{Var}}}
\newcommand{\Cov}{\operatorname*{\mathrm{Cov}}}
\newcommand{\Exp}{\operatorname*{\mathbb{E}}}
\newcommand{\from}{\leftarrow}
\newcommand{\negl}{\mathrm{negl}}

% Asymptotics
\renewcommand{\poly}{\operatorname*{\mathrm{poly}}}
\renewcommand{\polylog}{\operatorname*{\mathrm{polylog}}}

% Distributions
\newcommand{\Normal}{\mathcal{N}}
\newcommand{\Bin}{\mathrm{Bin}}
\newcommand{\Poi}{\mathrm{Poi}}
\newcommand{\Unif}{\mathrm{Unif}}
\newcommand{\Bernoulli}{\mathrm{Bernoulli}}
\newcommand{\Geom}{\mathrm{Geom}}
\newcommand{\DistD}{\mathcal{D}}
\newcommand{\DistG}{\mathcal{G}}
\newcommand{\PropP}{\mathcal{P}}
\newcommand{\DTV}{d_\mathrm{TV}}
\newcommand{\DKL}{\mathrm{KL}}
\renewcommand{\DH}{d_\mathrm{H}}

% Sets and other mathematical constructs
\renewcommand{\vec}[1]{\mathbf{#1}}
\newcommand{\PSet}{\mathcal{P}}
\newcommand{\Real}{\mathbb{R}}
\newcommand{\Rational}{\mathbb{Q}}
\newcommand{\Nat}{\mathbb{N}}
\newcommand{\Int}{\mathbb{Z}}
\newcommand{\argmax}{\operatorname*{\mathrm{arg\,max}}}
\newcommand{\argmin}{\operatorname*{\mathrm{arg\,min}}}
\renewcommand{\implies}{\Rightarrow}
\newcommand{\2}{\{0, 1\}}
\newcommand{\1}{\mathbbm{1}}

% Calculus/Analysis
\renewcommand{\d}{\mathrm{d}}
\newcommand{\Diff}[2][]{\frac{\d#1}{\d#2}}
\newcommand{\Grad}{\nabla}
\newcommand{\Del}[2][]{\frac{\partial#1}{\partial#2}}

% Linear algebra
\newcommand{\tr}{\mathrm{tr}}

% Miscellaneous
\newcommand{\eps}{\epsilon}

% Project specific commands
%

\newcounter{nLectures}
\newcounter{nTheorems}[nLectures]

\newtheorem{theorem}[nTheorems]{Theorem}
\newtheorem{corollary}[nTheorems]{Corollary}
\newtheorem{conjecture}[nTheorems]{Conjecture}
\newtheorem{lemma}[nTheorems]{Lemma}
\newtheorem{proposition}[nTheorems]{Proposition}
\newtheorem{protocol}[nTheorems]{Protocol}
\newtheorem{claim}[nTheorems]{Claim}
\newtheorem{fact}[nTheorems]{Fact}

\theoremstyle{definition}
\newtheorem{definition}[nTheorems]{Definition}
\newtheorem{problem}[nTheorems]{Problem}
\newtheorem{intuition}[nTheorems]{Intuition}
\newtheorem{idea}[nTheorems]{Idea}
\newtheorem{exercise}[nTheorems]{Exercise}
\newtheorem{remark}[nTheorems]{Remark}

\usepackage{xpatch}
\makeatletter
\AtBeginDocument{\xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{}}
\makeatother

\hbadness=10000
\vbadness=10000

\setlength{\oddsidemargin}{.25in}
\setlength{\evensidemargin}{.25in}
\setlength{\textwidth}{6in}
\setlength{\topmargin}{-0.4in}
\setlength{\textheight}{9in}

\newcommand{\lecture}[3]{
	\setcounter{nLectures}{#1}
	\renewcommand{\thenTheorems}{\arabic{nLectures}.\arabic{nTheorems}}
	\noindent
	\begin{center}
	\framebox{
		\vbox{
		\hbox to 5.78in { {\bf CSCI 1951-W Sublinear Algorithms for Big Data
		\hfill Fall 2020} }
		\vspace{4mm}
		\hbox to 5.78in { {\Large \hfill Lecture \arabic{nLectures}: #2  \hfill} }
		\vspace{2mm}
		\hbox to 5.78in { {\it Lecturer: Jasper Lee \hfill Scribe: #3} }
		}
	}
	\end{center}
	\vspace*{4mm}
}

\begin{document}
\lecture{0}{Lecture Title}{Student Name}

\end{document}