2 %% GaPiL : Guida alla Programmazione in Linux
4 %% S. Piccardi Oct. 2000
6 %% main.tex: file principale, gli altri vanno inclusi da questo.
8 \documentclass[a4paper,11pt,twoside,italian]{book}
9 \usepackage[latin1]{inputenc}
10 \usepackage[bookmarks=true]{hyperref}
12 %\usepackage{booktabs}
20 \usepackage[hang,bf,footnotesize,it]{caption2}
22 \lstloadlanguages{C++}
24 %\usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
25 %\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
26 %\usepackage{footnote}
32 \evensidemargin=-0.5cm
36 %\setcaptionmargin{2cm}
37 %\renewcommand{\chaptername}{Capitolo}
38 %\renewcommand{\contentsname}{Indice}
39 %\renewcommand{\bibname}{Bibliografia}
42 %\includeonly{macro,pref,intro,fdl}
44 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
45 \huge Guida alla Programmazione in Linux}
47 \author{Simone Piccardi}
57 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
62 Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to
63 copy, distribute and/or modify this document under the terms of the GNU Free
64 Documentation License, Version 1.1 or any later version published by the
65 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
66 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
67 license is included in the section entitled ``GNU Free Documentation
76 \include{compatib} % commentare per la stampa PS e PDF
78 \setcounter{secnumdepth}{-2}
80 \setcounter{secnumdepth}{2}
83 \pagenumbering{arabic}
87 \lstset{basicstyle=\small,
95 keywordstyle=\color{blue}\ttfamily,
96 ndkeywordstyle=\color{yellow}\ttfamily,
97 % rdkeywordstyle=\ttfamily,
98 identifierstyle=\ttfamily,
99 commentstyle=\color{red}\ttfamily,
100 stringstyle=\color{green}\ttfamily,
101 % texcsststyle=\ttfamily,
102 directivestyle=\color{magenta}\ttfamily
105 % distance from margins for boxedminipage
128 \include{ringraziamenti}
131 % at the end put the bibliography
133 %\bibliographystyle{phaip}
134 %\bibliography{biblio}
137 \bibliographystyle{alpha}
138 \bibliography{biblio}