%----------------------------------------------------------
%  Aixo es una plantilla basica de latex on es vol tenir
%   el format principal d'un document i totes aquelles coses
%   que normalment utilitzo en latex.
%  Data inici creacio: 19-11-97
%----------------------------------------------------------
\documentclass[12pt,a4paper]{report}
\usepackage[latin1]{inputenc} % Joc de caracters
\usepackage[spanish]{babel} % Idioma
%\usepackage[T1]{fontenc}
\usepackage{makeidx} % Index de termes
%\usepackage{showidx} % Uncomment this to see margin anotations on index anchors
\usepackage[colorlinks,pdftex]{hyperref} % Hyperreferences
%\def\boldindex#1{\textbf{\hyperpage{#1}}}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{color}
\usepackage{ltxtable}
\usepackage{listings}

% User defined colors
\definecolor{grey9}{gray}{.95}

% Com vull que siguin els llistats
\lstset{%
	backgroundcolor=\color{grey9},
	frame=tblr,
	breaklines=true,
	basicstyle=\small
}


%\usepackage{layout} % Per visualitzar marges

% Layout vars
\oddsidemargin 0 cm
\evensidemargin 0 cm
%\topmargin 0 cm
%\voffset 0 mm
\headsep 1 cm
%\textheight 8 in
\textwidth 6.0 in
%\footskip 2 cm
\parskip 4 mm
\parindent 0 mm
%\columnsep 1 cm

%\hyphenation{}

% FancyHeaders stuff
\pagestyle{fancy}
%\pagestyle{headings}
\lhead{} 
%\chead{} 
%\rhead{\bfseries \tittle}
%\lfoot{From: \author}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.2pt} 
%\renewcommand{\footrulewidth}{0.4pt}


\makeindex

\begin{document}

% Portada
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{ Framework de Testing de Eficiencia }
\author{Rafael Baquero\\\href{mailto:blashyrkrealm@hotmail.com}{blashyrkrealm@hotmail.com}}
\date{ \today }
\maketitle
\newpage

% Indexos i llistats diversos
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents \newpage
\listoffigures \newpage
\listoftables \newpage
\lstlistoflistings \newpage

% La linia de sota serveix per visualitzar l'efecte dels parametres
% de pagina. Cal descomentar (o afegir) la linia \usepackage{layout}
% a la capcalera
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\layout*

\onehalfspacing % Espai entre linies

\input{Contenido}

\appendix

% Bibliografia
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\nocite{*}
\bibliographystyle{acm}
%\bibliographystyle{plain}
%\bibliographystyle{ieeetr}
%\bibliographystyle{siam}
\bibliography{biblioC}
\addcontentsline{toc}{chapter}{Bibliografia}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Indexos Alfabètics
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\addcontentsline{toc}{chapter}{Índex Alfabètic}
\printindex
\newpage
\end{document}

