all repos — resume @ 611d34984010c004c279547ca2c3d8f9a4bd35a9

my résumé

resume-openfont.cls (view raw)

 1% Intro Options
 2\ProvidesClass{deedy-resume-openfont}[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}{666666} 
22\definecolor{primary}{HTML}{2b2b2b} 
23\definecolor{headings}{HTML}{6A6A6A}
24\definecolor{subheadings}{HTML}{333333}
25
26% Set main fonts
27\usepackage{fontspec}
28\setmainfont[Color=primary, Path = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig}
29\setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/raleway/]{Raleway-ExtraLight}
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/raleway/]{Raleway-ExtraLight}\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/lato/]{Lato-Hai}\selectfont #1 
46\fontspec[Path = fonts/lato/]{Lato-Lig}\selectfont #2
47} \\[5pt]
48\centering{
49\color{headings}
50\fontspec[Path = fonts/raleway/]{Raleway-Medium}\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/lato/]{Lato-Lig}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{}
64
65% Subeadings command
66\titleformat{\subsection}{
67\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{}
68
69\newcommand{\runsubsection}[1]{
70\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont}
71
72% Descriptors command
73\newcommand{\descript}[1]{
74\color{subheadings}\raggedright\scshape\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
75
76% Location command
77\newcommand{\location}[1]{
78\color{headings}\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\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