-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
79 lines (57 loc) · 1.61 KB
/
main.tex
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
\documentclass[a4paper, 11pt]{article}
\usepackage[dvipsnames]{xcolor}
\definecolor{Accent}{RGB}{ 6, 28, 68}
\usepackage[utf8]{inputenc}
\usepackage[colorlinks=true,urlcolor=Accent]{hyperref}
\usepackage{titlesec}
\usepackage[margin=1.5cm]{geometry}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{colortbl}
\usepackage{makecell}
\usepackage{fancyhdr}
\usepackage{amsfonts}
\usepackage[brazilian]{babel}
% \usepackage{tgadventor}
% \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
% \usepackage[T1]{fontenc}
\usepackage[default]{sourcesanspro}
\usepackage[T1]{fontenc}
%Definindo o comando de entrada de itens
% 1 - Data final
% 2 - Data inicial
% 3 - Cargo
% 4 - Empresa
% 5 - Descrição
\newcommand{\entry}[5]{
\begin{minipage}[t]{.1\textwidth}
\begin{flushright}
\hfill
{\textsc{#1}}
{\textsc{#2}}
\end{flushright}
\end{minipage}
\hfill\textcolor{Accent}{\vline}\hfill
\begin{minipage}[t]{.825\textwidth}
#3
\textcolor{Accent}{\textbf{#4}}
\footnotesize{#5}
\end{minipage} \\
\vspace{.5cm}
}
% Espaçamento e formatação de seções
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}%
[
\vspace*{-0.667\baselineskip} % Espaço vertical entre texto do título e titlerule.
\textcolor{Accent} % Cor do texto do título.
{\titlerule} % Adiciona linha abaixo do título.
]
\titlespacing{\section}{0pt}{0pt}{0pt}
\begin{document}
\pagenumbering{gobble}
\pagestyle{fancy} % tipo de header e footer
\fancyhf{}
\rfoot{\scriptsize{Atualizado em \today}}
\renewcommand{\headrulewidth}{0pt}
\include{resume.tex}
\end{document}