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}}{}
37 \usepackage[hang,bf,footnotesize,it]{caption2}
39 \lstloadlanguages{C++}
41 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
42 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
44 %\usepackage{footnote}
54 \evensidemargin=-0.5cm
58 %\setcaptionmargin{2cm}
59 %\renewcommand{\chaptername}{Capitolo}
60 %\renewcommand{\contentsname}{Indice}
61 %\renewcommand{\bibname}{Bibliografia}
64 %\includeonly{macro,pref,intro,fdl}
66 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
67 \huge Guida alla Programmazione in Linux}
69 \author{Simone Piccardi}
79 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
84 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
85 copy, distribute and/or modify this document under the terms of the GNU Free
86 Documentation License, Version 1.1 or any later version published by the
87 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
88 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
89 license is included in the section entitled ``GNU Free Documentation
95 \ifx\hcode\undefined\else
102 \clearemptydoublepage
105 \lstset{language=C++}
107 \lstset{basicstyle=\small,
115 basicstyle=\ttfamily,
116 keywordstyle=\color{blue}\ttfamily,
117 ndkeywordstyle=\color{yellow}\ttfamily,
118 % rdkeywordstyle=\ttfamily,
119 identifierstyle=\ttfamily,
120 commentstyle=\color{red}\ttfamily,
121 stringstyle=\color{green}\ttfamily,
122 % texcsststyle=\ttfamily,
123 directivestyle=\color{magenta}\ttfamily
126 % distance from margins for boxedminipage
150 \include{ringraziamenti}
153 % at the end put the bibliography
156 %\bibliographystyle{phaip}
157 %\bibliography{biblio}
160 \bibliographystyle{ieeetr}
161 \bibliography{biblio}