all repos — resume @ 2f20c8a6dc62d0557c3c4a58c9fae7e9ae120a76

my résumé

config.cls (view raw)

 1% Intro Options
 2\ProvidesClass{resume-config}[2014/04/30 CV class]
 3\NeedsTeXFormat{LaTeX2e}
 4\DeclareOption{print}{\def\@cv@print{}}
 5\DeclareOption*{%
 6  \PassOptionsToClass{\CurrentOption}{article}
 7}
 8\ProcessOptions\relax
 9\LoadClass{article}
10
11% Package Imports
12\usepackage[hmargin=1.25cm, vmargin=0.75cm]{geometry}
13\usepackage[hidelinks]{hyperref}
14
15% Publications
16\usepackage{cite}
17\renewcommand\refname{\vskip -1.5cm}
18
19% Color definitions
20\usepackage[usenames,dvipsnames]{xcolor} 
21\definecolor{date}{HTML}{000000} 
22\definecolor{primary}{HTML}{000000} 
23\definecolor{headings}{HTML}{000000}
24\definecolor{subheadings}{HTML}{000000}
25
26% Set main fonts
27\usepackage{fontspec}
28\setmainfont[Color=primary, Path = fonts/,BoldFont=Inter-Regular]{Inter-Regular}
29\setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/]{Inter-Light}
30
31% Date command
32\usepackage[absolute]{textpos}
33\usepackage[UKenglish]{isodate}
34\setlength{\TPHorizModule}{1mm}
35\setlength{\TPVertModule}{1mm}
36\newcommand{\lastupdated}{\begin{textblock}{60}(155,5)
37\color{date}\fontspec[Path = fonts/]{Inter-Light}\fontsize{8pt}{10pt}\selectfont 
38Last Updated on \today
39\end{textblock}}
40
41% Name command
42\newcommand{\namesection}[3]{
43\centering{
44\fontsize{40pt}{60pt}
45\fontspec[Path = fonts/]{Inter-Bold}\selectfont #1 
46\fontspec[Path = fonts/]{Inter-Regular}\selectfont #2
47} \\[5pt]
48\centering{
49\color{headings}
50\fontspec[Path = fonts/]{Inter-Regular}\fontsize{11pt}{14pt}\selectfont #3}
51\noindent\makebox[\linewidth]{\color{headings}\rule{\paperwidth}{0.4pt}}
52\vspace{-15pt}
53}
54
55% Section seperators 
56\usepackage{titlesec}
57\titlespacing{\section}{0pt}{0pt}{0pt} 
58\titlespacing{\subsection}{0pt}{0pt}{0pt}
59\newcommand{\sectionsep}{\vspace{8pt}}
60
61% Headings command
62\titleformat{\section}{\color{headings}
63\scshape\fontspec[Path = fonts/]{Inter-Bold}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{}
64
65% Subeadings command
66\titleformat{\subsection}{
67	\color{subheadings}\fontspec[Path = fonts/]{Inter-Regular}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{}
68
69\newcommand{\runsubsection}[1]{
70\color{subheadings}\fontspec[Path = fonts/]{Inter-Regular}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont}
71
72% Descriptors command
73\newcommand{\descript}[1]{
74\color{subheadings}\raggedright\scshape\fontspec[Path = fonts/]{Inter-Regular}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
75
76% Location command
77\newcommand{\location}[1]{
78\color{headings}\raggedright\fontspec[Path = fonts/]{Inter-Regular}\fontsize{10pt}{12pt}\selectfont {#1\\} \normalfont}
79
80% Bullet Lists with fewer gaps command
81\newenvironment{tightemize}{
82\vspace{-\topsep}\begin{itemize}\itemsep1pt \parskip0pt \parsep0pt}
83{\end{itemize}\vspace{-\topsep}}
84