%%-*- LaTeX -*-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Class file for scribing notes.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Designed from the following LaTeX 2.09 code:
%
%\documentstyle[12pt,epsfig,cjwmath,amsmath]{article}
%
%  \def\blackslug{\rule{2mm}{2mm}}
%
%\newtheorem{theorem}{Theorem}[subsection]
%\newtheorem{definition}[theorem]{Definition}
%\newtheorem{claim}[theorem]{Claim}
%
%\newlength{\toppush}
%\setlength{\toppush}{2\headheight}
%\addtolength{\toppush}{\headsep}
%
%\def\subjnum{550.770}
%\def\subjname{Department of Mathematical Sciences}
%
%\def\doheading#1#2#3{\vfill\eject\vspace*{-\toppush}%
%	\vbox{\hbox to\textwidth{{\bf} \subjnum: 
%	\subjname \hfil Professor Lenore Cowen}%
%	\hbox to\textwidth{{\bf} Johns Hopkins University\hfil#3\strut}%
%	\hrule}}
%
%\newcommand{\htitle}[1]{\vspace*{3.25ex plus 1ex minus .2ex}%
%\begin{center}{\large\bf #1}\end{center}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Declare the file version and date.
\def\fileversion{1.1}
\def\filedate{2007/07/30}

% Identify the class.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mts-scribe}%
  [\filedate\space v\fileversion\space Class for Scribing Notes---CJW]

% Options
\newif\if@theorems
\DeclareOption {theorems}{\@theoremstrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}

% Do options.
\ProcessOptions

% Load the base class and required packages.
\LoadClass{article}

% Error information should be more than the default.
\setcounter{errorcontextlines}{5}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\blackslug}{\rule{2mm}{2mm}}

\if@theorems
	\newtheorem{theorem}{Theorem}[subsection]
	\newtheorem{definition}[theorem]{Definition}
	\newtheorem{claim}[theorem]{Claim}
\fi

\newlength  {\toppush}
\setlength  {\toppush}{2\headheight}
\addtolength{\toppush}{\headsep}

\newcommand{\class}[2]{%
	\gdef\@classnum {#1}
	\gdef\@classname{#2}}
\class{}{}

\newcommand{\prof}[1]{\gdef\@professor{#1}}
\newcommand{\lecturedate}[1]{\gdef\@lectdate{#1}}

\newcommand{\makeheader}[1]{%
	\newpage\null\addvspace{-\toppush}
	\noindent
	\begin{tabular*}{\textwidth}{c@{\extracolsep{0pt plus 1fill}}c}
		\@classnum: \@classname		& \@professor				\\
		 IIT Delhi	& Scribe: \@author
	\end{tabular*}
	\hrule
	\vspace*{3.25ex plus 1ex minus .2ex}
	\begin{center}
		{\large\textbf{Lecture #1: \@title}}\\
		\@lectdate
	\end{center}
	\bigskip\bigskip
	\setcounter{section}{#1}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

