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}
18 \usepackage[hang,bf,footnotesize,it]{caption2}
20 \lstloadlanguages{C++}
27 \evensidemargin=-0.5cm
31 %\setcaptionmargin{2cm}
32 %\renewcommand{\chaptername}{Capitolo}
33 %\renewcommand{\contentsname}{Indice}
34 %\renewcommand{\bibname}{Bibliografia}
37 %\includeonly{macro,pref,intro,fdl}
39 \title{Guida alla Programmazione in Linux.}
41 \author{Simone Piccardi}
49 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
54 Copyright \copyright\ 2000-2001 Simone Piccardi.
55 Permission is granted to copy, distribute and/or modify this document
56 under the terms of the GNU Free Documentation License, Version 1.1
57 or any later version published by the Free Software Foundation;
58 with the Invariant Sections being ``Prefazione'', with no
59 Front-Cover Texts, and with no Back-Cover Texts.
60 A copy of the license is included in the section entitled ``GNU
61 Free Documentation License''.
71 \setcounter{secnumdepth}{-2}
73 \setcounter{secnumdepth}{2}
76 \pagenumbering{arabic}
80 \lstset{basicstyle=\small,
88 keywordstyle=\color{blue}\ttfamily,
89 ndkeywordstyle=\color{yellow}\ttfamily,
90 % rdkeywordstyle=\ttfamily,
91 identifierstyle=\ttfamily,
92 commentstyle=\color{red}\ttfamily,
93 stringstyle=\color{green}\ttfamily,
94 % texcsststyle=\ttfamily,
95 directivestyle=\color{magenta}\ttfamily
118 % at the end put the bibliography
120 %\bibliographystyle{phaip}
121 %\bibliography{biblio}