3 %% Copyright (C) 2000-2006 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}
70 %\includeonly{macro,pref,intro,fdl}
72 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
73 \huge Guida alla Programmazione in Linux}
75 \author{Simone Piccardi}
85 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
90 Copyright \copyright\ 2000-2004 Simone Piccardi. Permission is granted to
91 copy, distribute and/or modify this document under the terms of the GNU Free
92 Documentation License, Version 1.1 or any later version published by the
93 Free Software Foundation; with the Invariant Sections being ``Un preambolo''
95 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
96 license is included in the section entitled ``GNU Free Documentation
100 \clearemptydoublepage
102 %\ifx\hcode\undefined\else
106 \clearemptydoublepage
110 \clearemptydoublepage
113 \lstset{language=C++}
115 \lstset{basicstyle=\small,
123 basicstyle=\ttfamily,
124 keywordstyle=\color{blue}\ttfamily,
125 ndkeywordstyle=\color{yellow}\ttfamily,
126 % rdkeywordstyle=\ttfamily,
127 identifierstyle=\ttfamily,
128 commentstyle=\color{red}\ttfamily,
129 stringstyle=\color{green}\ttfamily,
130 % texcsststyle=\ttfamily,
131 directivestyle=\color{magenta}\ttfamily
134 % distance from margins for boxedminipage
137 \part{Programmazione di sistema}
138 \label{part:progr-di-sist}
151 \part{Programmazione di rete}
152 \label{part:progr-di-rete}
161 \label{part:appendici}
165 \include{ringraziamenti}
168 % at the end put the bibliography
171 %\bibliographystyle{phaip}
172 %\bibliography{biblio}
175 \bibliographystyle{ieeetr}
176 \bibliography{biblio}