summaryrefslogtreecommitdiff
path: root/myCV_Class.cls
blob: 0d0d780b323e8f113c9b33dc293d99890cb6f071 (plain) (blame)
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
\NeedsTeXFormat{LaTeX2e}

\ProvidesClass{myCV_Class}

\LoadClass[a4paper,10pt]{article}

\RequirePackage[utf8]{inputenc}
\RequirePackage[margin=25mm]{geometry}

\RequirePackage{hyperref}

\RequirePackage{titling}
\RequirePackage{titlesec}

% Set default font to Fira Sans Light using sfdefault option 
\RequirePackage[sfdefault,light]{FiraSans}

% \RequirePackage[defaultsans]{opensans}
% \renewcommand{\familydefault}{\sfdefault}

% Add Font Awesome
\RequirePackage{fontawesome}

% Info commands
\newcommand*{\email}[1] {
  \def\@email{{\small\faEnvelope}~#1}
}

\newcommand*{\homepage}[1] {
  \def\@homepage{{\small\faGlobe}~#1}
}

\newcommand*{\github}[1] {
  \def\@github{{\small\faGithub}~#1}
}

\newcommand*{\makecvtitle} {
  \begin{flushleft}
    \huge\bfseries
    \theauthor \hfill CV
    \normalsize\mdseries
  \end{flushleft} 
}

\newcommand{\cvedu}[6] {

}

\newcommand{\cvitem}[2] {

}

\newcommand{\cvjob}[6] {

}

\newcommand{\cvproject}[3] {
#3
}