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
79 \setcounter{secnumdepth}{-2}
81 \setcounter{secnumdepth}{2}
84 \pagenumbering{arabic}
88 \lstset{basicstyle=\small,
96 keywordstyle=\color{blue}\ttfamily,
97 ndkeywordstyle=\color{yellow}\ttfamily,
98 % rdkeywordstyle=\ttfamily,
99 identifierstyle=\ttfamily,
100 commentstyle=\color{red}\ttfamily,
101 stringstyle=\color{green}\ttfamily,
102 % texcsststyle=\ttfamily,
103 directivestyle=\color{magenta}\ttfamily
106 % distance from margins for boxedminipage
129 \include{ringraziamenti}
132 % at the end put the bibliography
134 %\bibliographystyle{phaip}
135 %\bibliography{biblio}
138 \bibliographystyle{alpha}
139 \bibliography{biblio}