% Scribe template is a combination of 16831 and 10725. Thanks to those TAs!
\documentclass[11pt]{article}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{bm}
\usepackage{epsfig}
\usepackage{listings}
\usepackage[tight]{subfigure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Common Math Commands                    %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{mathabbreviations.tex}

\newcommand{\handout}[6]{
  \noindent
  \begin{center}
  \framebox{
    \vbox{
      \hbox to 5.78in { {#1} \hfill #2 }
      \vspace{4mm}
      \hbox to 5.78in { {\Large \hfill #6  \hfill} }
      \vspace{1mm}
      \hbox to 5.78in { {\em \hfill #3 \hfill} }
            \vspace{1mm}
      \hbox to 5.78in { {\em #4 \hfill #5} }
    }
  }
  \end{center}
  \vspace*{-1mm}
}

\newcommand{\lecture}[6]{\handout{#1}{#2}{#3}{#4}{#5}{#6}}

\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{observation}[theorem]{Observation}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{fact}[theorem]{Fact}
\newtheorem{assumption}[theorem]{Assumption}

% 1-inch margins, from fullpage.sty by H.Partl, Version 2, Dec. 15, 1988.
\topmargin 0pt
\advance \topmargin by -\headheight
\advance \topmargin by -\headsep
\textheight 8.9in
\oddsidemargin 0pt
\evensidemargin \oddsidemargin
\marginparwidth 0.5in
\textwidth 6.5in

\parindent 0in
%\parskip 1.5ex
%\renewcommand{\baselinestretch}{1.25}

\begin{document}
\newcommand{\defeq}[0]{\ensuremath{\stackrel{\triangle}{=}}}
\def\x{\mathbf{x}}
\def\w{\mathbf{w}}
\def\K{\mathbf{K}}
\lecture{{\bf 16-822}: Geometry-based Methods in Vision (F21) }{Lecture \#0 \today}{Lecturer: Michael Kaess}{TA: Akash Sharma}{Scribes: Scribe-1 \& Scribe-2$^1$}{\LaTeX~instructions}
\let\thefootnote\relax\footnotetext{$^1$ Your name, and Andrew-ID}
\section{Instructions}
Download the \LaTeX template onto your local machine from the zip attached with this page.
Once you have the template, try compiling the template. For help with writing mathematical jargon, equations, figures, formatting in LaTex, use the example scribes (from other class) available in the directory. If you're not familiar with \LaTeX, you will find the examples scribes very helpful (not as a tutorial but as a reference example). But you should go forth and learn how to use it. Google stuff, try stuff, it's not that bad. Please play around with this and get comfortable, so that when it's your turn to scribe you won't be overwhelmed.

\section{\LaTeX~Setup}
\subsection{Linux machines}
Editor: Emacs (or another inferior editor ;)
Recommended packages:
\begin{lstlisting}[language=bash]
sudo apt-get install texlive
sudo apt-get install texlive-latex-extra
sudo apt-get install texlive-math-extra
sudo apt-get install texlive-science
\end{lstlisting}

\subsection{Windows machines}
Editor: TeXworks (obviously it comes with MiKTeX or TeX Live, which you need to install for LaTex in general)
See above recommended packges.

\subsection{Mac machines}
Editor: TeXworks and other editors that come with MiKTeX
See above recommended packges.

\section{Equation examples}

This equation is inline: $y = f(\x)$.
This equation is on its own line: \[y = \K\x \]
These equations are numbered:

\begin{align}
y = 1 + 2  \\
z = y - 3
\end{align}
\end{document}
