-
Notifications
You must be signed in to change notification settings - Fork 13
/
resume.cls
102 lines (83 loc) · 2.69 KB
/
resume.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
%%
%% Daniel Cousineau's Resume LaTeX Class
%% (c) 2009 Daniel Cousineau
%% Licensed under the MIT license
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass{resume}
\LoadClass[letterpaper, oneside, final, 11pt]{scrartcl}
\usepackage[letterpaper,left=0.85in,top=0.90in,right=0.85in,bottom=1.15in]{geometry}
\usepackage{setspace}
\usepackage{xifthen}
\usepackage{enumitem}
\usepackage{stackengine}
\RequirePackage{hyperref,scrlayer-scrpage,titlesec,marvosym,soul,makecell,tabularx,lastpage}
%%
%% Page Setup
%%
\pagestyle{scrheadings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HEADING COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% NAME
%%
\newcommand{\name}[1]{
\title{#1's Resum$\acute{e}$}
\author{#1}
\begin{center}
\textsc{ \Huge{ \so{#1} } }
\end{center}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% FOOTER COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% EMAIL
%%
\newcommand{\footeremail}[1]{{\large\Letter} \href{mailto:#1}{\so{#1}}}
%%
%% PHONE
%%
\newcommand{\footerphone}[1]{{\large\Telefon} \small{\so{#1}}}
%%
%% BLOG/LINK
%%
\newcommand{\footerlink}[1]{{\large\ComputerMouse} \href{#1}{\small{\so{#1}}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SECTION COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
%%
%%
%%
\newcommand{\stdtable}[1]{\begin{tabularx}{1.00\linewidth}{>{\raggedleft\scshape}p{2cm}X}
#1
\end{tabularx}}
%%
%% \employer{NAME}{WEBSITE}{DATE}{TITLE}{DESCRIPTION}
%%
\newcommand{\employer}[5]{\addstackgap[0.5em]{\begin{tabularx}{1.00\linewidth}{>{\raggedleft\scshape}p{2cm}X}
Period & #3\\
Employer & #1 \hfill \href{#2}{#2}
\ifthenelse{\isempty{#4}}
{}
{\\Job Title & #4}
\ifthenelse{\isempty{#5}}
{}
{\\Duties & \makecell[Xt]{\begin{minipage}[t]{\linewidth}#5\end{minipage}}\\}
\end{tabularx}}}
%%
%% \project{NAME}{WEBSITE}{ROLE}{DETAILS}
%%
\newcommand{\project}[4]{\begin{tabularx}{1.00\linewidth}{>{\raggedleft\scshape}p{2cm}X}
Project & #1 \hfill \href{#2}{#2}\\
Role & #3\\
Details & #4\\
\end{tabularx}}
%%
%% LIST STYLES
%%
\newlist{jobitems}{itemize}{3}
\setlist[jobitems]{label=\textbullet,nosep,topsep=0em,labelindent=\parindent,leftmargin=*}
\setlist[jobitems,2]{label=-}