\documentclass[a4paper]{book}
\usepackage{epsfig}
\usepackage[english]{babel}

% \setlength {\leftmargin} {1 cm}
\setlength {\topmargin} {1 cm}
\setlength\oddsidemargin{0.5 cm}
\setlength\evensidemargin{0.5 cm}
\setlength\headheight{0 cm}
\setlength\textwidth{15 cm} 
\setlength\textheight{22 cm}

\title{ Callback Libray: a type-safe callback infrastructure for C++ }
\author{Miguel Ramirez Javega - mramirez@iua.upf.es}

\begin{document}
\maketitle
\tableofcontents

\chapter{Introduction}

\section{Abstract}

\section{Credits}

\chapter{Rationale}

\chapter{Design}

\chapter{Implementation}

\chapter{Possibilities}

\chapter{Future Work}

\end{document}


