-
Notifications
You must be signed in to change notification settings - Fork 0
/
book.tex
65 lines (51 loc) · 1.4 KB
/
book.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
\documentclass[12pt, a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
% Eu particularmente prefiro a Computer Modern
% que é a fonte padrão. Se achares melhor a
% outra, diz aí que a gente vê.
%\usepackage{lmodern}
%\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
\linespread{1.3}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\author{{\sc Bruno Sampaio Pinho da Silva}\\[0.2cm]{\sc Thiago Oliveira Ribeiro}}
\title{{\bf C: de Estudante para Estudante\\}}
\date{}
\usepackage{listings}
\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=C,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true
tabsize=3
}
\begin{document}
%---------------------
% Capa e Sumário
%---------------------
\maketitle
\tableofcontents
%---------------------
% Capítulos
%---------------------
\input{chapters/condition.tex}
\input{chapters/loops.tex}
\end{document}