%
% Common packages
%

\usepackage{fullpage}
\usepackage{nicefrac}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage[bf,raggedright,small]{titlesec}
\usepackage{tabularx}

%
% Progress document header
%

% \header{date}
% Ex: \header{Feb. 11, 2004}
\newcommand{\header}[2]{
\pagestyle{fancy}
\lhead{\it 6.170 Progress Document #1}
\rhead{\it Austin Clements, Albert Leung, Dan Ports}
\cfoot{\thepage}
\thispagestyle{plain}
\noindent
\begin{tabular}[t]{c}
  \hbox to 6.4in { 6.170 Gizmoball \hfill
    Austin Clements, Albert Leung, Dan Ports } \\
  \hbox to 6.4in { Progress Document \hfill #1 } \\
  \hline
\end{tabular} \\
}

%
% Set margins to account for header
%

\setlength{\topmargin}{-0.2in}
\setlength{\headheight}{0.2in}
\setlength{\headsep}{0.15in}
\setlength{\textheight}{8.5in}

%
% Useful commands
%

%\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
%\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}
%\newcommand{\mat2x2}[2]{\begin{bmatrix} #1 & #2 \\ #3 & #4 \end{bmatrix}}
\newcommand{\done}{\ensuremath{\surd}}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
