This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tex
92 lines (76 loc) · 2 KB
/
template.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
80
81
82
83
84
85
86
87
88
89
90
91
92
\documentclass[titlepage]{article}
\usepackage{array}
\usepackage{booktabs}
\usepackage{calc}
\usepackage{caption}
\usepackage{color}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{framed}
\usepackage[french]{babel}
\usepackage[headheight=26pt]{geometry}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{lastpage}
\usepackage{listings}
\usepackage{ragged2e}
\usepackage{subcaption}
\usepackage{svg}
\usepackage{xcolor}
\usepackage{tabu}
\usepackage[toc]{glossaries}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xparse}
\usepackage{xfp}
\usepackage[default]{sourcesanspro}
\usepackage{sourcecodepro}
\input{commands.tex}
\hypersetup{
colorlinks,
linkcolor={blue!20!black},
citecolor={blue!50!black},
urlcolor={blue!80!black},
pageanchor=true
}
\definecolor{epitech-blue}{RGB}{0, 105, 179}
\def\tightlist{}
\pagestyle{fancy}
\fancyhf{}
$if(subtitle)$
\newcommand{\lheadercontent}{$title$ - $subtitle$}
$else$
\newcommand{\lheadercontent}{$title$}
$endif$
\lhead{\includegraphics[width=0.4cm]{resources/pizzi-logo.png} $project$ | \lheadercontent}
\rhead{\nouppercase{\leftmark}}
\rfoot{Page {\thepage} sur \pageref{LastPage}}
\renewcommand{\footrulewidth}{1pt}
$if(highlighting-macros)$
$highlighting-macros$
$endif$
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\begin{document}
\begin{titlepage}
\newgeometry{left=0.75cm,top=0.75cm,right=0.75cm,textwidth=\textwidth}
\noindent
\includegraphics[width=\textwidth]{resources/header-decoration.png}
\vspace{1cm}
\begin{center}
\includegraphics[scale=0.8]{resources/pizzi-logo.png}
\end{center}
\vspace{0.5cm}
\begin{center}
\includegraphics[width=0.8\textwidth]{resources/epitech-logo.png}
\end{center}
\begin{flushright}
\huge{\color{epitech-blue}$title/uppercase$\hspace{2cm}}
\large{$for(author)$$author/uppercase$$sep$, $endfor$\hspace*{2cm}}
\end{flushright}
\setcounter{page}{0}
\end{titlepage}
\restoregeometry
\newgeometry{bottom=2cm,includefoot}
$body$
\end{document}