-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefinitions.tex
49 lines (40 loc) · 1.29 KB
/
definitions.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
\documentclass[11pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{courier}
\usepackage{tgheros}
\usepackage{listings}
\usepackage{caption}
\usepackage{graphicx}
\usepackage[backend=bibtex,style=verbose-trad2]{biblatex}
\usepackage{longtable}
\usepackage{array}
\usepackage{fancyhdr}
\usepackage{ltablex}
\usepackage[a4paper,includeheadfoot,top=0.54cm, bottom=4.54cm, left=2.54cm, right=2.54cm]{geometry}
\usepackage[newfloat]{minted}
\usepackage{hyperref}
% Lorem Ipsum text, for demonstration purposes only
\usepackage{lipsum}
\renewcommand\familydefault{\sfdefault}
% Tables
\renewcommand{\arraystretch}{1.4}
\keepXColumns
% Graphics
\graphicspath{{./pictures/}}
% Bibliography
\bibliography{references}
% Paragraphs settings
\setlength{\parindent}{0pt}
% Code snippet
\newenvironment{codesnippet}{\captionsetup{type=listing}}{}
\SetupFloatingEnvironment{listing}{name=Code}
\setminted{fontsize=\small,baselinestretch=1}
\captionsetup[listing]{position=below,aboveskip=0pt,belowskip=10pt}
% Header & footer
\fancyhf{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}
\rhead{\includegraphics[width=0.1\textwidth]{pv}}
\fancyfoot[C]{\fontsize{11}{12}\selectfont \thepage}
\pagestyle{fancy}
\setlength{\headheight}{70pt}