summaryrefslogtreecommitdiffstats
path: root/tex/jesse_resume.sty
blob: 46f593f1a2b3c334294ef67423a28a7f3fc4260d (plain) (blame)
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
% vim:foldmarker=<<<,>>>
% This work is licensed under the Creative Commons
% Attribution-NonCommercial-ShareAlike License. To view a copy of this license,
% visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to
% Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
% This file is adapted from Todd Courtesan's resume, at
% http://www.courtesan.com/todd/resume.html

% <<< packages
\RequirePackage{latexsym,amsmath,amssymb,charter,color,calc,jesse_macros}
\RequirePackage[empty]{fullpage}
% >>>
% <<< dimensions/margins
\raggedbottom
\raggedright
\setlength{\textheight}{9.0in}
\setlength{\tabcolsep}{0in}
\addtolength{\oddsidemargin}{-0.375in}
\addtolength{\evensidemargin}{0.375in}
\addtolength{\textwidth}{0.5in}
\addtolength{\topmargin}{-.5in}
\addtolength{\textheight}{0.75in}
% >>>
% <<< other definitions
\definecolor{mygrey}{gray}{0.90}
% >>>
% <<< Custom commands
% <<< \resheader
\newcommand{\resheader}[5]{
    \begin{tabular*}{7in}{l@{\extracolsep{\fill}}cr}
    #2 & \textbf{\LARGE #1} & #4\\
    #3 &                    & #5\\
    \end{tabular*}
    \\
    \vspace{0.1in}
}
% >>>
% <<< \resitem
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
% >>>
% <<< \resheading
\newcommand{\resheading}[1]{
    {\large \colorbox{mygrey}{
        \begin{minipage}
            {\textwidth-0.175in}
            {\textbf{#1 \vphantom{p\^{E}}}}
        \end{minipage}
    }}
}
% >>>
% \ressubheading <<<
\newcommand{\ressubheading}[4]{
    \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r}
        \textbf{#1} & #2 \\
        \textit{#3} & \textit{#4} \\
    \end{tabular*}
    \vspace{-6pt}
}
% >>>
% \resshortsubheading <<<
\newcommand{\resshortsubheading}[2]{
    \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r}
        \textbf{#1} & #2 \\
    \end{tabular*}
    \vspace{-6pt}
}
% >>>
% \resclasses <<<
\newlength{\resclasscolwidth}
\newlength{\resclassgradesep}
\newlength{\resclasscolsep}
\setlength{\resclasscolwidth}{2.5in}
\setlength{\resclassgradesep}{0.1in}
\setlength{\resclasscolsep}{0.75in}
\newcommand{\resclasses}[2]{
\begin{minipage}[t]{7in}
\begin{center}
\vspace{0.01in}
\begin{minipage}[t]{\resclasscolwidth}
\begin{tabular*}{\resclasscolwidth}[t]
                {l@{\hspace{\resclassgradesep}}l@{\extracolsep{\fill}}r}
#1
\end{tabular*}
\end{minipage}
\hspace{\resclasscolsep}
\begin{minipage}[t]{\resclasscolwidth}
\begin{tabular*}{\resclasscolwidth}[t]
                {l@{\hspace{\resclassgradesep}}l@{\extracolsep{\fill}}r}
#2
\end{tabular*}
\end{minipage}
\vspace{0.01in}
\end{center}
\end{minipage}
}
% >>>
% \resclass <<<
\newcommand{\resclass}[3]{
    \textbf{#1}: & #2 & \textit{#3}\\
}
% >>>
% \restext <<<
\newcommand{\restext}[1]{
    % XXX: this 0in here seems like a hack, what do i really want?
    \vspace{0in}
    \\
    #1
    \\
    \vspace{0.1in}
}
% >>>
% >>>