I've recovered some old document (2 years old) and tried to adapt it to build a new one. I do not know which changes have been made in LaTeX. The thing looks as follows:
Code: Select all
\documentclass[12pt,twoside]{book}
\usepackage{graphics}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=25mm,bmargin=25mm,lmargin=25mm,rmargin=25mm}
\usepackage[latin1]{inputenc} % Para que pille solo los acentos
%\usepackage[spanish]{babel}
\usepackage{subfigure}
\usepackage{fancyhdr}
\usepackage{extramarks}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{float}
\usepackage{graphicx}
\usepackage{color}
\usepackage{varioref}
%\usepackage[breaklinks=true,ps2pdf,hyperref,colorlinks]{hyperref}
\usepackage[breaklinks=true,ps2pdf,hyperref,colorlinks=true]{hyperref}
\usepackage[hang,small,bf]{caption}
\begin{document}
\frontmatter
\title{\Huge{Whatever}}
\author{Me}
\maketitle
\tableofcontents
\listoffigures
\listoftables
\include{foreword}
\mainmatter
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[CO]{\nouppercase{\leftmark}}
\fancyhead[RO]{\thepage}
\fancyhead[CE]{\nouppercase{\rightmark}}
\fancyhead[LE]{\thepage}
\fancyfoot[LE]{SAW-AWGs}
\fancyfoot[RO]{Muñoz, Lima, Santos}
\renewcommand{\headrulewidth}{1.5pt}
\renewcommand{\footrulewidth}{1.5pt}
\include{motivation}
\include{techniques}
\include{saw-awg}
\include{technologies}
\include{applications}
I cannot live without the table of contents, etc, so, what can I do?
Thanks in advance,
Chetoo.