\documentclass[12pt]{article}
\usepackage{palatino}
\usepackage{algorithm2e}
\usepackage{amsbsy}
\usepackage{enumitem}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage[english]{babel}
\usepackage{commath}
\usepackage{dsfont}
\usepackage[T1]{fontenc}
\usepackage[margin=1.25in]{geometry}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[capitalize]{cleveref}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{natbib}

\usepackage{lipsum}

\linespread{1.1}

% Allow use of "blah" instead of ``blah''

\usepackage{csquotes}
\MakeOuterQuote{"}

% Header variables here.

\newcommand\coursename{CS 224 Fall 2023}
\newcommand\scribe{<names>}
\newcommand\lecturedate{<lecture date>}
\newcommand\lecturetitle{Lecture <number>: <title>}

% Define theorem environments here.

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}


\usepackage{tcolorbox}

% Put your custom macros here.

\begin{document}

% This creates the header for scribe notes.
\begin{tcolorbox}
\noindent \coursename \hfill Scribes: \scribe \\
\lecturedate \hfill 
\begin{center}
  {\Large\lecturetitle}
\end{center}
\end{tcolorbox}

\vspace{0.5em}
\noindent Please use this file as a template for writing scribe notes. Below we provide some instructions on scribing.
\vspace{-1em}

\section{Scribe duties}

Every student will be assigned to scribe one lecture. Based on current enrollment numbers, this means almost every lecture will be scribed by two students, with a few scribed by three.

Your responsibilities:

\begin{enumerate}[itemsep=0pt,leftmargin=*]
    \item {\bf Sign up by 9/8 for scribing duties at the link in the Canvas announcement (first come first served)} -- please pick based on your calendar constraints rather than based on topic as the latter may change. Should you decide to drop the course before your first scribe date, please inform Sitan ASAP and, at the latest, 24 hours before the scribe date.
    \item {\bf Submit a polished version of your scribe notes to Sitan and the TFs one week after the lecture was given.} You may either collaborate with the other scribes to produce this, or work independently. The email should be titled ``[CS 224 Scribing] Lecture \#<number>'' and the TeX file should be named \texttt{cs224-lecNUMBER.tex}. 
\end{enumerate}

\noindent You are welcome to set up an appointment with Sitan to discuss the strengths and weaknesses of your draft. The scribe notes will be evaluated based on mathematical correctness, clarity of writing, faithfulness to what was covered in lecture, and inclusion of bibliographic pointers to relevant literature. 

\section{TeX conventions}

Please refrain from using a separate style file; instead define any macros that you need within this TeX file.

For the bibliography, directly add BibTeX entries to \texttt{refs.bib} and include that file as an attachment when you email your scribe notes. Here is an example inline citation~\cite{Homer:Iliad}.

Here is a sample theorem and proof:

\begin{theorem}\label{thm:sample}
    $1 + 1 = 2$
\end{theorem}

\begin{proof}
    \lipsum[1]
\end{proof}

\noindent Here is a sample reference to~\cref{thm:sample}.



\section{Algorithm pseudocode}

Here is a template for writing algorithm specs in \LaTeX:

\RestyleAlgo{boxruled}
\LinesNumbered
\begin{algorithm}
\DontPrintSemicolon
\caption{\textsc{AVerySmartAlgorithm}($A,x$)}
\label{alg:label}
\KwIn{$A\in\mathbb{R}^{d\times d}$, $x\in\mathbb{R}^d$}
\KwOut{Determines whether $Ax = 0$}
    $v\gets Ax$\tcp*{Compute matrix-vector product}
    \eIf{$v = 0$}{
        \Return True
    }{
        \Return False
    }
\end{algorithm}


\bibliographystyle{alpha}
\bibliography{scriberefs}

\end{document}
