%	LaTeX resume format, to be '\input'ed from a template.tex file
%		Anand Mehta, 7/2/87

\pagestyle{empty}		% don't want page numbers for the resume

\setlength{\headheight}{0pc} 	% don't need a header for the resume
\setlength{\headsep}{0pc}	%

%	define appropriate lengths to give flexibility 

\newlength{\namespace}		% space between the name and the addresses
\newlength{\addresswidth}	% size of box for addresses
\newlength{\addresssep}		% space between addresses
\newlength{\labelsize}		% size of box for section labels
\newlength{\itemspacea}		% space between sections
\newlength{\itemspaceb}		% space between itemss in section


%	Commands for the heading (name and address), 
%	use as '\header{name}{term address}{home address}'
%		(need to provide line breaks for the address with \\)
		
\newenvironment{address}[1]{\begin{minipage}[t]{\addresswidth}
	{\em #1}\\}{\end{minipage}}

\newcommand{\header}[3]{\begin{center} 			%
	{\namesize \bf #1} \\[\namespace]		%
	\addresssize %					%
	\begin{address}{Term Address} #2 \end{address}	%
	\hspace{\addresssep} 				%
	\begin{address}{Home Address} #3 \end{address}	%
	\end{center}}



%	Commands for the actual resume:

\newenvironment{RESUME}%
	{\begin{list}{}{
		\setlength{\labelwidth}{\labelsize}
		\setlength{\labelsep}{2em}
		\setlength{\itemsep}{\itemspacea}
		\setlength{\listparindent}{0in}}}%
	{\end{list}}


%	sections of the resume:

\newenvironment{PROFOBJ}%
	{\item[{\parbox[t]{\labelsize}{\raggedleft \em Professional 
		Objective}}]}{}

\newenvironment{EDUCATION}%
	{\item[\em Education] \begin{rpart}}%
	{\end{rpart}}

\newenvironment{EXPERIENCE}%
	{\item[\em Experience] \begin{rpart}}%
	{\end{rpart}}

\newenvironment{PUBLICATIONS}%
	{\item[\em Publications] \begin{rpart}}%
	{\end{rpart}}

\newenvironment{BACKGROUND}%
	{\item[\em Background] \begin{rpart}}%
	{\end{rpart}}


%	list structure for the sections:

\newenvironment{rpart}%
	{\begin{list}{}{
		\setlength{\labelwidth}{0ex}
		\setlength{\labelsep}{0in}
		\setlength{\leftmargin}{0in}
		\setlength{\itemsep}{\itemspaceb}
		\setlength{\listparindent}{0in}}}%
	{\end{list}}


%	items for the sections:

\newenvironment{school}[2]{\item {\bf #1} \hfill {\sl #2} \\}{}

\newenvironment{job}[4]{\item {\bf #1} \hfill {\sl #2 \\[-.3ex] 
	#3 \hfill #4} \\[.3ex]}{}

\newenvironment{jobs}[5]{\item {\bf #1} \hfill {\sl #2 \\[-.3ex] 
	#3 \hfill #4 \\[-.3ex] \mbox{} \hfill #5} \\[.3ex]}{}

\newenvironment{misc}{\item }{}

\newenvironment{paper}{\item }{}
