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[latin1]{inputenc}
20 %\usepackage[tex4ht, bookmarks=true]{hyperref}
21 \usepackage[bookmarks=true]{hyperref}
23 %\usepackage{booktabs}
28 \usepackage[italian]{babel}
29 \newcommand{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{}
30 \newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{}
34 \usepackage[hang,bf,footnotesize,it]{caption2}
36 \lstloadlanguages{C++}
38 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
39 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
41 %\usepackage{footnote}
47 \evensidemargin=-0.5cm
51 %\setcaptionmargin{2cm}
52 %\renewcommand{\chaptername}{Capitolo}
53 %\renewcommand{\contentsname}{Indice}
54 %\renewcommand{\bibname}{Bibliografia}
57 %\includeonly{macro,pref,intro,fdl}
59 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
60 \huge Guida alla Programmazione in Linux}
62 \author{Simone Piccardi}
72 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
77 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
78 copy, distribute and/or modify this document under the terms of the GNU Free
79 Documentation License, Version 1.1 or any later version published by the
80 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
81 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
82 license is included in the section entitled ``GNU Free Documentation
88 \ifx\hcode\undefined\else
100 \lstset{basicstyle=\small,
107 basicstyle=\ttfamily,
108 keywordstyle=\color{blue}\ttfamily,
109 ndkeywordstyle=\color{yellow}\ttfamily,
110 % rdkeywordstyle=\ttfamily,
111 identifierstyle=\ttfamily,
112 commentstyle=\color{red}\ttfamily,
113 stringstyle=\color{green}\ttfamily,
114 % texcsststyle=\ttfamily,
115 directivestyle=\color{magenta}\ttfamily
118 % distance from margins for boxedminipage
142 \include{ringraziamenti}
145 % at the end put the bibliography
148 %\bibliographystyle{phaip}
149 %\bibliography{biblio}
152 \bibliographystyle{ieeetr}
153 \bibliography{biblio}