aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.tex
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layout.tex')
-rw-r--r--templates/layout.tex93
1 files changed, 93 insertions, 0 deletions
diff --git a/templates/layout.tex b/templates/layout.tex
new file mode 100644
index 0000000..e49ea84
--- /dev/null
+++ b/templates/layout.tex
@@ -0,0 +1,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 Développeur} \\
+\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}