3 %% Copyright (C) 2000-2004 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 "Prefazione",
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]{caption2}
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 ``Prefazione'',
92 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
93 license is included in the section entitled ``GNU Free Documentation
99 %\ifx\hcode\undefined\else
103 \clearemptydoublepage
106 \clearemptydoublepage
109 \lstset{language=C++}
111 \lstset{basicstyle=\small,
119 basicstyle=\ttfamily,
120 keywordstyle=\color{blue}\ttfamily,
121 ndkeywordstyle=\color{yellow}\ttfamily,
122 % rdkeywordstyle=\ttfamily,
123 identifierstyle=\ttfamily,
124 commentstyle=\color{red}\ttfamily,
125 stringstyle=\color{green}\ttfamily,
126 % texcsststyle=\ttfamily,
127 directivestyle=\color{magenta}\ttfamily
130 % distance from margins for boxedminipage
133 \part{Programmazione di sistema}
134 \label{part:progr-di-sist}
147 \part{Programmazione di rete}
148 \label{part:progr-di-rete}
157 \label{part:appendici}
161 \include{ringraziamenti}
164 % at the end put the bibliography
167 %\bibliographystyle{phaip}
168 %\bibliography{biblio}
171 \bibliographystyle{ieeetr}
172 \bibliography{biblio}