-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresume_config.cls
132 lines (110 loc) · 4 KB
/
resume_config.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
131
132
%-------------------------------------------------------------------------------
% Identification
%-------------------------------------------------------------------------------
\ProvidesClass{resume_config}[2023 v1.0 resume_config]
\NeedsTeXFormat{LaTeX2e}
%-------------------------------------------------------------------------------
% Class options
%-------------------------------------------------------------------------------
\LoadClass[11pt]{article} % adjust font size here
%-------------------------------------------------------------------------------
% Packages
%-------------------------------------------------------------------------------
\RequirePackage{geometry}
\RequirePackage[hidelinks]{hyperref}
\RequirePackage{fontspec}
\RequirePackage{color}
\RequirePackage[english]{babel}
\RequirePackage{titlesec}
\RequirePackage{enumitem}
\RequirePackage{multicol}
\RequirePackage{pifont}
\RequirePackage{fontawesome5}
\RequirePackage{fancyhdr}
\RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{etoolbox,refcount}
\RequirePackage{calc}
\RequirePackage{enumitem}
\RequirePackage{fancyhdr}
\RequirePackage{etoolbox}
\RequirePackage{setspace}
\RequirePackage{lipsum}
\RequirePackage{xparse}
\RequirePackage{relsize}
\usepackage{graphicx}
% \setmainfont{TeX Gyre Heros} % adjust font style here
\setmainfont{Liberation Sans} % adjust font style here
% Additional fonts can be found at the following URL: https://www.draketo.de/anderes/latex-fonts.html#org9f59ea3
%-------------------------------------------------------------------------------
% Formatting
%-------------------------------------------------------------------------------
\setlength{\tabcolsep}{0in}
\pagenumbering{gobble}
\pagestyle{empty}
\raggedbottom
\raggedright
\geometry{
paper=letterpaper, % Paper size, change to letterpaper for US letter size
top=0.5in, % Top margin
bottom=0.5in, % Bottom margin
left=0.5in, % Left margin
right=0.5in, % Right margin
headheight=0.75cm, % Header height
footskip=1cm, % Space from the bottom margin to the baseline of the footer
headsep=0.5cm % Space from the top margin to the baseline of the header
% showframe, % Uncomment to show how the type block is set on the page
}
% section title format
\titleformat{\section}%
{\vspace{-4pt}\scshape\raggedright\large\bfseries}% format
{}% label
{0em}% space between label and title
{}% before code
[\color{black}\titlerule\vspace{-5pt}]% after code
%-------------------------------------------------------------------------------
% Custom Commands
%-------------------------------------------------------------------------------
\newcommand*{\CustomBullet}{%
\hspace{0.1em}%
\raisebox{-0.1em}{\scalebox{1.5}{$\cdot$}}%
\hspace{0.5em}%
}
\NewDocumentCommand{\Header}{m m m m m m o}{
\fancyhf{}
\begin{center}
{\Huge\textbf{\textsc{\textcolor{NavyBlue}{#1}}}}\\[4pt]
\textcolor{black}{
#2 \CustomBullet #3 \CustomBullet \href{mailto:#4}{#4} \\
\href{https://linkedin.com/in/#5}{linkedin.com/in/#5} \CustomBullet \href{https://github.com/#6}{github.com/#6}
\IfValueT{#7}{ \CustomBullet \href{#7}{#7}}
}\\[3pt]
\end{center}
\vspace{-15pt}
}
\newcommand{\WorkExperience}[5]{
\noindent
\begin{tabular*}{\textwidth}{@{}l @{\extracolsep{\fill}} r}
\textbf{#1} & \textit{#3} \\
#2 & #4 \\
\end{tabular*}
\begin{itemize}[noitemsep, topsep=0pt, leftmargin=1em]
#5
\end{itemize}
}
\newcommand{\Certification}[3]{
\noindent
\textbf{#1} $|$ {#2}\hfill \textit{#3}\\
}
\newcommand{\EducationExperience}[4]{
\noindent
\begin{tabular*}{\textwidth}{@{}l @{\extracolsep{\fill}} r}
\textbf{#1} & \textit{#3} \\
#2 & #4 \\
\end{tabular*}
}
\newcommand{\SkillItem}[2]{\item \textbf{#1}{#2}}
\newcommand{\SkillList}[1]{
\begin{itemize}[label={}, itemsep=-0.2em, leftmargin=0em]
#1
\end{itemize}
}