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