blob: 5db5539611ca0f5267376239f2eac9d79d5bee1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
%%
%% 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'.
|