569f7086acebb9424631e2086f6f237199fdbfd5
[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
32
33 \title{Guida alla Programmazione in Linux.}
34
35 \author{Simone Piccardi}
36
37
38 \begin{document}
39
40 \pagenumbering{roman}
41  
42 \maketitle
43
44 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
45 \cleardoublepage}}
46
47 \begin{quote}
48
49       Copyright \copyright\ 2000  Simone Piccardi.
50       Permission is granted to copy, distribute and/or modify this document
51       under the terms of the GNU Free Documentation License, Version 1.1
52       or any later version published by the Free Software Foundation;
53       with the Invariant Sections being ``Prefazione'', with no
54       Front-Cover Texts, and with no Back-Cover Texts.
55       A copy of the license is included in the section entitled ``GNU
56       Free Documentation License''.
57
58 \end{quote}
59 \clearemptydoublepage
60
61
62 \tableofcontents
63 \clearemptydoublepage
64
65
66 \include{macro}
67 \setcounter{secnumdepth}{-2}
68 \include{pref}
69 \setcounter{secnumdepth}{2}
70 \clearemptydoublepage
71
72 \pagenumbering{arabic}
73
74
75 \lstset{language=C++} 
76
77 \lstset{basicstyle=\small,
78   labelstyle=\tiny,
79   labelstep=1,
80   labelsep=2pt,
81   frame=TB,
82   frametextsep=5pt,
83   basicstyle=\ttfamily,
84   keywordstyle=\color{blue}\ttfamily,
85   ndkeywordstyle=\color{yellow}\ttfamily,
86 %  rdkeywordstyle=\ttfamily,
87   identifierstyle=\ttfamily,
88   commentstyle=\color{red}\ttfamily,
89   stringstyle=\color{green}\ttfamily,
90 %  texcsststyle=\ttfamily,
91   directivestyle=\color{magenta}\ttfamily
92 }
93
94 \include{intro}
95 \include{files}
96 \include{process}
97 \include{option}
98 \include{signal}
99 \include{ipc}
100 \include{network}
101 \include{socket}
102 \include{fdl}
103  
104 % at the end put the bibliography
105
106 %\bibliographystyle{phaip}
107 %\bibliography{biblio}
108
109 \end{document}
110
111
112
113