Code: Select all
\documentclass[a4paper,10pt,fleqn,twoside]{book}
\usepackage{amsmath,amssymb,amsfonts,a4wide} % Typical maths resource packages
\usepackage{graphics} % Packages to allow inclusion of graphics
\usepackage{color} % For creating coloured text and background
\usepackage{hyperref} % For creating hyperlinks in cross references
\usepackage{epsfig}
\usepackage{graphicx}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{teo}{Theorem}[section]
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername \ \thechapter \ \ #1}}{}}
\fancyhf{}%clear all header and footer fields
\fancyhead[LO]{\nouppercase{\rightmark}}
\fancyhead[RE]{\nouppercase{\leftmark}}
\fancyhead[RO,LE]{\thepage}
\def\chem#1#2{ {{\scriptscriptstyle#1\atop\longrightarrow}\atop{\longleftarrow\atop \scriptscriptstyle#2}} }
\begin{document}
\begin{titlepage}
.
.
.
\end{titlepage}
\thispagestyle{empty}
\tableofcontents
\renewcommand*\thesection{\arabic{section}}
\newpage
\section{1}
\section{2}
\section{3}
.
.
.
.
\end{document}