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{footnote}
43 \evensidemargin=-0.5cm
47 %\setcaptionmargin{2cm}
48 %\renewcommand{\chaptername}{Capitolo}
49 %\renewcommand{\contentsname}{Indice}
50 %\renewcommand{\bibname}{Bibliografia}
53 %\includeonly{macro,pref,intro,fdl}
55 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
56 \huge Guida alla Programmazione in Linux}
58 \author{Simone Piccardi}
68 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
73 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
74 copy, distribute and/or modify this document under the terms of the GNU Free
75 Documentation License, Version 1.1 or any later version published by the
76 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
77 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
78 license is included in the section entitled ``GNU Free Documentation
86 % commentare per la stampa PS e PDF
87 %\include{compatib} % commentare per la stampa PS e PDF
88 % commentare per la stampa PS e PDF
90 \setcounter{secnumdepth}{-2}
92 \setcounter{secnumdepth}{2}
95 \pagenumbering{arabic}
99 \lstset{basicstyle=\small,
106 basicstyle=\ttfamily,
107 keywordstyle=\color{blue}\ttfamily,
108 ndkeywordstyle=\color{yellow}\ttfamily,
109 % rdkeywordstyle=\ttfamily,
110 identifierstyle=\ttfamily,
111 commentstyle=\color{red}\ttfamily,
112 stringstyle=\color{green}\ttfamily,
113 % texcsststyle=\ttfamily,
114 directivestyle=\color{magenta}\ttfamily
117 % distance from margins for boxedminipage
141 \include{ringraziamenti}
144 % at the end put the bibliography
146 %\bibliographystyle{phaip}
147 %\bibliography{biblio}
150 \bibliographystyle{ieeetr}
151 \bibliography{biblio}