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}
19 \usepackage[hang,bf,footnotesize,it]{caption2}
21 \lstloadlanguages{C++}
24 %\usepackage{footnote}
30 \evensidemargin=-0.5cm
34 %\setcaptionmargin{2cm}
35 %\renewcommand{\chaptername}{Capitolo}
36 %\renewcommand{\contentsname}{Indice}
37 %\renewcommand{\bibname}{Bibliografia}
40 %\includeonly{macro,pref,intro,fdl}
42 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
43 \huge Guida alla Programmazione in Linux.}
45 \author{Simone Piccardi}
53 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
58 Copyright \copyright\ 2000-2001 Simone Piccardi. Permission is granted to
59 copy, distribute and/or modify this document under the terms of the GNU Free
60 Documentation License, Version 1.1 or any later version published by the
61 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
62 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
63 license is included in the section entitled ``GNU Free Documentation
74 \setcounter{secnumdepth}{-2}
76 \setcounter{secnumdepth}{2}
79 \pagenumbering{arabic}
83 \lstset{basicstyle=\small,
91 keywordstyle=\color{blue}\ttfamily,
92 ndkeywordstyle=\color{yellow}\ttfamily,
93 % rdkeywordstyle=\ttfamily,
94 identifierstyle=\ttfamily,
95 commentstyle=\color{red}\ttfamily,
96 stringstyle=\color{green}\ttfamily,
97 % texcsststyle=\ttfamily,
98 directivestyle=\color{magenta}\ttfamily
122 % at the end put the bibliography
124 %\bibliographystyle{phaip}
125 %\bibliography{biblio}