1ec26d1f6fca9e1876483a130ab031180beaa7c0
[gapil.git] / main.tex
1 %
2 % File principale: gli altri vanno inclusi da questo.
3
4 \documentclass[a4paper,11pt,twoside,italian]{book}
5 \usepackage[latin1]{inputenc}
6 \usepackage{graphicx}
7 \usepackage{babel}
8 \usepackage{cite}
9 \usepackage{amsmath}
10 \usepackage{amsfonts}
11 \usepackage[hang,bf,footnotesize,it]{caption2}
12 \usepackage{listings}
13 \lstloadlanguages{C++}
14 \usepackage{color}
15 %
16 % Setting page layout
17 %
18 \oddsidemargin=0.5cm
19 \evensidemargin=-0.5cm
20 \textwidth=16cm
21 \textheight=24.2cm
22 \topmargin=-1.cm
23 %\setcaptionmargin{2cm} 
24 %\renewcommand{\chaptername}{Capitolo}
25 %\renewcommand{\contentsname}{Indice}
26 %\renewcommand{\bibname}{Bibliografia}
27 \pagestyle{headings}
28
29 %\includeonly{macro,pref,intro,fdl}
30
31 \title{Guida alla Programmazione in Linux.}
32
33 \author{Simone Piccardi}
34
35 \begin{document}
36
37 \pagenumbering{roman}
38  
39 \maketitle
40
41 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
42 \cleardoublepage}}
43
44 \begin{quote}
45
46       Copyright \copyright\ 2000  Simone Piccardi.
47       Permission is granted to copy, distribute and/or modify this document
48       under the terms of the GNU Free Documentation License, Version 1.1
49       or any later version published by the Free Software Foundation;
50       with the Invariant Sections being ``Prefazione'', with no
51       Front-Cover Texts, and with no Back-Cover Texts.
52       A copy of the license is included in the section entitled ``GNU
53       Free Documentation License''.
54
55 \end{quote}
56 \clearemptydoublepage
57
58
59 \tableofcontents
60 \clearemptydoublepage
61
62
63 \include{macro}
64 \setcounter{secnumdepth}{-2}
65 \include{pref}
66 \setcounter{secnumdepth}{2}
67 \clearemptydoublepage
68
69 \pagenumbering{arabic}
70
71
72 \lstset{language=C++} 
73
74 \lstset{basicstyle=\small,
75   labelstyle=\tiny,
76   labelstep=1,
77   labelsep=2pt,
78   frame=TB,
79   frametextsep=5pt,
80   basicstyle=\ttfamily,
81   keywordstyle=\color{blue}\ttfamily,
82   ndkeywordstyle=\color{yellow}\ttfamily,
83 %  rdkeywordstyle=\ttfamily,
84   identifierstyle=\ttfamily,
85   commentstyle=\color{red}\ttfamily,
86   stringstyle=\color{green}\ttfamily,
87 %  texcsststyle=\ttfamily,
88   directivestyle=\color{magenta}\ttfamily
89 }
90
91 \include{intro}
92 \include{files}
93 \include{process}
94 \include{option}
95 \include{signal}
96 \include{ipc}
97 \include{network}
98 \include{socket}
99 \include{elemtcp}
100 \include{fdl}
101  
102 % at the end put the bibliography
103
104 %\bibliographystyle{phaip}
105 %\bibliography{biblio}
106
107 \end{document}
108
109
110
111