\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage[hang,bf,footnotesize,it]{caption2}
+\usepackage{listings}
+\lstloadlanguages{C++}
+\usepackage{color}
%
% Setting page layout
%
-
\oddsidemargin=0.5cm
\evensidemargin=-0.5cm
\textwidth=16cm
\textheight=24.2cm
\topmargin=-1.cm
%\setcaptionmargin{2cm}
-
%\renewcommand{\chaptername}{Capitolo}
%\renewcommand{\contentsname}{Indice}
%\renewcommand{\bibname}{Bibliografia}
%\includeonly{macro,pref,intro,fdl}
-
\title{Guida alla Programmazione in Linux.}
-\author{Simone Piccardi,
- si spera anche qualcun'altro}
-
+\author{Simone Piccardi}
\begin{document}
-
-
\pagenumbering{roman}
\maketitle
\end{quote}
\clearemptydoublepage
+
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
+
+\lstset{language=C++}
+
+\lstset{basicstyle=\small,
+ labelstyle=\tiny,
+ labelstep=1,
+ labelsep=2pt,
+ frame=TB,
+ frametextsep=5pt,
+ basicstyle=\ttfamily,
+ keywordstyle=\color{blue}\ttfamily,
+ ndkeywordstyle=\color{yellow}\ttfamily,
+% rdkeywordstyle=\ttfamily,
+ identifierstyle=\ttfamily,
+ commentstyle=\color{red}\ttfamily,
+ stringstyle=\color{green}\ttfamily,
+% texcsststyle=\ttfamily,
+ directivestyle=\color{magenta}\ttfamily
+}
+
\include{intro}
\include{files}
-\include{network}
\include{process}
\include{option}
\include{signal}
\include{ipc}
+\include{network}
+\include{socket}
\include{fdl}
% at the end put the bibliography