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[T1]{fontenc}
19 \usepackage{ae,aecompl}
20 \usepackage[latin1]{inputenc}
21 %\usepackage[tex4ht, bookmarks=true]{hyperref}
22 \usepackage[bookmarks=true]{hyperref}
24 %\usepackage{booktabs}
29 \usepackage[italian]{babel}
30 %\newcommand{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{}
31 %\newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{}
33 \newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
34 \newcommand{\includestruct}[1]{\lstinputlisting[labelstep=0]{#1}}{}
35 \newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
40 \usepackage[hang,bf,footnotesize,it]{caption2}
42 \lstloadlanguages{C++}
44 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
45 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
47 %\usepackage{footnote}
57 \evensidemargin=-0.5cm
61 %\setcaptionmargin{2cm}
62 %\renewcommand{\chaptername}{Capitolo}
63 %\renewcommand{\contentsname}{Indice}
64 %\renewcommand{\bibname}{Bibliografia}
67 %\includeonly{macro,pref,intro,fdl}
69 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
70 \huge Guida alla Programmazione in Linux}
72 \author{Simone Piccardi}
82 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
87 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
88 copy, distribute and/or modify this document under the terms of the GNU Free
89 Documentation License, Version 1.1 or any later version published by the
90 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
91 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
92 license is included in the section entitled ``GNU Free Documentation
98 \ifx\hcode\undefined\else
102 \clearemptydoublepage
105 \clearemptydoublepage
108 \lstset{language=C++}
110 \lstset{basicstyle=\small,
118 basicstyle=\ttfamily,
119 keywordstyle=\color{blue}\ttfamily,
120 ndkeywordstyle=\color{yellow}\ttfamily,
121 % rdkeywordstyle=\ttfamily,
122 identifierstyle=\ttfamily,
123 commentstyle=\color{red}\ttfamily,
124 stringstyle=\color{green}\ttfamily,
125 % texcsststyle=\ttfamily,
126 directivestyle=\color{magenta}\ttfamily
129 % distance from margins for boxedminipage
153 \include{ringraziamenti}
156 % at the end put the bibliography
159 %\bibliographystyle{phaip}
160 %\bibliography{biblio}
163 \bibliographystyle{ieeetr}
164 \bibliography{biblio}