-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjoel_cv.cls
58 lines (51 loc) · 1.55 KB
/
joel_cv.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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{joel_cv}[2019/11/10 CV class by Joel]
\LoadClass[11pt,letterpaper]{article} % Font size and paper type
\usepackage{enumitem}
\usepackage{parskip}
\usepackage{url}
\usepackage{hyperref}
\usepackage[left=0.75in,top=0.6in,right=0.75in,bottom=0.6in]{geometry}
\usepackage{bold-extra}
\newcommand{\printName}[1]{{\huge \textsc{#1}}\\\vspace{0.5em}}
\newcommand{\printPhone}[1]{{\em Phone}: #1\\}
\newcommand{\printEmail}[1]{{\em Email}: #1\\}
\newcommand{\printWebsite}[1]{{\em Website}: \url{#1}\\}
\newcommand{\printAddress}[1]{{\em Address}: #1\\}
\newcommand{\sectionTitle}[1]{\vspace{1em}\textbf{\Large \textsc{#1}}\vspace{0.5em}\hrule}
\newenvironment{cvHeader}{\begin{center}}{\end{center}}
\newenvironment{sectionItemize}[1]{
\begin{itemize}
\renewcommand\labelitemi{#1}
\itemsep=-0.5em
}{
\end{itemize}
}
% #1: Title, #2: Interval
\newenvironment{sectionContentSimple}[2]{
\hspace{1.2em} {\bf #1} \hfill {\em #2} \vspace{-0.5em}
\begin{itemize}[leftmargin=2.5em]
\renewcommand\labelitemi{}
\itemsep=-0.5em
}{
\end{itemize}
}
% #1: Title, #2: timespan
\newenvironment{profExp}[2]{
\hspace{1.2em} {\bf #1} \hfill {\em #2} \vspace{-0.5em}
\begin{itemize}
\renewcommand\labelitemi{$\cdot$}
\itemsep=-0.5em
}{
\end{itemize}
}
% #1: Title, #2: subtitle
\newenvironment{proj}[2]{
\hspace{1.2em} {\bf #1} \vspace{-0.7em}
\begin{itemize}[leftmargin=2.5em] \item[] {\bf \footnotesize #2} \end{itemize} \vspace{-0.7em}
\begin{itemize}[leftmargin=2.5em]
\renewcommand\labelitemi{}
\itemsep=-0.5em
}{
\end{itemize}
}