\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{nicksresume}[2006/09/20 To allow easy multiversion of my resume]

% Options:

% teaching
% sysadmin
% long  
% short

\DeclareOption{teaching}{%
  \AtEndOfClass%
  {%
    \excludeversion{sysadmin}%
    \includeversion{teaching}%
  }%
}

\DeclareOption{sysadmin}{%
  \AtEndOfClass%
  {%
    \includeversion{sysadmin}%
    \excludeversion{teaching}%
  }%
}

\DeclareOption{longres}{%
  \AtEndOfClass%
  {%
    \excludeversion{Short}%
    \includeversion{long}%
  }%
}

\DeclareOption{shortres}{%
  \AtEndOfClass%
  {%
    \includeversion{Short}%
    \excludeversion{long}%
  }%
}

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}

\ExecuteOptions{shortres,sysadmin}

\ProcessOptions

% Special class file commands

\LoadClass[%
   12pt%
   ]{article}

\RequirePackage{%
   multicol,%
   array,%
   ifthen,%
   nick,%
   acro,%
   url,%
   lastpage,%
   fancyhdr,%
   mdwlist,%
   version,%
   ifpdf%
}

\RequirePackage{varioref}[2004/02/27]
\RequirePackage[a4paper, hmargin = 30mm, top = 28mm, bottom = 18mm, footskip =
12mm, headsep = 8mm]{geometry}

\def\AmS{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox
     {\the\textfont2 M}\kern-.125em{\the\textfont2 S}}

