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