%%
%% This is file `tucv.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tucv.dtx  (with options: `package')
%% This is a generated file.
%% 
%% (c) 2009-2010 George R. Louthan IV <georgerlouth@nthefourth.com>
%%     http://georgerloutha.nthefourth.com
%% (c) 2007 Todd C. Miller <Todd.Miller@courtesan.com>
%%     http://www.courtesan.com/todd
%% (c) 2003-2007 David J. Grant <davidgrant-at-gmail.com>
%%     http://www.davidgrant.ca
%% (c) 2002 Matthew Boedicker <matthewm@boedicker.org>
%%     http://matthewm.boedicker.org/
%% 
%% This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
%% Unported License. To view a copy of this license, visit
%% http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
%% Creative Commons
%% 171 Second Street, Suite 300
%% San Francisco, California, 94105, USA.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tucv}
[2010/11/11 v1.0 Univ. of Tulsa iSec CV Style]
\RequirePackage{array}
\RequirePackage{color}
\RequirePackage{calc}
\RequirePackage{fancyhdr}
\RequirePackage{xparse}
\DeclareOption{pagesetup}{
    \renewcommand{\headrulewidth}{0pt}
    \setlength{\voffset}{0.1in}
    \setlength{\headheight}{0in}
    \setlength{\headsep}{0in}
    \setlength{\textheight}{11in}
    \setlength{\textheight}{9.5in}
    \setlength{\topmargin}{-0.25in}
    \setlength{\textwidth}{7in}
    \setlength{\oddsidemargin}{-0.25in}
    \setlength{\evensidemargin}{-0.25in}
    \setlength{\tabcolsep}{0in}
    \raggedbottom
    \raggedright
    \pagestyle{fancy}
    \fancyhead{}
    \fancyfoot{}
}
\ProcessOptions
\definecolor{tucvheading}{gray}{0.85}
\NewDocumentCommand\resheading{m}{{\large \colorbox{tucvheading}{\begin{minipage}
    {\textwidth-6.0pt}{\textbf{#1 \vphantom{p\^{E}}}}\end{minipage}}}}
\NewDocumentCommand\resentry{O{0pt}mm}{
    \begin{tabular*}{0.9\textwidth}[t]{@{\hspace{#1}}
            p{5.0in-#1}@{\extracolsep{\fill}}p{0.75in}}
        \raggedright #2 & #3
        \tabularnewline
    \end{tabular*}
}
\NewDocumentCommand\ressubentry{mm}{
    \resentry[10pt]{
        \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
        #1}{#2}
}
\NewDocumentCommand\resentrysinglecol{O{0pt}m}{
    \begin{tabular*}{0.9\textwidth}[t]{@{\hspace{#1}}p{0.9\textwidth-#1}}
        #2
        \tabularnewline
    \end{tabular*}
}
\NewDocumentCommand\ressubentrysinglecol{m}{
    \resentrysinglecol[10pt]{
        \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
        #1}
}
\NewDocumentCommand\resschool{omm}{
    \resentry{\textbf{#2}
    \IfNoValueTF{#1}
    {}
    {\newline \textit{#1}}
    }{#3}
}
\NewDocumentCommand\resdegree{ommm}{
    \ressubentry{#2 in #3
    \IfNoValueTF{#1}
    {}
    {\newline \textit{#1}}
    }{#4}
    %\ressubentry{#2 in #3}{#4}
}
\NewDocumentCommand\resemployer{omm}{
    \resentry{\textbf{#2}
    \IfNoValueTF{#1}
    {}
    {\newline #1}
    }{#3}
}
\NewDocumentCommand\resjob{ommm}{
    \resentry[10pt]{
    \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} \textbf{#2}
    \IfNoValueTF{#1}
    {}
    {\newline #1}
    }{#3 -- \newline #4}
}
\NewDocumentCommand\resconference{omm}{
    \resentrysinglecol{\raggedright \textbf{#2} #3}
}
\NewDocumentCommand\ressubconference{omm}{
    \resentrysinglecol[10pt]{\textbf{#2} #3}
}
\NewDocumentCommand\resdesc{mm}{
    \resentrysinglecol{\raggedright \textbf{#1} #2}
}
\NewDocumentCommand\resbib{mm}{
    \resentrysinglecol{\raggedright \textbf{#1} #2}
}
\endinput
%%
%% End of file `tucv.sty'.
