My main file generate extra page before \tableofcontents with header title "Table of contents". How can I remove this page? I am copying the main.tex file code for your reference.
\documentclass[twoside,12pt]{Classes/aesm_edspia}
\begin{document}
\addtocounter{page}{-1}
\makethese
\onehalfspacing
\newpage\thispagestyle{empty}\addtocounter{page}{-5}
%depth in the table of contents and section numbering
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\frontmatter
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{Acknowledgements}
\fancyfoot[RO]{\thepage}
\fancyfoot[LE]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{Table of Contents}
\fancyfoot[RO]{\thepage}
\fancyfoot[LE]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\input{Abstract/Abstract}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{Introduction}
\fancyfoot[RO]{\thepage}
\fancyfoot[LE]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\end{document}
twosideoption. As such, this is the expected behavior, since all chapter pages should start on anoddpage. – Mario S. E. Oct 17 '13 at 13:00\tableofcontents, which lists all the chapters/sections of your document. If you wish to remove it, simple comment it out or completely delete it. However, the table of contents is widely used in many reports/books, so I would make sure it is not required as part of your work before removing it. – Mario S. E. Oct 17 '13 at 17:15