summaryrefslogtreecommitdiff
path: root/resume/commands.tex
blob: bb52bb8aa2dec07a83c197094d38a31243a9a4f1 (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
%Set margins and spacing for unordered lists
\setlist{nosep}
\setlist[itemize]{
	leftmargin=9pt,
	rightmargin=9pt,
	itemsep=4pt
}

%Format the section headings
\titleformat{\section}
{\vspace{-4mm}\raggedright\LARGE\mdseries}
{}
{0em}
{\vspace{-8mm}\hrule}


%Entry for experience
\newcommand{\entry}[5]{
	\vspace{-2mm} %top spacing
	\begin{tabular*}{1.00\textwidth}[t]{l@{\extracolsep{\fill}}r}
		\vspace{1mm} % middle spacing
		\large{\textbf{#1}} & \normalsize{#2} \\
		\textit{\small{#3}} & \textit{\small{#4}} \\
	\end{tabular*}
	\vspace{-2mm}
	\begin{adjustwidth}{7pt}{7pt}
	\small{#5}
	\end{adjustwidth}
	\vspace{4mm}
}

%Command for empty career or education descriptions
\newcommand{\nothing}{\vspace{-6mm}}

%Command for the objective statement paragraph
\newcommand{\objective}[1]{
	\begin{adjustwidth}{7pt}{7pt}
	\small{#1}
	\end{adjustwidth}
	\vspace{4mm}
}

%Maketitle command that sets document header
\renewcommand{\maketitle}{
	{\Huge\bfseries
	\theauthor}
	\vspace{3mm}
	\hrule
	\centering
	\ \small{\faIcon{phone} \phone}
	\hfill
	\small{\faIcon{envelope} \href{mailto://\email}{\email}}
	\hfill
	\small{\faIcon{linkedin} \href{https://www.linkedin.com/in/\linkedin/}{linkedin.com/in/\linkedin/}}\ \
	%\small{\faIcon{map-marker-alt} {\location}}\ \
	%\small{\faIcon{globe} \href{https://\website/}{\website}}\ \
	\raggedright
	\NumTabs{10} %Allow use of the \tab command for alignment
}


%Coursework and descriptions
\newcommand{\course}[2]{
	\normalsize{\textbf{#1}} \\
	\small{#2}
}