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{boxedminipage}
25 %\usepackage{footnote}
31 \evensidemargin=-0.5cm
35 %\setcaptionmargin{2cm}
36 %\renewcommand{\chaptername}{Capitolo}
37 %\renewcommand{\contentsname}{Indice}
38 %\renewcommand{\bibname}{Bibliografia}
41 %\includeonly{macro,pref,intro,fdl}
43 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
44 \huge Guida alla Programmazione in Linux.}
46 \author{Simone Piccardi}
54 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
59 Copyright \copyright\ 2000-2001 Simone Piccardi. Permission is granted to
60 copy, distribute and/or modify this document under the terms of the GNU Free
61 Documentation License, Version 1.1 or any later version published by the
62 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
63 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
64 license is included in the section entitled ``GNU Free Documentation
75 \setcounter{secnumdepth}{-2}
77 \setcounter{secnumdepth}{2}
80 \pagenumbering{arabic}
84 \lstset{basicstyle=\small,
92 keywordstyle=\color{blue}\ttfamily,
93 ndkeywordstyle=\color{yellow}\ttfamily,
94 % rdkeywordstyle=\ttfamily,
95 identifierstyle=\ttfamily,
96 commentstyle=\color{red}\ttfamily,
97 stringstyle=\color{green}\ttfamily,
98 % texcsststyle=\ttfamily,
99 directivestyle=\color{magenta}\ttfamily
102 % distance from margins for boxedminipage
127 % at the end put the bibliography
129 %\bibliographystyle{phaip}
130 %\bibliography{biblio}