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,italian]{book}
19 \usepackage[latin1]{inputenc}
20 \usepackage[bookmarks=true]{hyperref}
22 %\usepackage{booktabs}
30 \usepackage[hang,bf,footnotesize,it]{caption2}
32 \lstloadlanguages{C++}
34 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
35 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
37 \usepackage[T1]{fontenc}
38 \newcommand{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{}
39 \newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{}
40 %\usepackage{footnote}
46 \evensidemargin=-0.5cm
50 %\setcaptionmargin{2cm}
51 %\renewcommand{\chaptername}{Capitolo}
52 %\renewcommand{\contentsname}{Indice}
53 %\renewcommand{\bibname}{Bibliografia}
56 %\includeonly{macro,pref,intro,fdl}
58 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
59 \huge Guida alla Programmazione in Linux}
61 \author{Simone Piccardi}
71 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
76 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
77 copy, distribute and/or modify this document under the terms of the GNU Free
78 Documentation License, Version 1.1 or any later version published by the
79 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
80 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
81 license is included in the section entitled ``GNU Free Documentation
89 % commentare per la stampa PS e PDF
90 %\include{compatib} % commentare per la stampa PS e PDF
91 % commentare per la stampa PS e PDF
93 \setcounter{secnumdepth}{-2}
95 \setcounter{secnumdepth}{2}
98 \pagenumbering{arabic}
100 \lstset{language=C++}
102 \lstset{basicstyle=\small,
109 basicstyle=\ttfamily,
110 keywordstyle=\color{blue}\ttfamily,
111 ndkeywordstyle=\color{yellow}\ttfamily,
112 % rdkeywordstyle=\ttfamily,
113 identifierstyle=\ttfamily,
114 commentstyle=\color{red}\ttfamily,
115 stringstyle=\color{green}\ttfamily,
116 % texcsststyle=\ttfamily,
117 directivestyle=\color{magenta}\ttfamily
120 % distance from margins for boxedminipage
144 \include{ringraziamenti}
147 % at the end put the bibliography
149 %\bibliographystyle{phaip}
150 %\bibliography{biblio}
153 \bibliographystyle{ieeetr}
154 \bibliography{biblio}