-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKresume.sty
60 lines (46 loc) · 1.62 KB
/
PKresume.sty
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PKresume}[10/03/22 resume package]
% Assuming using "article" document class and letter sized paper.
% FONT STUFF
\RequirePackage{xltxtra}
\RequirePackage{csquotes}
\AtBeginDocument{\setromanfont{Times New Roman}}
\AtBeginDocument{\setsansfont{Roboto}}
\AtBeginDocument{\setmonofont{Courier New}}
\AtBeginDocument{\setmainfont{Roboto}}
% MARGINS AND SPACING
\RequirePackage[margin=.5in, top=.5in]{geometry} % Set Margins
\raggedright % left align no indent
\raggedbottom % top align no indent
% COLOR
\RequirePackage{xcolor}
\definecolor{highlight}{RGB}{61, 90, 128} % CHANGE THIS TO YOUR FAV COLOR https://g.co/kgs/aoqdi7
% LINKS
\RequirePackage{hyperref}
\hypersetup{colorlinks=true,urlcolor=highlight}
% BULLET POINTS
\RequirePackage[inline]{enumitem}
\setlength{\tabcolsep}{0in}
% SECTION FORMATTING
\RequirePackage[nostruts]{titlesec}
\titlespacing*{\section}{0em}{0.5em}{0em}
\titleformat{\section}{\color{highlight} \scshape \raggedright \large}{}{0em}{}[\vspace{-0.75em}\hrulefill]
% SUBSECTION FORMATTING
\titlespacing*{\subsection}{0em}{0em}{0em}
\titleformat{\subsection}{\bfseries}{}{0em}{}[]
% BOLD COMMAND
\newcommand{\skills}[1]{ {\bfseries #1}}
% SUBTEXT
\newcommand{\subtext}[1]{\textit{#1}\par\vspace{-.75em}}
% tighter spacing than itemize
\setlist[itemize]{align=parleft,left=0pt..1em}
\newenvironment{zitemize}{
\begin{itemize} \itemsep 0pt \parskip 0pt \parsep 1pt}
{\end{itemize}\vspace{-.5em}}
% NO PAGE NUMBER
\pagenumbering{gobble}
% SUBFILES IMPORTING
\RequirePackage{standalone}
% FOR TEMPLATE FILLER
\RequirePackage[english]{babel}
\RequirePackage{blindtext}% Filler Text