-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.cls
130 lines (106 loc) · 3.32 KB
/
resume.cls
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
123
124
125
126
127
128
129
130
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Author: Austin Mitchell %
% MS CSE ASU %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{resume}[Austin's Resume class]
\LoadClass[10pt,letterpaper]{article} % Font size and paper type
% set document margins
\usepackage[left=0.5 in,top=0.4in,right=0.5in,bottom=0.4in]{geometry}
\usepackage[parfill]{parskip} % Remove paragraph indentation
\usepackage{keycommand}
\usepackage{xstring}
\usepackage{hyperref}
\usepackage{enumitem}
\hypersetup{
colorlinks=true,
linkcolor=blue,
urlcolor=black,
}
% Load the fontspec package to set the font
\usepackage{times} % Load the Helvetica font
\usepackage[T1]{fontenc} % Use the T1 font encoding to ensure proper character rendering
\pagestyle{empty}
\def \separator {\text{\Large\textbullet}}
\newcommand\printNameTitle[1]{%
\begingroup
\hfill{\huge\bfseries #1}\hfill
\break
\vspace{-0.5em}
\endgroup
}
\def \separator {\textbullet}
\newcommand{\printContactInformation}{%
\vspace{-1.3em} % remove vertical space above
\begin{center}
\commandkey{phone} \separator
\email{\commandkey{email}} \separator
\profilelink{\commandkey{linkedin}} \separator
\profilelink{\commandkey{github}}
\end{center}
}
\newcommand{\email}[1]{\href{mailto:#1}{#1}}
\newcommand{\profilelink}[1]{\href{https://#1}{#1}}
\newkeycommand{\introduction}[fullname,email,phone,linkedin,github,]{
\printNameTitle{\commandkey{fullname}}
\printContactInformation
}
\newcommand{\newsection}[1]{
\textbf{\MakeUppercase{#1}}
\vspace{0.4em}
\hrule
}
\newcommand{\summary}[1]{
\newsection{summary}
#1
}
\newcommand{\education}[1]{
\newsection{education}
#1
}
\newkeycommand{\educationItem}[university,program,city,state,graduation=\empty, grade=\empty, coursework=\empty]{
\vspace{-0.3em}
{\bf \commandkey{university}} \hfill {\commandkey{city}, \commandkey{state}} \\
{\it \commandkey{program}} \hfill {\it \commandkey{graduation}}{} \\
}
\newkeycommand{\educationExtension}[program, graduation=\empty, grade=\empty, coursework=\empty]{
\vspace{-0.7em}
{\it \commandkey{program}} \hfill {\it \commandkey{graduation}}{} \\
}
\newcommand{\skills}{
\textbf{\MakeUppercase{skills}}
\vspace{0.4em}
\hrule
\vspace{-0.3em}
}
\newkeycommand{\skillItem}[category, skills]{
{\bf \commandkey{category}:} {\commandkey{skills}}
}
\newenvironment{workSection}[1]{
\textbf{\MakeUppercase{#1}}
\vspace{0.4em}
\hrule
\begin{list}{}{ % List for each individual item in the section
\setlength{\leftmargin}{0em} % Margin within the section
}
\item[]
}{
\end{list}
}
\newenvironment{bullets}{
\begin{itemize}[leftmargin=1.3em]
\vspace{-0.5em}
\itemsep -6pt {}
}{
\end{itemize}
}
\newkeycommand{\experienceItem}[company, position, location, duration]{
\vspace{-0.3em}
\textbf{\commandkey{company}} \hfill {\commandkey{location}} \\
{\it \commandkey{position}} \hfill {\it \commandkey{duration}}
}
\newkeycommand{\customItem}[title, duration, location, keyHighlight]{
\vspace{-0.3em}
\textbf{\commandkey{title}} \hfill {\commandkey{location}} \\
{\it \commandkey{keyHighlight}} \hfill {\it \commandkey{duration}}{}
}