-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv_class.cls
48 lines (40 loc) · 919 Bytes
/
cv_class.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
%\NeedsTeXFormat{LaTeX2e}
%\ProvidesClass{my_cv}[6/6/2013 custom CV class]
\LoadClass{article}
\RequirePackage{titlesec}
\renewcommand\labelitemi{-}
\titleformat{\section}
{\bf\scshape\raggedright}
{}{0em}
{}
[\titlerule]
\titleformat{\subsection}
{\scshape\raggedright}
{}{0em}
{}
\newcommand{\datedsection}[2]{
\section[#1]{#1 \hfill #2}
}
\newcommand{\datedsubsection}[2]{
\subsection[#1]{#1 \hfill #2}
}
\newcommand{\name}[1]{
\centerline{\vspace{2mm}\bf\Large{#1}}
}
\newcommand{\subtitle}[1]{
\centerline{\Large{#1}}
}
\newcommand{\contact}[3]{
\indent #1 \\ \indent #2 \\ \indent #3
}
\newcommand{\longcontact}[5]{
\center{#1 \hfill {\large\textperiodcentered} \hfill #2 \hfill {\large\textperiodcentered} \hfill #3}
\center{ {\Large} #4 \hfill {\Large} #5}
}
\newcommand{\workitems}[3]{
\begin{itemize}
\item #1
\item #2
\item #3
\end{itemize}
}