3 %% Copyright (C) 2000-2005 Simone Piccardi. Permission is granted to
4 %% copy, distribute and/or modify this document under the terms of the GNU Free
5 %% Documentation License, Version 1.1 or any later version published by the
6 %% Free Software Foundation; with the Invariant Sections being "Un preambolo",
7 %% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
8 %% license is included in the section entitled "GNU Free Documentation
11 %% GaPiL : Guida alla Programmazione in Linux
13 %% S. Piccardi Oct. 2000
15 %% gapil.tex: file principale, gli altri vanno inclusi da questo.
17 \documentclass[a4paper,11pt,twoside]{book}
18 \usepackage{ae,aecompl}
19 \usepackage[T1]{fontenc}
20 \usepackage[latin1]{inputenc}
21 %\usepackage[tex4ht, bookmarks=true]{hyperref}
22 \usepackage[bookmarks=true,plainpages=false,pdfpagelabels,hyperfootnotes=false]{hyperref}
24 %\usepackage{booktabs}
29 \usepackage[italian]{babel}
30 \newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
31 \newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{}
32 \newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
36 \usepackage[hang,bf,footnotesize,it]{caption}
38 \lstloadlanguages{C++}
40 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
41 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
43 %\usepackage{footnote}
55 %\evensidemargin=-0.5cm
59 \geometry{textheight=24.2cm,textwidth=16cm}
62 %\setcaptionmargin{2cm}
63 %\renewcommand{\chaptername}{Capitolo}
64 %\renewcommand{\contentsname}{Indice}
65 %\renewcommand{\bibname}{Bibliografia}
68 %\includeonly{macro,pref,intro,fdl}
70 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
71 \huge Guida alla Programmazione in Linux}
73 \author{Simone Piccardi}
83 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
88 Copyright \copyright\ 2000-2004 Simone Piccardi. Permission is granted to
89 copy, distribute and/or modify this document under the terms of the GNU Free
90 Documentation License, Version 1.1 or any later version published by the
91 Free Software Foundation; with the Invariant Sections being ``Un preambolo''
93 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
94 license is included in the section entitled ``GNU Free Documentation
100 %\ifx\hcode\undefined\else
104 \clearemptydoublepage
108 \clearemptydoublepage
111 \lstset{language=C++}
113 \lstset{basicstyle=\small,
121 basicstyle=\ttfamily,
122 keywordstyle=\color{blue}\ttfamily,
123 ndkeywordstyle=\color{yellow}\ttfamily,
124 % rdkeywordstyle=\ttfamily,
125 identifierstyle=\ttfamily,
126 commentstyle=\color{red}\ttfamily,
127 stringstyle=\color{green}\ttfamily,
128 % texcsststyle=\ttfamily,
129 directivestyle=\color{magenta}\ttfamily
132 % distance from margins for boxedminipage
135 \part{Programmazione di sistema}
136 \label{part:progr-di-sist}
149 \part{Programmazione di rete}
150 \label{part:progr-di-rete}
159 \label{part:appendici}
163 \include{ringraziamenti}
166 % at the end put the bibliography
169 %\bibliographystyle{phaip}
170 %\bibliography{biblio}
173 \bibliographystyle{ieeetr}
174 \bibliography{biblio}