forked from joaoventura/full-speed-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull-speed-python.tex
More file actions
63 lines (47 loc) · 1021 Bytes
/
full-speed-python.tex
File metadata and controls
63 lines (47 loc) · 1021 Bytes
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
\documentclass[12pt, a4paper, oneside]{book}
% Fonts
\usepackage[]{opensans}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% Paragraphs
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
% Margins
\usepackage[margin=1in]{geometry}
% Images
\usepackage{graphicx}
\usepackage{float}
% Source code
\usepackage{listings}
\usepackage{xcolor}
% Source code formatting
\lstset{
backgroundcolor=\color[rgb]{0.95,0.95,0.95},
basicstyle=\footnotesize,
language=Python,
aboveskip=1em,
belowskip=1em,
}
% Headers and footers
\pagestyle{plain}
% Urls
\usepackage{hyperref}
% Equations
\usepackage{amsmath}
\begin{document}
\title{Getting up to speed with Python}
\author{João Ventura}
\date{v0.2}
\maketitle
{
\setcounter{tocdepth}{2}
\tableofcontents
}
\include{chapters/introduction}
\include{chapters/installation}
\include{chapters/basic-datatypes}
\include{chapters/functions}
\include{chapters/loops}
\include{chapters/dictionaries}
\include{chapters/classes}
\end{document}