% Copied (with permission) from the template of Andrew McNabb's Resume, which was:
% Created: 7 Jan 2004
% Last Modified: 17 Jul 2004
% http://www.mcnabbs.org/andrew/linux/latexres/

\usepackage{geometry}
\usepackage[T1]{fontenc}

\pagestyle{empty}
\geometry{letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in,headheight=0in,headsep=0in,footskip=.3in}

\setlength{\parindent}{0in}
\setlength{\parskip}{0in}
\setlength{\itemsep}{0in}
\setlength{\topsep}{0in}
\setlength{\tabcolsep}{0in}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% New commands and environments

% This defines how the name looks
\newcommand{\bigname}[1]{
	\begin{center}\fontfamily{phv}\selectfont\Huge\scshape#1\end{center}
}

% A ressection is a main section (<H1>Section</H1>)
\newenvironment{ressection}[1]{
	\vspace{4pt}
	{\fontfamily{phv}\selectfont\Large#1}
	\begin{itemize}
	\vspace{3pt}
}{
	\end{itemize}
}

% A resitem is a simple list element in a ressection (first level)
\newcommand{\resitem}[1]{
	\vspace{-4pt}
	\item \begin{flushleft} #1 \end{flushleft}
}

\newcommand{\resitm}[2]{
  \resitem{\textbf{#1}#2}
}

% A ressubitem is a simple list element in anything but a ressection (second level)
\newcommand{\ressubitem}[1]{
	\vspace{-1pt}
	\item \begin{flushleft} #1 \end{flushleft}
}

\newcommand{\ressubitm}[2]{
  \ressubitem{\textbf{#1}#2}
}

% A resbigitem is a complex list element for stuff like jobs and education:
%  Arg 1: Name of company or university
%  Arg 2: Location
%  Arg 3: Title and/or date range
\newcommand{\resbigitem}[3]{
	\vspace{-5pt}
	\item
	\textbf{#1}---#2 \\
	\textit{#3}
}

% This is a list that comes with a resbigitem
\newenvironment{ressubsec}[1]{
	\resitem{#1}
	\vspace{-2pt}
	\begin{itemize}
}{
	\end{itemize}
}

\renewcommand{\labelitemii}{$\star$}

% This is a simple sublist
\newenvironment{reslist}[1]{
	\resitem{\textbf{#1}}
	\vspace{-5pt}
	\begin{itemize}
}{
	\end{itemize}
}
