3 %% Copyright (C) 2000-2002 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]{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}
53 \evensidemargin=-0.5cm
57 %\setcaptionmargin{2cm}
58 %\renewcommand{\chaptername}{Capitolo}
59 %\renewcommand{\contentsname}{Indice}
60 %\renewcommand{\bibname}{Bibliografia}
63 %\includeonly{macro,pref,intro,fdl}
65 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
66 \huge Guida alla Programmazione in Linux}
68 \author{Simone Piccardi}
78 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
83 Copyright \copyright\ 2000-2003 Simone Piccardi. Permission is granted to
84 copy, distribute and/or modify this document under the terms of the GNU Free
85 Documentation License, Version 1.1 or any later version published by the
86 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
87 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
88 license is included in the section entitled ``GNU Free Documentation
94 %\ifx\hcode\undefined\else
101 \clearemptydoublepage
104 \lstset{language=C++}
106 \lstset{basicstyle=\small,
114 basicstyle=\ttfamily,
115 keywordstyle=\color{blue}\ttfamily,
116 ndkeywordstyle=\color{yellow}\ttfamily,
117 % rdkeywordstyle=\ttfamily,
118 identifierstyle=\ttfamily,
119 commentstyle=\color{red}\ttfamily,
120 stringstyle=\color{green}\ttfamily,
121 % texcsststyle=\ttfamily,
122 directivestyle=\color{magenta}\ttfamily
125 % distance from margins for boxedminipage
149 \include{ringraziamenti}
152 % at the end put the bibliography
155 %\bibliographystyle{phaip}
156 %\bibliography{biblio}
159 \bibliographystyle{ieeetr}
160 \bibliography{biblio}