summaryrefslogtreecommitdiff
path: root/template.tex
blob: 0aae15f780f33892ed6a41dae7dafff4cd0a5c38 (plain)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
% DOC OPTIONS
%% Document type and font size
\documentclass[a4paper,12pt]{article}
%% Document encoding
\usepackage[utf8]{inputenc}
%% Geometry and margins
\usepackage[margin=1in]{geometry}
%% Urls style
\usepackage[colorlinks=true, linkcolor=blue, filecolor=blue, urlcolor=blue]{hyperref}
%% Tables formatting and alignment
\usepackage{array}
%% Format section titles
\usepackage{titlesec}
%% Format LaTeX logo with space after
\usepackage{xspace}
%% Allow multirow tables
\usepackage{multirow}
%% Using different font for the glyphs and emojis
\usepackage{fontspec}
%% No hyphenation between lines
\usepackage[none]{hyphenat}
%% Document Language
%%%\usepackage[portuguese]{babel}

% HEADER
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{2pt}

% ALL PAGES STYLES
\pagestyle{fancy}
\lhead
{
	\textsc{\small Curriculum Vitae}
}

\rhead
{
	\textbf{\today}
}

% FIRST PAGE STYLE
\fancypagestyle{firstpage}
{
	\pagestyle{fancy}
	\lhead
	{
		\textsc{\small Curriculum Vitae}
		\\
		\textbf{\Huge Your Name}
	}

	\rhead
	{
		\textbf{\today}
		\\
		\textsc{{\fontspec{FiraCode Nerd Font}} Your City, Your Country}
	}
}

% FOOTER
\renewcommand{\footrulewidth}{1pt}
\pagenumbering{gobble}

% SECTIONS STYLE
\titleformat{\section}[frame]{}{}{10pt}{\Large\bf\filcenter}
%\titleformat{\section}{}{}{10pt}{\Large\bf\filcenter}[{\titlerule[1pt]}]

% MACROS
\newcommand{\latex}{\LaTeX\xspace}

\newcommand{\timeentry}[4]
{
	\begin{tabular}{ c | l  }
		\multirow{2}{0.2\linewidth}{\textsc{#1}} & {\bf#2} \\
						 & \textit{#3} \footnotesize{#4}
	\end{tabular}
}

\newcommand{\simpleentry}[2]
{
	\begin{tabular}{m{0.2\linewidth} | m{0.75\linewidth} }
		\textsc{#1} & #2
	\end{tabular}
}

% DOCUMENT
\begin{document}

	\thispagestyle{firstpage}
	\section{Contact}
	{\fontspec{FiraCode Nerd Font}} E-mail: \href{mailto:your@email.com}{your@email.com}
	\\
	{\fontspec{FiraCode Nerd Font}} Phone: +000 000 000 000
	\\
	{\fontspec{FiraCode Nerd Font}爵} Website: \href{https://yourwebsite.com}{yourwebsite.com}

	\section{Education}
	\timeentry{2000-Now}{Course 2}{Institution}{}
	\\
	\timeentry{1970-2000}{Course 1}{Institution}{}

	\section{Languages}
	\simpleentry{Human}{English}
	\\
	\simpleentry{Machine}{Python, HTML, CSS, {\latex}, etc...}

	\section{Skills}
	Some simple text explaining some of your skills like {\latex}.

	\newpage
	\section{Hobbies}
	Describe your hobbies or put the in a entry like below.
	\\
	\\
	\timeentry{1970-Now}{Some hobby}{In this location}{with this person}

	\section{Courses}
	\timeentry{1970}{Some Course}{At this location}{with this trainer}

	\section{Misc}
	\timeentry{1970-2000}{Driving License}{At this school}{with this instructor}

\end{document}