forked from jbrown1618/resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume-commands.tex
88 lines (72 loc) · 2.41 KB
/
resume-commands.tex
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
% Resume Commands
% Organized by abstraction level with more granular commands on top
% so that they can be used by the more general commands below
%==============================================================================
% Basic Details
%==============================================================================
\def \jabName {Joshua A. Brown}
\def \jabEmail {[email protected]}
\def \jabPhone {(860) 271--9092}
\def \jabAddress {104 Fox Run Ct.\\Durham, NC 27705}
% Utilities
%==============================================================================
\newcommand{\bulletedList}[1]{
\begin{itemize}[leftmargin=*] \itemsep -6pt
#1
\end{itemize}
}
\newcommand*\headerRule[1]{\par\noindent\raisebox{.8ex}{\makebox[\linewidth]{\hrulefill\hspace{1ex}\raisebox{-.8ex}{#1}\hspace{1ex}\hrulefill}}}
\newcommand{\dateStyle}[1]{\hfill \textit{#1}}
% Experience Sections
%==============================================================================
% 1 (description/title), 2 (company/context), 3 (date range)
\newcommand{\experienceHeader}[3]{
{\bf #1,} #2 \dateStyle{#3}
}
% 1 (description/title), 2 (company/context), 3 (date range), 4 (bulleted list of items)
\newcommand{\experience}[4]{
\experienceHeader{#1}{#2}{#3}\\
\vspace{-16pt}
\bulletedList{#4}
\vspace{-2pt}
}
\newcommand{\projectExperience}[4]{\experience{#1}{#2}{#3}{#4}}
\newcommand{\leadershipExperience}[4]{\experience{#1}{#2}{#3}{#4}}
% 1 (list of \skillsCategories)
\newcommand{\skillsTable}[1]{
\vspace{6pt}
\hspace{-8pt}
\renewcommand{\arraystretch}{0.8} % Reduce row spacing
\begin{tabular}{p{0.8in} p{6.5in}}
#1
\end{tabular}
\renewcommand{\arraystretch}{1.0} % Restore row spacing
\vspace{-6pt}
}
% 1 (category), 2 (comma-delimited list of skills in that category)
\newcommand{\skillsCategory}[2]{
{\bf #1:} & #2 \\[4pt]
}
% Large-scale structures
%==============================================================================
% 1 (section name), 2 (section contents)
\newcommand{\resumeSection}[2]{
\headerRule{\textbf{#1}}
\vspace{-8pt}
#2
\vspace{-2pt}
}
% 1 (title), 2 (left header), 3 (right header)
\newcommand{\resumeHeader}[3]{
\begin{minipage}[t]{0.3\textwidth}
#2
\end{minipage}\begin{minipage}[t]{0.4\textwidth}
\begin{center}
{\Large \textsc{#1}}
\end{center}
\end{minipage}\begin{minipage}[t]{0.3\textwidth}
\begin{flushright}
#3
\end{flushright}
\end{minipage}
}