-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
61 lines (55 loc) · 1.88 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
\documentclass{article}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{biblatex}
\usepackage{csquotes}
\usepackage{float}
\usepackage{titlesec}
\usepackage{array}
\usepackage{tabularx}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{listings}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\lstset{
language=C, % choose the language of the code
%numbers=left, % where to put the line-numbers
stepnumber=1, % the step between two line-numbers.
numbersep=5pt, % how far the line-numbers are from the code
backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
tabsize=2, % sets default tabsize to 2 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=true, % sets if automatic breaks should only happen at whitespace
title=\lstname, % show the filename of files included with \lstinputlisting;
}
\setlength{\parindent}{4em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\pagestyle{fancy}
\fancyfoot{}
\fancyfoot[R]{\thepage}
\addbibresource{references.bib}
\begin{document}
\nocite{geeksMemoryAllocation}
\nocite{pointerMedium}
\nocite{cDataType}
\nocite{staticAndDynamicAllocation}
\nocite{memoryAllocation}
\include{cover}
\include{summary}
\input{ponteiros}
\include{dynamic-memory}
\include{references}
\end{document}