aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.tex
blob: 320dee7602d632f0dec9835c769a409114335524 (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
\documentclass[a4paper, 11pt]{article}

\usepackage[hmargin=2.5cm,tmargin=2cm,bmargin=3.5cm,footskip=2cm]{geometry}

\usepackage{color}
\definecolor{darkblue}{RGB}{0,0,100}

\usepackage[colorlinks=true, allcolors=darkblue, pdfborder={0 0 0}]{hyperref}

\usepackage{titlesec}

\usepackage{graphicx}

\usepackage{parskip}
\setlength{\parindent}{0em}
\setlength{\parskip}{0.25cm}
\setcounter{secnumdepth}{-1}

\usepackage[dvipsnames]{xcolor}
\usepackage[inline]{enumitem}
\setlist[itemize]{leftmargin=0.8cm,after=\vspace{0.1cm}}
\renewcommand{\labelitemi}{$$\color{brown}\bullet$$}

% Other packages

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fp,etoolbox,marvosym,bookman,titlesec,hyperref,tabularx,graphicx,fancyhdr,changepage,lastpage,ulem}
\usepackage{xifthen}

% Conf

\setlength{\parindent}{0pt}
\color[HTML]{303030} % Default foreground color
\definecolor{link}{HTML}{505070}
\hypersetup{colorlinks,breaklinks,urlcolor=link,linkcolor=link}
\setlength{\tabcolsep}{0pt}

\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\renewcommand{\headrulewidth}{0pt}
\cfoot{\thepage\ / \pageref{LastPage}}

\titleformat
  {\section}
  {\LARGE\scshape\raggedright\color{brown}} % format
  {} % label
  {0cm} % sep
  {\vspace{0.3cm}} % before
  [\titlerule\vspace{0.2cm}] % after

\titleformat
  {\subsection}
  {\large\raggedright\bf} % format
  {} % label
  {0cm} % sep
  {\vspace{0.3cm}} % before
  [\vspace{0.1cm}] % after

% Commands

\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

\newcommand{\iconLink}[3] {
  \includegraphics[width=8px]{#1} & \href{#2}{\sf\small#3} \\
}

% Doc

\begin{document}

\begin{minipage}[t]{0.6\textwidth}
  \centering
  {\Huge Joris Guyonvarch} \\
  \vspace{0.2cm}
  {\Large Developer} \\
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
  \begin{flushright}
    \vspace{-1.3em}
    \begin{tabular}{p{15pt}l}
      \iconLink{external-link.png}{https://guyonvarch.me}{guyonvarch.me}
      \iconLink{gitlab.png}{https://gitlab.com/guyonvarch}{guyonvarch}
    \end{tabular}
  \end{flushright}
\end{minipage}

$body$

\end{document}