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{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
40 \huge Guida alla Programmazione in Linux.}
42 \author{Simone Piccardi}
50 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
55 Copyright \copyright\ 2000-2001 Simone Piccardi. Permission is granted to
56 copy, distribute and/or modify this document under the terms of the GNU Free
57 Documentation License, Version 1.1 or any later version published by the
58 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
59 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
60 license is included in the section entitled ``GNU Free Documentation
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
119 % at the end put the bibliography
121 %\bibliographystyle{phaip}
122 %\bibliography{biblio}