\ProvidesClass{resume}
\LoadClass[10pt, letterpaper]{article}
\RequirePackage[letterpaper, margin=0.5in]{geometry}
\RequirePackage{hyperref}
\RequirePackage{titlesec}
\RequirePackage{xparse}
\RequirePackage{fontawesome5}
\RequirePackage{multirow}
\RequirePackage{enumitem}
\pagestyle{empty}
\titleformat{\section}
{\uppercase}
{}
{0em}
{}
\hypersetup{
colorlinks = true,
linkcolor = blue,
urlcolor = blue,
citecolor = blue,
anchorcolor = blue
}
\setlist[itemize]{itemsep=0em}
The first 5 lines define formatting for special links. These lines are used by
the header
command to display these special links.
- name
- location
- website
- GitHub username
- LinkedIn profile path (without the
linkedin.com/in/
)
\newcommand*{\email}[1]{\href{mailto:#1}{\texttt#1}}
\newcommand*{\github}[1]{\href{https://github.com/#1}{\texttt#1}}
\newcommand*{\linkedin}[1]{\href{https://linkedin.com/in/#1}{\texttt#1}}
\newcommand*{\location}[1]{#1}
\newcommand*{\website}[1]{\href{https://#1}{\texttt#1}}
\NewDocumentCommand{\header}{m m m m m m}{
\noindent
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}c@{\extracolsep{1em}}l@{}}
\multirow{5}*{\centering{\textbf{\Huge{\uppercase{#1}}}}} & \faMapMarker* & \location{#2} \\
& \faDesktop{} & \website{#3} \\
& \faAt{} & \email{#4} \\
& \faGithub{} & \github{#5} \\
& \faLinkedin{} & \linkedin{#6} \\
\end{tabular*}
}
Each of the following commands will create a new subtitle under a section. After this command, add items underneath to create bullet points.
Run this command before adding an education, job experience, or project section. If adding multiple of one section, only add this once, before the first sub-section.
- section name
\NewDocumentCommand{\resumeSection}{m}{
%\vspace{-1em}
\section{\textbf{#1}}
\vspace{-1em}
\hrule
\vspace*{.5em}
}
- university
- degree
- graduation date
- GPA (optional)
\NewDocumentCommand{\educationInfo}{m m m O{}}{
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r@{}}
\textbf{#1} & {#3} \\
{#2} & {#4}
\end{tabular*}
}
- company
- position
- location
- employment dates
\NewDocumentCommand{\jobInfo}{m m m m}{
\noindent
%\vspace*{.5em}
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r@{}}
\textbf{#1} & {#3} \faMapMarker* \\
\textit{#2} & \textit{#4}
\end{tabular*}
}
This section is very similar to the Job Experience section from above, but does not list the company name and location.
- position
- employment dates
\NewDocumentCommand{\jobInfoSameCompany}{m m}{
\noindent
% \vspace*{.5em}
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r@{}}
\textit{#1} & \textit{#2}
\end{tabular*}
}
- project name
- project dates
\NewDocumentCommand{\projectInfo}{m m}{
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r@{}}
\textbf{#1} & {#2}
\end{tabular*}
}